Skip to content

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.

2 participants