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

Converted some @types into rdf:type entries. #66

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaurav
Copy link
Member

@gaurav gaurav commented Apr 2, 2019

RDFpipe can handle '@type's containing entire OWL restrictions without any problem (e.g. "@type": [{ "@type": "owl:Restriction", ... }]). Doing this causes an error in the JSON-LD library we're using in JPhyloRef, which expects @type to be a string or an array of strings (1).

The quick solution to this is to set rdf:type in the JSON-LD instead of @type, which seems to work with both RDFpipe (and subsequently Protege) as well as JPhyloRef.

While rdfpipe appears to handle '@type's containing OWL restrictions
without any problem, it appears to throw off the JSON-LD library we're
using in JPhyloRef. I'll make this quick fix here for now and then decide
what the correct solution should be.
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.

1 participant