DebugQueries: Difference between revisions
→Access to Items: update; added: Not in Sessions |
|||
| Line 199: | Line 199: | ||
== Resources == | == Resources == | ||
'''Returns all Resources.''' | '''Returns all Resources.''' | ||
{{ | {{SPARQL2|query= | ||
#defaultView:Table | #defaultView:Table | ||
PREFIX wdt: <https://graphit.ur.de/prop/direct/> | PREFIX wdt: <https://graphit.ur.de/prop/direct/> | ||
| Line 205: | Line 205: | ||
SELECT DISTINCT ?resource ?resourceLabel ?labelLength | SELECT DISTINCT ?resource ?resourceLabel ?labelLength | ||
WHERE { | WHERE { | ||
?resource wdt:P20 ?url. | ?resource wdt:P20 ?url. | ||
?resource rdfs:label ?resourceLabel. | ?resource rdfs:label ?resourceLabel. | ||
| Line 218: | Line 216: | ||
Here it could be useful to find shorter alias for the items, for easier viewing in a visualisation. | Here it could be useful to find shorter alias for the items, for easier viewing in a visualisation. | ||
{{ | {{SPARQL2|query= | ||
#defaultView:Table | #defaultView:Table | ||
PREFIX wdt: <https://graphit.ur.de/prop/direct/> | PREFIX wdt: <https://graphit.ur.de/prop/direct/> | ||
| Line 251: | Line 249: | ||
?property wikibase:directClaim ?predicate} | ?property wikibase:directClaim ?predicate} | ||
MINUS {?item wikibase:directClaim ?property} # remove Properties | MINUS {?item wikibase:directClaim ?property} # remove Properties | ||
service wikibase:label { bd:serviceParam wikibase:language "en" } | |||
} | |||
}} | |||
== Categories == | |||
'''Returns all [[Item:Q169|Categories]] and their sub-items.''' | |||
{{SPARQL2|query= | |||
#defaultView:Graph | |||
#get all Items of a category | |||
PREFIX wdt: <https://graphit.ur.de/prop/direct/> | |||
PREFIX wd: <https://graphit.ur.de/entity/> | |||
select distinct ?item ?itemLabel ?category ?categoryLabel { | |||
?category wdt:P3 wd:Q169. | |||
?item wdt:P2 ?category. | |||
service wikibase:label { bd:serviceParam wikibase:language "en" } | service wikibase:label { bd:serviceParam wikibase:language "en" } | ||
} | } | ||
| Line 257: | Line 269: | ||
== Sessions == | == Sessions == | ||
'''Returns all [[Item:Q427|Sessions]], all Items that they include and the [[Item:Q170|Course]] that includes them.''' Excludes all items that are resources. | '''Returns all [[Item:Q427|Sessions]], all Items that they include and the [[Item:Q170|Course]] that includes them.''' Excludes all items that are resources. | ||
{{ | {{SPARQL2|query= | ||
#defaultView:Graph | #defaultView:Graph | ||
PREFIX wdt: <https://graphit.ur.de/prop/direct/> | PREFIX wdt: <https://graphit.ur.de/prop/direct/> | ||
PREFIX wd: <https://graphit.ur.de/entity/> | PREFIX wd: <https://graphit.ur.de/entity/> | ||
| Line 268: | Line 279: | ||
MINUS {?item wdt:P20 ?url.} | MINUS {?item wdt:P20 ?url.} | ||
MINUS {?session wdt:P3 wd:Q162.} | MINUS {?session wdt:P3 wd:Q162.} | ||
service wikibase:label { bd:serviceParam wikibase:language "en" | service wikibase:label { bd:serviceParam wikibase:language "en".} | ||
} | } | ||
}} | }} | ||
== | == Not in Sessions == | ||
'''Returns all [[Item: | '''Returns all items that are not (yet) part of a [[Item:Q427|Session]].''' | ||
{{#widget: SPARQLquery|code= | {{#widget:SPARQLquery|code= | ||
#defaultView: | #defaultView:Table | ||
PREFIX wdt: <https://graphit.ur.de/prop/direct/> | PREFIX wdt: <https://graphit.ur.de/prop/direct/> | ||
PREFIX wd: <https://graphit.ur.de/entity/> | PREFIX wd: <https://graphit.ur.de/entity/> | ||
select distinct ?item ?itemLabel ? | select distinct ?item ?itemLabel ?session ?sessionLabel | ||
? | WHERE { | ||
?item wdt: | ?item wdt:P1 ?dependency. | ||
MINUS {?session wdt:P14 ?item}. | |||
MINUS {?item wdt:P3 wd:Q169}. | |||
service wikibase:label { bd:serviceParam wikibase:language "en" } | service wikibase:label { bd:serviceParam wikibase:language "en" } | ||
} | } | ||
Revision as of 09:30, 15 September 2023
This page contains several SPARQL-Queries to help debug the graph.
Useful Queries
A List of accessible queries, that are useful to understand the structure of the graph and identify problems, such as missing links. They can be changed as needed.
Backlinks
A query that finds all backlinks to a specific item.
{{#if: Polygons (Q108) | Items used: Polygons (Q108) | }}
{{#if: | Properties used: | }}
{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}#defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?subject ?subjectLabel ?item ?itemLabel { # ?property ?propertyLabel
values (?item) {(wd:Q108)}
?subject ?predicate ?item .
?property wikibase:directClaim ?predicate
service wikibase:label { bd:serviceParam wikibase:language "en" }
}
All Items
Returns a list of all items and how they are categorized in alphabetical order. In this case categories are all items that are used to structure the graph, such as Article or Markers. This list can help spot duplicates or similiar items. {{#if: | Items used: | }}
{{#if: | Properties used: | }}
{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}#defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?item ?itemLabel {
?item ?predicate ?dependency.
?property wikibase:directClaim ?predicate
service wikibase:label { bd:serviceParam wikibase:language "en" }
}
order by asc(UCASE(str(?itemLabel)))
Missing Properties
Resources
No Resources
Returns all Items, that don't have any resource that they link to.
{{#widget:SPARQLquery|code=
- All Items with no linked resources
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT DISTINCT ?source ?sourceLabel ?resource ?resourceLabel WHERE {
# Select all items
?source wdt:P1 ?dependency.
?source wdt:P2 ?class.
MINUS {?source wdt:P21 ?resource.}
service wikibase:label { bd:serviceParam wikibase:language "en". }
} }}
Unlinked Resources
Returns all resources, that have not been linked to any item yet. {{#widget:SPARQLquery|code=
- Resources that aren't linked
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT DISTINCT ?source ?sourceLabel ?resource ?resourceLabel WHERE {
# select all resources (they have urls)
?source wdt:P20 ?url. # 151
MINUS {
?dependency wdt:P21 ?source
}
service wikibase:label { bd:serviceParam wikibase:language "en". }
} }}
Instance-less Resources
Returns all Resources that have no Property instance of. {{#widget:SPARQLquery|code=
- All Resources that don't have a Property: instance of
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT ?resource ?resourceLabel ?instanceOf WHERE {
?source wdt:P21 ?resource.
MINUS {?resource wdt:P3 ?instanceOf}
service wikibase:label { bd:serviceParam wikibase:language "en" }
}
}}
No Subclass
Returns all Items, that don't have a property subclass. {{#widget:SPARQLquery|code=
- All Items no subclass
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT DISTINCT ?source ?sourceLabel ?subclass WHERE {
?source wdt:P1 ?dependency.
MINUS {?source wdt:P2 ?class. }
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
No Dependencies
Returns all Items, that don't link any other items as dependency.
These items don't have a property depends on. This could mean, that they are the begining of a path. {{#widget:SPARQLquery|code=
- All items that don't linkt to another item (no dependency)
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT ?source ?sourceLabel ?dependency WHERE {
?source wdt:P2 ?class.
MINUS {?source wdt:P1 ?dependency.}
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
No Links
Returns all Graph-items, that don't link to any other items and are not linked to in return. Does not return items used to structure the graph, such as Essential {{#widget:SPARQLquery|code=
- All items that don't linkt to another item (no dependency)
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT ?source ?sourceLabel ?dependency WHERE {
?source wdt:P2 ?class. # get all items that have a subclass.
MINUS {?dependency wdt:P1 ?source}. # Remove all items that have the ?source as a dependency
MINUS {?source wdt:P1 ?dependency}. # Remove all items that have a dependency
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
No Description
Returns all items without a description. {{#widget:SPARQLquery|code= PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT DISTINCT ?item ?itemLabel ?itemDescription WHERE {
?item wdt:P2 ?class.
MINUS {?item schema:description ?itemDescription }
service wikibase:label { bd:serviceParam wikibase:language "en". }
} }}
No Instance
Returns all items that have and their Property instance of. Shows which items are not, e.g. Applications. {{#widget:SPARQLquery|code=
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?item ?itemLabel ?instance ?instanceLabel {
?item wdt:P2 ?class.
optional { ?item wdt:P3 ?instance }
# MINUS { ?item wdt:P3 ?instance } # Removes items with instance
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
Access to Items
Queries that find items with specific proterties for an easier overview.
Quizzes
Returns all Items that are Quizzes. {{#widget:SPARQLquery|code=
- All Items that are a Quiz
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT ?source ?sourceLabel ?url WHERE {
# All Items that are an instance of Property Quiz
?source wdt:P3 wd:Q162.
?source wdt:P20 ?url.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
Resources
Returns all Resources. {{#if: | Items used: | }}
{{#if: url (P20) | Properties used: url (P20) | }}
{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}#defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
SELECT DISTINCT ?resource ?resourceLabel ?labelLength
WHERE {
?resource wdt:P20 ?url.
?resource rdfs:label ?resourceLabel.
BIND (strlen(str(?resourceLabel)) AS ?labelLength)
service wikibase:label { bd:serviceParam wikibase:language "en" }
}
Labels
Returns the items with the longest Labels (50). Doesn't return Resources.
Here it could be useful to find shorter alias for the items, for easier viewing in a visualisation. {{#if: Student (Q167) | Items used: Student (Q167) | }}
{{#if: subclass of (deprecated) (P2), url (P20), instance of (P3) | Properties used: subclass of (deprecated) (P2), url (P20), instance of (P3) | }}
{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}#defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?item ?itemLabel ?length ?alias { # ?property ?propertyLabel
# ?item wdt:P2 ?class.
?item rdfs:label ?itemLabel.
MINUS {?item wdt:P20 ?url}
MINUS {?item wdt:P3 wd:Q167} # no Students
BIND (strlen(str(?itemLabel)) AS ?length)
OPTIONAL {?item skos:altLabel ?alias}
service wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY DESC(strlen(str(?itemLabel))) LIMIT 50
Orphans
Returns all items that have no Properties. Excludes all Property-Items, such as depends on {{#widget:SPARQLquery|code=
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT DISTINCT ?item ?itemLabel ?property WHERE {
?item rdfs:label ?itemLabel. # Select all item with labels
#MINUS {?item wdt:P1 [].} # one by one
# Remove all items that have a propery
MINUS {?item ?predicate ?value.
?property wikibase:directClaim ?predicate}
MINUS {?item wikibase:directClaim ?property} # remove Properties
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
Categories
Returns all Categories and their sub-items. {{#if: Category (Q169) | Items used: Category (Q169) | }}
{{#if: instance of (P3), subclass of (deprecated) (P2) | Properties used: instance of (P3), subclass of (deprecated) (P2) | }}
{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}#defaultView:Graph
#get all Items of a category
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?item ?itemLabel ?category ?categoryLabel {
?category wdt:P3 wd:Q169.
?item wdt:P2 ?category.
service wikibase:label { bd:serviceParam wikibase:language "en" }
}
Sessions
Returns all Sessions, all Items that they include and the Course that includes them. Excludes all items that are resources. {{#if: Quiz (Q162) | Items used: Quiz (Q162) | }}
{{#if: includes (P14), url (P20), instance of (P3) | Properties used: includes (P14), url (P20), instance of (P3) | }}
{{#if:|
{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX p: <https://graphit.ur.de/prop/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX p: <https://graphit.ur.de/prop/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX q: <https://graphit.ur.de/prop/qualifier/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
PREFIX v: <https://graphit.ur.de/prop/statement/>|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
PREFIX v: <https://graphit.ur.de/prop/statement/>|}}}}{{ safesubst:p{{ safesubst:#ifeq:|eq|1|2}}|{{ safesubst:p{{ safesubst:#ifeq:|
|1|2}}||}}|{{ safesubst:p{{ safesubst:#if:|1|2}}|
|}}}}
}}#defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?item ?itemLabel ?session ?sessionLabel ?course ?courseLabel ?edgeLabel
where {
?session wdt:P14 ?item.
MINUS {?item wdt:P20 ?url.}
MINUS {?session wdt:P3 wd:Q162.}
service wikibase:label { bd:serviceParam wikibase:language "en".}
}
Not in Sessions
Returns all items that are not (yet) part of a Session. {{#widget:SPARQLquery|code=
- defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?item ?itemLabel ?session ?sessionLabel WHERE {
?item wdt:P1 ?dependency.
MINUS {?session wdt:P14 ?item}.
MINUS {?item wdt:P3 wd:Q169}.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
Miscellaneous
Circle Dependency
Returns items that link back towards each other, creating a circle dependency. {{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?item ?itemLabel ?dependency ?dependencyLabel {
# Items that link to each other ?item wdt:P1 ?dependency. ?dependency wdt:P1 ?item.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}
Categories with Resources
Returns all Categories that link to resources. This could be a sign to create new items or find better item to properly link these resources to. {{#widget:SPARQLquery|code=
- defaultView:Graph
- all category items that link resources
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?category ?categoryLabel ?resource ?resourceLabel { # ?property ?propertyLabel
?category wdt:P3 wd:Q169.
?category wdt:P21 ?resource.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} }}