Skip to content

Instantly share code, notes, and snippets.

@suellenstringer-hye
Created November 23, 2015 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suellenstringer-hye/fc7ddfbf23e03a3784b7 to your computer and use it in GitHub Desktop.
Save suellenstringer-hye/fc7ddfbf23e03a3784b7 to your computer and use it in GitHub Desktop.
# filename: ex196.rq
PREFIX cat: <http://dbpedia.org/resource/Category:>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX gp: <http://wifo5-04.informatik.uni-mannheim.de/gutendata/resource/people/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX d: <http://learningsparql.com/ns/data#>
PREFIX schema: <http://schema.org/>
PREFIX dbp: <http://dbpedia.org/property/>
CONSTRUCT
{
d:HockingJoseph schema:name ?name.
}
WHERE
{
SERVICE <http://DBpedia.org/sparql>
{
<http://dbpedia.org/resource/Joseph_Hocking> dbp:name ?name.
}
SERVICE <http://wifo5-04.informatik.uni-mannheim.de/gutendata/sparql>
{
gp:Hocking_Joseph foaf:name ?name .
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment