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

Add automatically provenance to imported URI #205

Open
jmvanel opened this issue Jan 3, 2021 · 0 comments
Open

Add automatically provenance to imported URI #205

jmvanel opened this issue Jan 3, 2021 · 0 comments

Comments

@jmvanel
Copy link
Owner

jmvanel commented Jan 3, 2021

Add automatically provenance to imported URI
This concerns both URL's loaded by /display pages and /load-uri service .
There are two ways:

  1. add in /display in expert mode a visual item for the focus URL indicating the Graph(s) URI's of the triples (either in the header or for each triple)
  2. introduce a redondance in the database, by adding rdfs:isDefinedBy triples: see below

adding rdfs:isDefinedBy triples via e.g.

<U1> rdfs:isDefinedBy <http://data.origin.org/dump.ttl> .

This can also be added a posteriori by a SPARQL Update, given the structure of the SF database:

prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
  GRAPH ?G {
    ?S rdfs:isDefinedBy ?G .
  }
}
WHERE {
  GRAPH ?G {
    ?S ?P [] .
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant