Specifiying dataset within a SPARQL query -


in tutorial i'm reading, see can specify dataset separately query, this:

dataset field: http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf

query:

prefix foaf:  <http://xmlns.com/foaf/0.1/> select ?name {     ?person foaf:name ?name . } 

how specify dataset within query?

use from keyword:

prefix foaf:  <http://xmlns.com/foaf/0.1/> select ?name <http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf> {     ?person foaf:name ?name . } 

note: use after select statement


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -