PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX dbpprop: <http://dbpedia.org/property/>
PREFIX drugbank:
<http://wifo5-04.informatik.uni-mannheim.de/drugbank/resource/drugbank/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT * WHERE{
{
SELECT * WHERE {
SERVICE <http://wifo5-04.informatik.uni-mannheim.de/drugbank/sparql>
{?drug rdfs:label "Lepirudin"; drugbank:affectedOrganism ?affectedOrganism}}
} .
{
SELECT ?drug ?routes WHERE {
SERVICE <http://dbpedia.org/sparql>
{?a rdfs:label "Lepirudin"@en; owl:sameAs ?drug; dbpprop:routesOfAdministration
?routes}}
}}
This query returns no results. However, each subquery within it does return
results. The results of each subquery are not joinable by the variable ?drug
because the objects in the owl:sameAs relationships across dbpedia are not the
actual resource URIs, that are used in other datasets such as drugbank. These
are the owl:sameAs values for <http://dbpedia.org/resource/Lepirudin>
* http://pt.dbpedia.org/resource/Lepirudina
*
http://fr.dbpedia.org/resource/Lépirudine<http://fr.dbpedia.org/resource/L%C3%A9pirudine>
* http://www4.wiwiss.fu-berlin.de/dailymed/resource/ingredient/Lepirudin
* http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00001
* freebase:Lepirudin<http://rdf.freebase.com/ns/m.0fmcz1>
The actual resource URI used by drugbank is
<http://wifo5-04.informatik.uni-mannheim.de/drugbank/resource/drugs/DB00001>.
Instead of using values that redirect to the resource, dbpedia should use the
values used by other datasets to represent the resource. Following such
practices would make federated queries possible, and generally improve the
quality of the Semantic Web.
Grant Smith
Grant Smith
816-588-2004
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion