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

Use owl:equivalentClass when available #24

Merged
merged 1 commit into from Oct 31, 2017

Conversation

Projects
None yet
2 participants
@dunglas
Member

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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@dunglas dunglas deleted the dunglas:owl-equivalentClass branch Oct 31, 2017

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']);

This comment has been minimized.

@soyuka

soyuka Oct 31, 2017

Member

you kept the console.logs?

@soyuka

soyuka Oct 31, 2017

Member

you kept the console.logs?

This comment has been minimized.

@dunglas

dunglas Oct 31, 2017

Member

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

@dunglas

dunglas Oct 31, 2017

Member

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