Courses/Wissenschaftliches Arbeiten SS24: Difference between revisions
(→Überblick: added link to full course query) |
(→Aufgaben: update query to now preview "next week") |
||
Line 114: | Line 114: | ||
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 | select distinct ?today ?sessionDate ?interested ?completed | ||
?item ?itemLabel | ?item ?itemLabel | ||
# ?resource | # ?resource | ||
?resourceLabel ?url | ?resourceLabel ?url | ||
where { | where { | ||
{ | { SELECT * WHERE { | ||
# get all items included in the session | # Get the next session from today | ||
{ SELECT ?session ?today ?sessionDate WHERE { | |||
# get all sessions, that are "bigger" than today | |||
BIND("2023-10-30"^^xsd:dateTime as ?today) # for test | |||
# BIND(now() as ?today) # for real | |||
wd:Q468 wdt:P14 ?session. | |||
?session wdt:P3 wd:Q427. | |||
?session wdt:P19 ?sessionDate. | |||
FILTER(?sessionDate > ?today). | |||
} LIMIT 1 } # only return the first session | |||
# get all items included in the specified session | |||
{ ?session wdt:P14 ?item. | |||
OPTIONAL {?item wdt:P21 ?resource. | |||
?resource wdt:P20 ?url.} | ?resource wdt:P20 ?url.} | ||
} UNION { | |||
# get all items, that a user has marked as "interested in" and BIND to "true/false" | |||
{ SELECT ?item ?itemLabel WHERE { | |||
?user rdfs:label "{{#username:Max Mustermann}}"@en. | |||
?user wdt:P23 ?item. | |||
wd:Q734 wdt:P14 ?item. | |||
} } | |||
BIND(IF(BOUND(?item), "true", "false") as ?interested) | |||
} UNION { | |||
# get all items, that a user has marked as "completed" and BIND to "true/false" | |||
{ SELECT ?item ?itemLabel WHERE { | |||
?user rdfs:label "{{#username:Max Mustermann}}"@en. | |||
?user wdt:P12 ?item. | |||
wd:Q734 wdt:P14 ?item. | |||
} } | |||
BIND(IF(BOUND(?item), "true", "false") as ?completed) | |||
} | |||
} | |||
} | |||
service wikibase:label { bd:serviceParam wikibase:language "en".} | service wikibase:label { bd:serviceParam wikibase:language "en".} | ||
} | } LIMIT 50 | ||
| caption=Eine Todolist für {{#username:Max Mustermann}} | | caption=Eine Todolist für {{#username:Max Mustermann}} | ||
}} | }} | ||
</div> | </div> |
Revision as of 16:30, 25 March 2024
✒️ Note: This page is currently only available in german.
B.A. Medieninformatik, Universität Regensburg.
- GRIPS Link
- SPUR Link
Überblick
...hier eine Beschreibung über den Kurs.
Wichtige Themen |
---|
Ausführlichere Query |
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Für eine Graph, der den gesamten Kurs darstellt, klicken Sie hier.
Vorwissen | Ziele |
---|---|
Query, die die Ziele des Kurses zeigt | |
Vollbildansicht der Query | Link zu Query rechts |
Zeitplan
Aufgaben
...hier eine Todo-Liste für Vor-/Nachbereitung