You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem now is, any other data is just handled by the plain values contained the the corresponding datasource, i.e. it's never handled internally as URI as one would expect by the RML mappings.
Thanks for creating an issue for this interesting situation when one needs to query RDF and non-RDF data in the same query. Since the subject (in RDF) is always a URI, one cannot join non-RDF data with RDF data on the subject position.
For this to work, we need to incorporate a way (both at RML mappings and Squerall code) to either extract a plain value from the URI in the RDF data, or create a URI from a non-RDF plain value (by attaching a full namespace).
mnmami
changed the title
Join on RDF subjects not working
Join between non-RDF and RDF data on the subject position
May 1, 2020
Currently, RDF data is parsed as URI and put into a DataFrame with (shortened) URIs.
Consider the N-Triples
and the mapping
the data will be converted to this DataFrame
The problem now is, any other data is just handled by the plain values contained the the corresponding datasource, i.e. it's never handled internally as URI as one would expect by the RML mappings.
Consider the CSV file
and the mapping
the DataFrame will just be
Clearly, any join would fail and result in an empty DataFrame:
The text was updated successfully, but these errors were encountered: