Re: dbpedia and sparql

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