PREFIX schema: <http://schema.org/>
select ?restaurant ?description ?cusine where {
?restaurant a schema:Restaurant;
schema:description ?description;
schema:servesCuisine ?cusine .
}
SPARQL Query
@prefix schema: <http://schema.org/> .
@prefix ex: <http://example.org/vocab> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
ex:RestaurantShape a sh:Shape ;
sh:targetClass schema:Restaurant;
sh:property [
sh:predicate schema:description;
sh:minCount 1 ;
];
sh:property [
sh:predicate schema:servesCuisine;
sh:minCount 1 ;
] .
Shape (SHACL)
An excerpt from the Loupe model
Loupe tool chain
Mail: nmihindu@fi.upm.es
Twitter: @nandanamihindu