Quick Overview
For more indepth examples and explanations visit the following:
| Link | What you will find | Preview |
|---|---|---|
| Courses/CGBV | An overview of the Course "Computergraphik und Bildverarbeitung" | |
| Feature_Demo | A demo of a couple of features | |
| GraphStructure | The documentation of the graph structure | |
| ExampleStudent | An example on how a student can use the graph | |
| Quiz/CGBV-SL2 | An example of how coursework is integrated |
The Dependency Graph
At the lowest level the graph is structured by linking learning contents to its prerequisite(s) and useful resources. A student can now use these links to determine how items depend on each other, and what knowledge is required to understand a specific item.
In the end the graph turns into a big interconnected structure:
{{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/> SELECT ?item ?itemLabel ?class ?classLabel ?image ?dependency ?dependencyLabel WHERE {
?item wdt:P1 ?dependency.
?item wdt:P2 ?class
OPTIONAL{ ?item wdt:P9 ?image.}
OPTIONAL{ ?class wdt:P9 ?image.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} }}
In order to make this amount of data useable, several Structure-Items have been defined to help group items into abstract categories.
For a more detailed explanation of the entire underlying structure go to GraphStructure or take a quick look at these following diagrams:
-
The base structure
-
Connection of courses
-
Dependencies and use
Using the Graph
The graph itself is just a versatile data structure. In order to make it usable, we are developing tools and visualizations. The SPARQL query language offered by WikiBase allows for retrieving relevant parts of the graph and visualizing it in different ways.
Hint: On each interactive visualization on this page, you can click on the "GraphIT Query Service" link in the lower left corner. This opens a new tab which shows you the SPARQL query and allows you to modify it.
Timeline of Course Sessions
{{#widget:SPARQLquery|code=
- defaultView:Timeline
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?item ?itemLabel ?date ?image #?dependency ?dependencyLabel where {
?session wdt:P14 ?item.
MINUS {?item wdt:P20 ?url.}
MINUS {?session wdt:P3 wd:Q162.}
# OPTIONAL {?item wdt:P1 ?dependency.}
OPTIONAL {?item wdt:P11 ?image.}
?session wdt:P19 ?date.
service wikibase:label { bd:serviceParam wikibase:language "en".}
} }}
Overview of Student
Shows what items a Student is has linked their item to. Can be used to track progress. {{#widget:SPARQLquery|code=
- defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/>
SELECT ?item1 ?image ?item1Label ?item2 ?image2 ?item2Label ?edgeLabel ?rgb WHERE {
VALUES ?item1 {wd:Q157}
?item1 ?prop ?item2.
?edge ?dummy ?prop ; rdf:type wikibase:Property.
# Color Coding:
bind (if(?prop = wdt:P25, "e8fcff", # participates in (blue) f3fdff
if(?prop = wdt:P12, "e3ffd9", # has completed (green)
if(?prop = wdt:P23, "ffeec2", # interested in (orange)
"FFFFFF" ))) as ?rgb).
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?prop }}
Learning path
The complete path to an item (here: Virtual Cameras) and what's next. {{#widget:SPARQLquery|code=
- defaultView:Graph
- prerequisite -> topic -> postrequisite
PREFIX wd: <https://graphit.ur.de/entity/> PREFIX wdt: <https://graphit.ur.de/prop/direct/>
- SELECT distinct ?topic ?topicLabel ?pre ?preLabel ?post ?postLabel ?level ?rgb
SELECT ?topic ?topicLabel ?pre ?preLabel ?post ?postLabel ?rgb WHERE { {
{ SELECT * WHERE {
{ SELECT ?goal ?goalLabel ?topic ?topicLabel ?rgb WHERE {
{
BIND (wd:Q149 as ?goal).
?goal wdt:P1+ ?topic.
} UNION {
VALUES ?topic { wd:Q149 } # we also want to include the root node itself
}
}
}
?topic wdt:P1 ?pre.
}
}
Union
{ SELECT * WHERE {
{ SELECT ?topic ?topicLabel ?goal ?goalLabel ?rgb WHERE {
{
BIND (wd:Q149 as ?topic).
?goal wdt:P1+ ?topic.
}
}
}
?post wdt:P1 ?topic.
}
}
# CC (only works in Table not GraphView)
#bind (if(bound(?post), "FAB86C",
#if(?topic = wd:Q149, "FDD3A2", "FFEDD8")) as ?rgb).
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} } }} NOTE: Color coding was currently not possible for this specific case.
Course Work
What items are used in a mandatory coursework: {{#widget:SPARQLquery|code=
- 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:wd:Q451 AS ?quiz).
?quiz wdt:P1 ?item.
OPTIONAL {?item wdt:P1 ?dependency.}
service wikibase:label { bd:serviceParam wikibase:language "en" }
}|caption=The learning path to wd:Q451 }}