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

query fails to recognize patterns with repeated elements #139

Open
cmungall opened this issue Jun 24, 2019 · 0 comments
Open

query fails to recognize patterns with repeated elements #139

cmungall opened this issue Jun 24, 2019 · 0 comments

Comments

@cmungall
Copy link
Contributor

cmungall commented Jun 24, 2019

I have this

equivalentTo:
  text: "('related' some %s) and ('related' some %s)"
  vars:
    - v0
    - v1

And this:

image

(ignore the weirdness for now, this is auto-generated by patternizer)

Yet the class is not matched by query. My hypothesis is that this is due to the fact that the same expression is repeated. Granted this is a weird example, but we can imagine saner analogs.

YAML:

https://github.com/cmungall/owl_patternizer/blob/730b7e149ddd0f4ef19aaabea4647b00b722c250/examples/apo/related_X_related_X.yaml#L48-L51

OWL:

https://github.com/cmungall/owl_patternizer/blob/730b7e149ddd0f4ef19aaabea4647b00b722c250/examples/apo/_input.ttl#L2287-L2310

cmungall added a commit to INCATools/owl_patternizer that referenced this issue Jun 24, 2019
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

No branches or pull requests

1 participant