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 namespaces, add additional properties from RdfLexicon and fcrepo3 RELS-EXT ontology #1

Closed
wants to merge 4 commits into from

Conversation

escowles
Copy link
Contributor

  • Change namespaces from private file namespace to namespaces actually used in the REST API
  • Add missing properties from RdfLexicon and change two properties (size, digest) to match RdfLexicon
  • Add object relation properties from fcrepo3 RELS-EXT ontology

@ajs6f
Copy link
Contributor

ajs6f commented Aug 13, 2013

This isn't entirely right. We had intended to use a dereference-able URL for the namespace of fcrepo4, and actually host the ontology there. In fact, fcrepo.org was chosen for the purpose. Why would we want to use more info: URIs?

For the old properties, yes, but not for new ones. Ideally, not even for old ones, but I suppose we have to for now for backward compat.

@escowles
Copy link
Contributor Author

This brings the ontology in line with the code, but doesn't change the URIs used in the code at all. I can easily change the URIs to use an fcrepo.org namespace such as "http://fcrepo.org/ontology#". I see about two dozen lines of code in fcrepo4 (mostly tests) that have the "info:fedora/fedora-system:def/internal#" namespace hardcoded.

We can define the properties as equivalent to the old info URIs with owl:sameAs, which should make them backwards-compatible in principle.

@ajs6f
Copy link
Contributor

ajs6f commented Aug 13, 2013

That sounds very good to me. Let's confer with the @awoods et al and make sure we can get a copy of the ontology hosted in such a way as to make those fcrepo.org URLs work properly, do that, and then bust out some sameAs goodness. We would have to generate coreference to migrate away from info: at some point: might as well do it early.

…s links to old RELS-EXT info:fedora URIs for backwards compat
@escowles escowles closed this Aug 14, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants