W3C home > Mailing lists > Public > semantic-web@w3.org > January 2011

Re: dbpedia and sparql

From: Luis Criado Fernández <lcriadof@yahoo.es>
Date: Wed, 5 Jan 2011 10:59:14 +0000 (GMT)
Message-ID: <941646.77888.qm@web28516.mail.ukl.yahoo.com>
To: Semantic Web <semantic-web@w3.org>
Sorry, the format.

-------

A question?
 In http://dbpedia.org/snorql/


SELECT *
WHERE {
     ?cientifico dbo:birthDate ?birth .
     ?cientifico dbo:deathDate ?death .
     ?cientifico rdf:type dbo:Scientist
     
}
ORDER BY ?cientifico

This query works, but from a remote SPARQL client program (Twinkle [1]) I need 
to define “FROM”. How I can generalize the following query 


PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT *
FROM <http://dbpedia.org/data/Albert_Einstein.rdf>
FROM <http://dbpedia.org/data/Severo_Ochoa.rdf>
FROM <http://dbpedia.org/data/Santiago_Ram%C3%B3n_y_Cajal.rdf>
WHERE {
     ?cientifico dbo:birthDate ?birth .
     ?cientifico dbo:deathDate ?death
     
}
ORDER BY ?birth

I have tried with
FROM <http://dbpedia.org/data/Scientist.rdf> 
But no.

[1] http://www.ldodds.com/projects/twinkle/ 



Thanks in advance,

Luis,
-- -- -- -- -- -- -- -- -- -- -- -- -- --
Dr. Luis Criado
 http://luis.criado.org/
vissem (semantic search engines):  http://vissem.criado.org/
Sw2sws tool: http://sw2sws.sourceforge.net/index.html




----- Mensaje original ----
De: Luis Criado Fernández <lcriadof@yahoo.es>
Para: Semantic Web <semantic-web@w3.org>
Enviado: mié,5 enero, 2011 11:54
Asunto: dbpedia and sparql

Hi all,

A question?
In http://dbpedia.org/snorql/


SELECT *
WHERE {
     ?cientifico dbo:birthDate ?birth .
     ?cientifico dbo:deathDate ?death .
     ?cientifico rdf:type dbo:Scientist
    
}
ORDER BY ?cientifico

Thisquery works, but froma remoteSPARQLclient program (Twinkle[1]) Ineed 
todefine “FROM”. How I can generalize the following query 


PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT *
FROM <http://dbpedia.org/data/Albert_Einstein.rdf>
FROM <http://dbpedia.org/data/Severo_Ochoa.rdf>
FROM <http://dbpedia.org/data/Santiago_Ram%C3%B3n_y_Cajal.rdf>
WHERE {
     ?cientifico dbo:birthDate ?birth .
     ?cientifico dbo:deathDate ?death
    
}
ORDER BY ?birth

Ihavetried with
FROM <http://dbpedia.org/data/Scientist.rdf> 
But no.



[1] http://www.ldodds.com/projects/twinkle/


Thanks in advance,Luis

-- -- -- -- -- -- -- -- -- -- -- -- -- --
Dr. Luis Criado
http://luis.criado.org/
vissem (semantic search engines):  http://vissem.criado.org/
Sw2sws tool: http://sw2sws.sourceforge.net/index.html


      
Received on Wednesday, 5 January 2011 11:01:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:48:20 UTC