Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Spesialsamlingene
Marcus Components
Commits
ca12701d
Commit
ca12701d
authored
Jun 22, 2021
by
Oyvind.Gjesdal
Browse files
look for more labels in model
parent
ab75a493
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/stats/queries/quantity.query
View file @
ca12701d
SELECT ?label (COUNT(?class) AS ?total) WHERE {
SELECT
SAMPLE(
?label
)
(COUNT(?class) AS ?total) WHERE {
GRAPH <urn:x-arq:UnionGraph> {
?s a ?class .
#?class rdfs:label ?label .
...
...
@@ -9,9 +9,9 @@ FILTER(?class NOT IN (ubbont:DigitalResource, ore:Aggregation, ubbont:Page)).
}
GRAPH ubbont:ubbont {
?class rdfs:label ?label .
FILTER(LANG(?label) = "")
FILTER(LANG(?label) = ""
|| LANG(?label)="nb"
)
}
}
GROUP BY ?
label
GROUP BY ?
s
HAVING (COUNT(?class) > 1)
ORDER BY desc(?total)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment