Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the relationship between a file containing a multi-graph serialization and the loaded graphs. #17

Open
wouterbeek opened this issue Dec 31, 2015 · 1 comment

Comments

@wouterbeek
Copy link
Contributor

When loading RDF data from serialization formats supporting RDF datasets (Trig, N-Quads), some RDF triples belong to a specified RDF graph or to the default graph (if not graph is specified).

Currently, the relationships between (1) the file containing the multi-graph serialization, and (2) the graphs imported from that file is not accessible via rdf_graph_property/2.

For example:

?- rdf_graph(G), !, rdf_graph_property(G,P).
G = 'http://www.lexvo.org/data/term/kir/%D0%B8%D1%81%D0%BF%D0%B0%D0%BD%D1%87%D0%B0',
P = hash('70ecb85395368b8e6b90a29bcad0a417') ;
G = 'http://www.lexvo.org/data/term/kir/%D0%B8%D1%81%D0%BF%D0%B0%D0%BD%D1%87%D0%B0',
P = modified(true) ;
G = 'http://www.lexvo.org/data/term/kir/%D0%B8%D1%81%D0%BF%D0%B0%D0%BD%D1%87%D0%B0',
P = triples(7).

The source and source_last_modified properties are missing.

@Anniepoo
Copy link
Member

Jan warned me about this a while back. That graph originally meant 'resource the triple came from'. People started using it for other things, and then then wanted to know provenance again, and triples become quads, become 5-tuples, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants