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 RDF export support to Nunaliit #1111

Open
pulsifer opened this issue Jan 20, 2023 · 1 comment · Fixed by #1138
Open

Add RDF export support to Nunaliit #1111

pulsifer opened this issue Jan 20, 2023 · 1 comment · Fixed by #1138
Assignees
Labels
Export Issue related to Nunaliit's export capabilities

Comments

@pulsifer
Copy link
Member

As an atlas builder, I would like to export Nunaliit documents in the RDF(s) model. Two formats would be useful: I) Turtle because it is mature, broadly implemented, is easy for a trained human to read and understand, and a W3C standard (https://www.w3.org/TR/turtle/); ii) JSON-LD because it is now widely used by web developers and other users and has also recently become a standard (https://www.w3.org/TR/json-ld11/). There are many tools to convert from Turtle to JSON-LD and other RDF serializations (formats), so the support of JSON-LD is initially not critical.

The atlas builder should be able to qualify attributes in the schema with a namespace URI and a short form that identifies the vocabulary(ies) being used for a particular data value. For example, short form = rdf: namespace URI = http://www.w3.org/1999/02/22-rdf-syntax-ns#. These prefixes and namespaces should be used in the export files. If no namespace is asserted, then a unique, default prefix:namespace should be generated and assigned using some form of the atlas URL, for example (mpde: HTTP://mpde.gcrc.carleton.ca/ontology/). This will help to avoid term collisions when the data is used in broader contexts.

The atlas builder should be able to customize the schema elements that are exported. Ideally, the atlas developer could use the Nunaliit export tool and the export functionality in the data modification tool to execute the export. Additionally, an API that supports export would have very, very high value.

A specific use case for this functionality is to export the graph in the MPDE atlas for import into a triple store such as Fuseki, or visualization in a tool such as http://vowl.visualdataweb.org/webvowl.html.

@billingb billingb self-assigned this Jan 20, 2023
@alexgao1
Copy link
Contributor

alexgao1 commented Mar 1, 2023

TODO:

  • Support more methods other than just schema (layer? add the filtering stuff back?)
  • Modify the export page to also support this endpoint?
  • Handle how the user defined semantic annotations should be created, parsed, and written out as (presently, it defaults to the atlas-specific ontology/namespace and uses the properties from export.json to choose the values to be written out)

@alexgao1 alexgao1 mentioned this issue Mar 14, 2023
@alexgao1 alexgao1 linked a pull request Mar 14, 2023 that will close this issue
@alexgao1 alexgao1 reopened this Mar 14, 2023
@ahayes ahayes added the Export Issue related to Nunaliit's export capabilities label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Export Issue related to Nunaliit's export capabilities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants