I would like to query remote sparql endpoints. For now I m trying to get it to work with the local endpoint.

When I execute this,

SELECT ?s ?p ?o
WHERE
{
   {
    GRAPH <http://localhost:8890/DAV/dataset> { ?s ?p ?o } . }
}

http://geoknow.eu/geodata#polygons_115102                                         http://www.w3.org/1999/02/22-rdf-syntax-ns#type                                   http://geoknow.eu/geodata#wikimapia
http://geoknow.eu/geodata#polygons_116254                                         http://www.w3.org/2000/01/rdf-schema#label                                        116254
http://geoknow.eu/geodata#polygons_114179                                         http://www.w3.org/2000/01/rdf-schema#label                                        114179
http://geoknow.eu/geodata#polygons_114448                                         http://www.w3.org/2000/01/rdf-schema#label                                        114448
http://geoknow.eu/geodata#polygons_114835                                         http://www.w3.org/2000/01/rdf-schema#label                                        114835
http://geoknow.eu/geodata#polygons_115102                                         http://www.w3.org/2000/01/rdf-schema#label                                        115102
http://geoknow.eu/geodata#polygons_116254                                         http://www.opengis.net/ont/geosparql#hasGeometry                                  http://geoknow.eu/geodata#Geom_polygons_116254
http://geoknow.eu/geodata#polygons_114179                                         http://www.opengis.net/ont/geosparql#hasGeometry                                  http://geoknow.eu/geodata#Geom_polygons_114179

I get the expected results but,

when I issue this, 

SELECT ?s ?p ?o
WHERE
{
   { SERVICE <http://localhost:8890/sparql> {
    GRAPH <http://localhost:8890/DAV/dataset> { ?s ?p ?o }  } . }
}

http://geoknow.eu/geodata#polygons_114835                                         http://www.w3.org/1999/02/22-rdf-syntax-ns#type                                   http://geoknow.eu/geodata#wikimapia
http://geoknow.eu/geodata#polygons_115102                                         http://www.w3.org/1999/02/22-rdf-syntax-ns#type                                   http://geoknow.eu/geodata#wikimapia
http://geoknow.eu/geodata#polygons_116254                                         http://www.w3.org/2000/01/rdf-schema#label                                        116254
http://geoknow.eu/geodata#polygons_114179                                         http://www.w3.org/2000/01/rdf-schema#label                                        116254
http://geoknow.eu/geodata#polygons_114448                                         http://www.w3.org/2000/01/rdf-schema#label                                        116254
http://geoknow.eu/geodata#polygons_114835                                         http://www.w3.org/2000/01/rdf-schema#label                                        116254
http://geoknow.eu/geodata#polygons_115102                                         http://www.w3.org/2000/01/rdf-schema#label                                        116254
http://geoknow.eu/geodata#polygons_116254                                         http://www.opengis.net/ont/geosparql#hasGeometry                                  http://geoknow.eu/geodata#Geom_polygons_116254

Any idea for this behaviour???? I m using Virtuoso OpenSource Edition
Version 07.00.3203-pthreads for Linux as of Jun  3 2014

Thank you


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to