graph
< owl
< SemanticWeb
< felixaverlant
Get flash to fully experience Pearltrees
Bob DuCharme suggested that I share this explanation about the role of FROM, FROM NAMED, and GRAPH within a SPARQL query. So here it is… A SPARQL query goes against an RDF dataset. An RDF dataset has two parts:
Let us illustrate the use of OWL vocabulary on an example ontology (inspired by OWL Pizzas ): "Pizza has PizzaBase as its base; Pizza is disjoint with PizzaBase; NonVegetarianPizza is exactly Pizza that is not VegetarianPizza; isIngredientOf is a transitive property; isIngredientOf is inverse of hasIngredient". The example expressed in the description logic syntax follows: The same example expressed using OWL Abstract Syntax formulates the same information using LISP-like notation, and in addition uses URI for identification of all classes and properties: Namespace(p = <http://example.com/pizzas.owl#>) Ontology( <http://example.com/pizzas.owl#> Class(p:Pizza partial restriction(p:hasBase someValuesFrom(p:PizzaBase))) DisjointClasses(p:Pizza p:PizzaBase) Class(p:NonVegetarianPizza complete intersectionOf(p:Pizza complementOf(p:VegetarianPizza))) ObjectProperty(p:isIngredientOf Transitive inverseOf(p:hasIngredient)) )