graph

TwitterFacebook
Get flash to fully experience Pearltrees
charts

networkx

http://www.thefigtrees.net/lee/blog/2010/11/sparql_rdf_datasets_from_from.html

SPARQL, RDF Datasets, FROM, FROM NAMED, and GRAPH - TechnicaLee Speaking

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:

OWL Example with RDF Graph - Introduction to ontologies and semantic web - tutorial

http://www.obitko.com/tutorials/ontologies-semantic-web/owl-example-with-rdf-graph.html 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)) )