Sandbox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
---- | ---- | ||
== SPARQLSandbox == | |||
{{#widget:SPARQLSandbox|code= | {{#widget:SPARQLSandbox|code= | ||
#defaultView:Graph | #defaultView:Graph | ||
| Line 28: | Line 29: | ||
|caption= All items {{#username:Max Mustermann}} is interested in. | |caption= All items {{#username:Max Mustermann}} is interested in. | ||
}} | }} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Explanation !! Link | |||
|- style="background-color:#e8fcff" | |||
| A Course you || — [[Property:P25|participate in]] → | |||
|} | |||
Revision as of 14:08, 10 October 2023
{{#username:Max Mustermann}} test
{{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?user ?userLabel ?interest ?interestLabel Where {
?user rdfs:label "{{#username:Max Mustermann}}"@en.
?user wdt:P23 ?interest.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} |caption= All items {{#username:Max Mustermann}} is interested in. }}
SPARQLSandbox
{{#widget:SPARQLSandbox|code=
- defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?user ?userLabel ?interest ?interestLabel Where {
?user rdfs:label "{{#username:Max Mustermann}}"@en.
?user wdt:P23 ?interest.
service wikibase:label { bd:serviceParam wikibase:language "en" }
} |caption= All items {{#username:Max Mustermann}} is interested in. }}
| Explanation | Link |
|---|---|
| A Course you | — participate in → |