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

flatPropertyPath #153

Open
ofilangi opened this issue Jan 29, 2022 · 0 comments
Open

flatPropertyPath #153

ofilangi opened this issue Jan 29, 2022 · 0 comments
Labels
enhancement New feature or request new operation new swdiscovery operatipon

Comments

@ofilangi
Copy link
Collaborator

deconstruct propertyPath following rules (as possible)

Alternatives

:book1 dc:title|rdfs:label ?displayString

becomes

:book1 ?rel ?displayString
VALUES ?rel  { dc:title rdfs:label }

Sequence

 ?x foaf:knows/foaf:knows/foaf:name ?name .

becomes

?x  foaf:knows [ foaf:knows [ foaf:name ?name ]]. 

Inverse Property Paths

 ?x ^foaf:knows ?y .

becomes

?y  foaf:knows ?x. 

Inverse Path Sequence

 ?x foaf:knows/^foaf:knows ?y .  

becomes

    ?x foaf:knows ?gen1 .
    ?y foaf:knows ?gen1 . 

not manage : Arbitrary length match, Arbitrary length path match, Negated Property Paths

@ofilangi ofilangi added enhancement New feature or request new operation new swdiscovery operatipon labels Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new operation new swdiscovery operatipon
Projects
None yet
Development

No branches or pull requests

1 participant