The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=610 ====================================================================== Reported By: aharth Assigned To: ====================================================================== Project: Rasqal RDF Query Library Issue ID: 610 Category: query engine Reproducibility: always Severity: minor Priority: normal Status: new Query Language: ====================================================================== Date Submitted: 2016-06-02 05:07 Last Modified: 2016-06-02 05:07 ====================================================================== Summary: Error with DBpedia and Wikidata SPARQL endpoints Description: I cannot access DBpedia/Wikidata SPARQL endpoints with roqet (Debian testing).
SELECT on Wikidata work: $ roqet -p https://query.wikidata.org/sparql -e "SELECT ?s ?p ?o WHERE { ?s ?p ?o . } LIMIT 1" CONSTRUCT on Wikidata does not work: $ roqet -p https://query.wikidata.org/sparql -e "CONSTRUCT { ?s ?p ?o . } WHERE { ?s ?p ?o . } LIMIT 1" roqet: Calling SPARQL service at URI https://query.wikidata.org/sparql with query 'CONSTRUCT { ?s ?p ?o . } WHERE { ?s ?p ?o . } LIMIT 1' UNKNOWN element RDF UNKNOWN element Description UNKNOWN element P1629 UNKNOWN element P1629 UNKNOWN element Description UNKNOWN element RDF roqet: Query has a variable bindings result roqet: Query returned 0 results $ I've tried different values for -r, but to no avail. Queries on DBpedia do not work at all: $ roqet -p http://dbpedia.org/sparql -e "SELECT ?s WHERE { ?s a <http://xmlns.com/foaf/0.1/Organization> . } LIMIT 1" roqet: Calling SPARQL service at URI http://dbpedia.org/sparql with query 'SELECT ?s WHERE { ?s a <http://xmlns.com/foaf/0.1/Organization> . } LIMIT 1' roqet: Error - URI http://dbpedia.org/sparql?query=%53E%4CEC%54+%3F%73+%57%48E%52E+%7B+%3F%73+a+%3C%68%74%74%70%3A%2F%2F%78%6D%6C%6E%73.c%6F%6D%2Ff%6Faf%2F0.1%2F%4F%72%67a%6E%69%7Aa%74%69%6F%6E%3E+.+%7D+%4C%49%4D%49%54+1 - Resolving URI failed with HTTP status 404 roqet: Error - - Failed to fetch retrieval URI http://dbpedia.org/sparql?query=%53E%4CEC%54+%3F%73+%57%48E%52E+%7B+%3F%73+a+%3C%68%74%74%70%3A%2F%2F%78%6D%6C%6E%73.c%6F%6D%2Ff%6Faf%2F0.1%2F%4F%72%67a%6E%69%7Aa%74%69%6F%6E%3E+.+%7D+%4C%49%4D%49%54+1 roqet: Query has a variable bindings result roqet: Query returned 0 results $ But I can access the URI via curl... ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-06-02 05:07 aharth New Issue ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
