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

Sparql query - Multiple entries for the same level and the same lang #20

Open
ghost opened this issue Sep 9, 2016 · 0 comments
Open
Assignees

Comments

@ghost
Copy link

ghost commented Sep 9, 2016

The following query returns duplicated results (with same lang). Is it normal ? In the application, I updated this query to return distinct results.

PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
PREFIX xkos:<http://rdf-vocabulary.ddialliance.org/xkos#>
SELECT ?level ?depth ?label
WHERE {
  <http://stamina-project.org/codes/cpav21/cpa> xkos:hasLevels/rdf:rest*/rdf:first ?level .
  ?level xkos:depth ?depth ; skos:prefLabel ?label .
} ORDER BY ?depth
@ghost ghost assigned FranckCo Sep 9, 2016
@ghost ghost changed the title Sparql Query - Multiple entries for the same level and the same lang Sparql query - Multiple entries for the same level and the same lang Sep 9, 2016
ghost pushed a commit that referenced this issue Sep 9, 2016
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