Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Join semantic endpoints in SPARQL query

I'm trying to make a request which uses both bibleontology and dbpedia semantic databases:

PREFIX bibleontology: <http://bibleontology.com/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>

SELECT ?art ?abstract WHERE { 
bibleontology:Ezra owl:sameAs ?art .
?art dbo:abstract ?abstract .
}

This kind of request works on neither the bibleontology SPARQL endpoint, nor on the dbpedia SPARQL endpoint. Individual parts of the requests work fine on the each SPARQL endpoints.

Is it possible to join databases this way?

like image 564
raphink Avatar asked Jan 30 '11 07:01

raphink


1 Answers

I'm Engineer for bibleontology.com

bibleontology.com adopted SPARQL1.1

PREFIX bibleontology: <http://bibleontology.com/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?art ?abstract
WHERE {
SERVICE <http://bibleontology.com/sparql/> { bibleontology:Ezra owl:sameAs ?art . }
SERVICE <http://dbpedia.org/sparql> { ?art dbo:abstract ?abstract . } }
like image 67
wonseok oh Avatar answered Oct 05 '22 23:10

wonseok oh