-
Notifications
You must be signed in to change notification settings - Fork 71
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
Register RDF Namespaces used by Drupal 8 in Fedora4 #333
Comments
I just remembered... I think @acoburn has something he uses to register namespaces & prefixes in Fedora. |
@Islandora-CLAW/committers Please review this stub list below, and let me know of any other prefixes that we should instantiate Fedora with. @Islandora-CLAW/sprinters feel free to jump in here too.
|
Some of those prefixes are server managed by fedora 4. Not sure if re-registering them would fail at all, end with server generated/duplicated namespaces (ns1, etc) or just be ignored. Also, each user contributed ontology should also trigger prefix registering by hooking somehow to the rdf api on Drupal. We should also add: And this one, why did i not see it before? 😄 The question on what method ( @acoburn 's one was mentioned) we want to use is still open. |
@DiegoPino updated the list. Re-reading this thread, we have a couple options:
Either way, @awead and I will have to do this for the NYC Fedora Camp vagrant, which means I'll do the same here. ...or other way around 😄 |
is
From the Prov website:
So, I'd also suggest using |
I also recall a way to change the prefixes after they'd been registered. Perhaps this is dark magic? |
And 👍 to whatever @acoburn says. I would not take my prefix uris as gospel. |
@acoburn good catches. I've updated my list. |
@awead there is this utility for changing namespaces, but it's also a bit wonky and has certain limitations (i.e. you can't change any prefix that is used with |
|
|
@acoburn heh. I was just adding the pcdm extentions 😄 |
Also, I know I'm planning to use Geonames data, but I'm not sure that the geonames namespace will be entirely necessary (e.g. |
Bibframe is another possibility: |
PR: #383 |
Resolved with 75c6365 |
We could need namespace registration logic on module install (or on when adding new predicates via UI that make use of a non existing/previouls registered rdf namespace) .
Fedora 4 keeps track of each use namespace/prefix globally. Keeping track of prefix + namespaces in RDF can be tricky since there is no easy way to "extract" prefixing from full RDF documents, at least not in EasyRDF (our RDF library), which can lead to multiple ns1, ns2, etc or even conflicts. So it could be useful to register(create a fake resource for example) all commonly used namespaces and prefixes to make CRUD easier and slimmer and avoid complications of miss matching prefixes (dc11 versus dc?)
The text was updated successfully, but these errors were encountered: