Closed mileswhen closed 1 year ago
@mileswhen the blank nodes are specified in the OWL mapping to RDF. Would it be possible for you to add a SPARQL CONSTRUCT step to transform these before using the files? I'm not very familiar with R2RML, but I'm surprised there wouldn't be a way to handle blank nodes like this.
We could also explore making available some non-OWL RDF transformations if we can find something that would be generally useful.
@balhoff thanks for the reply and suggestion! I implemented the quick fix in Python to transform the files directly, but it should also be possible to perform a CONSTRUCT query in Jena ARQ to get the same result.
I'm not sure how important it would be to have this issue fixed. Though for any framework that uses R2RML (relational data to RDF), I think that anonymous blank nodes might be an issue, as described here.
Hello,
I hit a small issue and would appreciate any help! It seems that after converting to GO-CAM, the anonymous blank nodes (denoted with square brackets) cause errors in Query engines with R2RML mappings. For example,
I'm using the Ontop query engine in the SANSA framework, but have replicated the issue in Sparqlify (also R2RML). However, I have no issues with Apache Jena ARQ (no R2RML). An example of an error I encountered is:
And my quick fix for this was to simply reassign each blank node as an unique IRI, after which I am able to perform queries. For example,