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

Concept Intersection fails #29

Open
Aklakan opened this issue Mar 8, 2015 · 1 comment
Open

Concept Intersection fails #29

Aklakan opened this issue Mar 8, 2015 · 1 comment

Comments

@Aklakan
Copy link
Member

Aklakan commented Mar 8, 2015

filterConcept := "?s http://geovocab.org/geometry#geometry ?fv_2; ?fv_2"

attrConcept := "?s http://www.opengis.net/ont/geosparql#asWKT ?w; ?s"

intersection using ConceptUtils.createCombinedConcept(attrConcept, filterConcept, true, false, false) yields

actual := "?s http://geovocab.org/geometry#geometry ?s . ?s http://www.opengis.net/ont/geosparql#asWKT ?w; ?s"

expected := "?freshVar http://geovocab.org/geometry#geometry ?s . ?s http://www.opengis.net/ont/geosparql#asWKT ?w; ?s"

with ?freshVar being a newly allocated variable distinct from any other variable

@Aklakan
Copy link
Member Author

Aklakan commented Mar 8, 2015

Added hacky fix, which does additional variable renaming by prefixing, but does not actually check for uniquness (if javascript just had a native HashSet....)

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