Feature Demo: Difference between revisions
→Ein großer Abhängigkeitsgraph: Add caption |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
} | } | ||
|caption=All dependencies on this platform. | |||
}} | }} | ||
== Verknüpfung von Materialien == | == Verknüpfung von Materialien == | ||
| Line 23: | Line 23: | ||
{{#widget:SPARQLquery|code= | {{#widget:SPARQLquery|code= | ||
#defaultView:Graph | #defaultView:Graph | ||
PREFIX | PREFIX wd: <https://graphit.ur.de/entity/> | ||
PREFIX | PREFIX wdt: <https://graphit.ur.de/prop/direct/> | ||
SELECT ?item ?itemLabel | SELECT ?resource ?resourceLabel ?item ?itemLabel ?image WHERE { | ||
?item | ?item wdt:P21 ?resource | ||
? | VALUES ?item {wd:Q108} | ||
OPTIONAL{ ?item | OPTIONAL{ ?item wdt:P11 ?image.} | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
} | } | ||
Latest revision as of 12:53, 5 October 2023
Graph-basierte Entwicklung von Curricula und Lehrveranstaltungen
Ein großer Abhängigkeitsgraph
Beispiel: Themen der Vorlesung "Einführung in die Computergrafik und Bildverarbeitung" - Ausschnitt
{{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX grt: <https://graphit.ur.de/prop/direct/> SELECT ?item ?itemLabel ?class ?classLabel ?image ?dependency ?dependencyLabel WHERE {
?item grt:P1 ?dependency.
?item grt:P2 ?class
OPTIONAL{ ?item grt:P9 ?image.}
OPTIONAL{ ?class grt:P9 ?image.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} |caption=All dependencies on this platform. }}
Verknüpfung von Materialien
{{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX wd: <https://graphit.ur.de/entity/> PREFIX wdt: <https://graphit.ur.de/prop/direct/> SELECT ?resource ?resourceLabel ?item ?itemLabel ?image WHERE {
?item wdt:P21 ?resource
VALUES ?item {wd:Q108}
OPTIONAL{ ?item wdt:P11 ?image.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} }}
Lernfortschritt von Studierenden
{{#widget:SPARQLquery|code=
- defaultView:Timeline
PREFIX gr: <https://graphit.ur.de/entity/> PREFIX grs: <https://graphit.ur.de/entity/statement/> PREFIX grv: <https://graphit.ur.de/value/> PREFIX grt: <https://graphit.ur.de/prop/direct/> PREFIX p: <https://graphit.ur.de/prop/> PREFIX ps: <https://graphit.ur.de/prop/statement/> PREFIX pq: <https://graphit.ur.de/prop/qualifier/> SELECT ?topic ?topicLabel ?image ?date WHERE {
BIND(gr:Q157 as ?user).
?user p:P12 ?statement.
?statement ps:P12 ?topic.
?statement pq:P19 ?date.
OPTIONAL{ ?topic grt:P11 ?image.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} }}