Skip to content

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Oct 30, 2017

It allows the parser to work even when read-only classes are exposed.

@dunglas dunglas merged commit e4d7445 into api-platform:master Oct 31, 2017
@dunglas dunglas deleted the owl-equivalentClass branch October 31, 2017 07:30
for (const range of property['http://www.w3.org/2000/01/rdf-schema#range']) {
const equivalentClass = range['http://www.w3.org/2002/07/owl#equivalentClass'];
if (equivalentClass && 'http://www.w3.org/ns/hydra/core#member' === equivalentClass[0]['http://www.w3.org/2002/07/owl#onProperty'][0]['@id']) {
//console.log('==>'+equivalentClass[0]['http://www.w3.org/2002/07/owl#allValuesFrom'][0]['@id']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you kept the console.logs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed, I'm working on a follow up PR.

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