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

Document RDFa initial context & JSON-LD context design #5

Open
aamedina opened this issue Aug 22, 2023 · 0 comments
Open

Document RDFa initial context & JSON-LD context design #5

aamedina opened this issue Aug 22, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@aamedina
Copy link
Owner

aamedina commented Aug 22, 2023

I need to write documentation explaining that the net.wikipunk.boot namespace contains the RDFa initial context for "wikipunk" RDF processors.

net.wikipunk.ext contains an extended context that may be included if desired.

The design concept is to treat Clojure data structures, which either describe data themselves or contain metadata in source, as potential sources of RDF triples. Using RDFa vocabulary I can annotate Clojure data and retrieve embedded triples. In order to do this I needed to settle on some vocabulary that I could rely on the processor being "aware" of so the RDFa context fits the bill.

Usually these prefix mappings exist as blank nodes in a graph, but how do you figure out what they are before you have a graph? In order to sort through the potential mappings I treat Clojure namespaces with an :rdf/type of :jsonld/Context as places where these prefix or term mappings reside. Any required namespaces with this type will be searched for mappings when the system is started.

@aamedina aamedina added the documentation Improvements or additions to documentation label Aug 22, 2023
@aamedina aamedina self-assigned this Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant