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

Separation dot without space and prefixed name #250

Closed
wants to merge 1 commit into from
Closed

Separation dot without space and prefixed name #250

wants to merge 1 commit into from

Commits on Jun 6, 2019

  1. Separation dot without space and prefixed name

    Previously with a prefixed name a final dot was not recognized as
    separating triple blocks.
    
    Sadly in SPARQL this is quite messy.
    
    For example the following query works (in Blazegraph):
    
        SELECT ?item WHERE {
           ?item wdt:P31 wd:Q2934.?item wdt:P39 wd:Q41240317
        }
    
    Using `^` reversing the following also works
    
        SELECT ?item WHERE {
           ?item wdt:P31 wd:Q2934. wd:Q41240317 ^wdt:P39 ?item
        }
    
    However removing the ` ` after the `.` breaks parsing even though it's
    not needed at the same position when the `?` disambiguates.
    
    So yeah we really should use a proper parser that naturally handles this
    weirdness.
    niklas88 committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    601c26a View commit details
    Browse the repository at this point in the history