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

Exclude empty values #66

Open
KonradHoeffner opened this issue Jan 24, 2017 · 0 comments
Open

Exclude empty values #66

KonradHoeffner opened this issue Jan 24, 2017 · 0 comments

Comments

@KonradHoeffner
Copy link
Contributor

I don't always have values for some rows (e.g. a English label but no German one) and sparqlify-csv generates empty literals then. Can I leave them out altogether?

SML File:

Create View Template test As
  Construct {
    ?s  a owl:Class;
        rdfs:label ?lde;
        rdfs:label ?len.
}
  
With
    ?s = uri(he:, ?SubjektUri)
    ?lde = plainLiteral(?SubjDe,"de")
    ?len = plainLiteral(?SubjEn,"en")

The output now contains for example:

<x> rdfs:label "my english label"@de.
<x> rdfs:label ""@de.

How can I prevent empty values in the output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant