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
fd59ab3a
Commit
fd59ab3a
authored
Aug 10, 2021
by
Oyvind.Gjesdal
Browse files
remove extra NOT IN for ontology classes
parent
80079e32
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/about-marcus/queries/quantity.query
View file @
fd59ab3a
SELECT ?label (COUNT(?class) AS ?total) WHERE {
GRAPH <urn:x-arq:UnionGraph> {
?s a ?class .
FILTER (?class NOT IN ( ubbont:DigitalResource , ubbont:Page , ore:Aggregation
, owl:DatatypeProperty, owl:ObjectProperty, owl:FunctionalProperty, rdfs:Class, owl:Class
))
FILTER (?class NOT IN ( ubbont:DigitalResource , ubbont:Page , ore:Aggregation))
?class rdfs:label ?label .
FILTER(LANG(?label) = "").
}
}
GROUP BY ?label
HAVING (COUNT(?
class
) > 1)
HAVING (COUNT(?
total
) > 1)
ORDER BY desc(?total)
LIMIT 50
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