Jump to content

Template:Learning Path: Difference between revisions

Leonie (talk | contribs)
m update query (P14 -> P1)
Leonie (talk | contribs)
m added: Usage
Line 13: Line 13:
}
}
}}
}}
<noinclude>
== Usage ==
<pre>
{{Learnpath|quiz=wd:Q444}}
</pre>
</noinclude>

Revision as of 08:29, 9 October 2023

{{#widget:SPARQLquery|code=

  1. defaultView:Graph

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?item ?itemLabel ?quiz ?quizLabel ?dependency ?dependencyLabel where {

 BIND (wd:Q444 AS ?quiz).
 ?quiz wdt:P1 ?item.
 OPTIONAL {?item wdt:P1 ?dependency.}
 service wikibase:label { bd:serviceParam wikibase:language "en" }

} }}


Usage

{{Learnpath|quiz=wd:Q444}}