rdfio / RDFIO

RDF triples import, export and PHP SPARQL endpoint for Semantic MediaWiki
http://www.mediawiki.org/wiki/Extension:RDFIO
Other
29 stars 12 forks source link

RDF Export via SPARQL endpoint breaks when output equivalent URIs is checked #36

Closed samuell closed 7 years ago

samuell commented 7 years ago

Steps to reproduce

  1. Use this version of the RDFIO vagrant box.
  2. Go to the SPARQL endpoint
  3. Put in the following query:
    
    @PREFIX w : <http://localhost:8080/w/index.php/Special:URIResolver/> .

CONSTRUCT { ?s ?p ?o . } WHERE { ?s ?p ?o } LIMIT 25


4. Check the "Output Equivalent URIs:" checkbox
5. Set output format to: "RDF/XML"

### Expected behaviour

A download of an RDF XML file should be initiated.

### Actual behavior

![image](https://user-images.githubusercontent.com/125003/27398071-df006252-56b8-11e7-81af-7f03b901500e.png)
samuell commented 7 years ago

Ah, a quick check in /var/log/hhvm/error.log revealed the reason:

Fatal error: Call to undefined method SPARQLEndpoint::complementTriplesWithEquivURIs() in /vagrant/w/extensions/Rdfio/specials/SpecialSPARQLEndpoint_body.php on line 122

samuell commented 7 years ago

This was fixed before the "bug" was even committed, so closing now.