'Querying image IRI from annotations in Protege
I currently have an ontology in which an individual of a class has annotations like so : Individual Batanta with annotation property hasImage that contains an IRI that points to an image
The annotations each have an IRI that points to an image stored on the web.
My question is, is it possible for me to do a SPARQL query for the IRI that points to the image that's shown in each annotation's thumbnails? I've tried the following query :
PREFIX foo:http://www.owl-ontologies.com/Tourism.owl/Touring#
select ?Regency ?Image
{?Regency foo:hasAttraction foo:Batanta.
?Regency foo:hasImage ?Image}
No results came up.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
