Courses/CGBV SS24/Graph: Difference between revisions
Appearance
created page + added sessions query |
→All Categories: add link to query (better loading) |
||
| Line 2: | Line 2: | ||
== All Sessions == | == All Sessions == | ||
Returns a graph containing all sessions | Returns a graph containing all sessions '''included in''' the course, as well as all '''included''' topics. | ||
{{#widget:SPARQLquery|code= | {{#widget:SPARQLquery|code= | ||
#defaultView:Graph | #defaultView:Graph | ||
| Line 26: | Line 26: | ||
|caption=All existing CGBV SS24 sessions with included topics | |caption=All existing CGBV SS24 sessions with included topics | ||
}} | }} | ||
== All Categories == | |||
Returns a graph with all '''included in''' the course. | |||
See the query '''[https://tinyurl.com/yorv5zu2 here]''' | |||
Revision as of 09:19, 2 May 2024
Contains queries about the graph of the "CGBV SS24" course to help debug and structure it.
All Sessions
Returns a graph containing all sessions included in the course, as well as all included topics. {{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?session ?sessionLabel ?rgb ?shape ?date ?item ?itemLabel ?image # ?res ?resLabel where {
wd:Q932 wdt:P14 ?session.
?session wdt:P3 wd:Q427.
?session wdt:P19 ?date.
OPTIONAL {?session wdt:P14 ?item.
OPTIONAL {?item wdt:P11 ?image } }
# styling
BIND("ECEDFF" as ?rgb)
BIND("box" as ?shape)
service wikibase:label { bd:serviceParam wikibase:language "en".}
} |caption=All existing CGBV SS24 sessions with included topics }}
All Categories
Returns a graph with all included in the course. See the query here