spaziocodice / SolRDF

An RDF plugin for Solr
Apache License 2.0
114 stars 20 forks source link

Wrong execution of queries with namespaces containing # #64

Closed agazzarini closed 9 years ago

agazzarini commented 9 years ago

It seems that something (silent) happens dueing the execution of queries like

"q=SELECT ?s WHERE { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> . } 

doesn't work, it doesn't produce the expected results. Specifically, the previous query returns 0 results on a store that contains the whole LCSH (!). Although I'm not sure, this is probably due

agazzarini commented 9 years ago

Fixed. That was related with the (object) URI encoding.

An integration test case (Issue64_ITCase), a test dataset (issue_64_wrong_results.ttl) and a test query (issue_64_wrong_results.rq) have been committed to certify the correct behaviour. Regression testing is good (i.e. green) as the change doesn't seem to impact them