Jump to content

Quick Overview

Revision as of 11:56, 9 April 2025 by Leonie (talk | contribs) (→Course Work: remove section)


The goal of GraphIT is to develop and evaluate a dependency graph of learning contents. This graph enables faculties to develop better study programs, teachers to structure their courses better and students to find the best way to achieve their personal goals.

The Dependency Graph

Error creating thumbnail: File missing
Learning contents connect to each other to form a learning path

A dependency graph is a collection of nodes, connected with each other using edges. These connections show which nodes depend on others. These nodes or items represent a topic of study.

At the lowest level our graph is structured by linking learning contents to their prerequisite(s). A student can now use these links to determine how items depend on each other, and what knowledge is required to understand a specific node. Materials (such as tutorials and articles) or exams can also be linked to each learning content.


In the end the graph turns into a big interconnected structure:

Error creating thumbnail: File missing
A snippet of the dependency graph


In order to make this amount of data useable, several Structure-Items have been defined to help group items together. For example learning contents of similar topic are included in a category that can later be referenced when putting a course together. Courses include Sessions that represent an actual session of a course and include all items that are being discussed in person.

{{#widget:SPARQLquery|code=

  1. defaultView:Graph

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?item ?itemLabel ?image ?dependency ?dependencyLabel ?image2 #?session ?sessionLabel where {

 wd:Q940 wdt:P14 ?item.
 OPTIONAL {?item wdt:P11 ?image.}
 OPTIONAL {
   ?item wdt:P1 ?dependency.
   OPTIONAL {?dependency wdt:P11 ?image2}.
 }
 FILTER EXISTS {wd:Q940 wdt:P14 ?dependency}
 service wikibase:label { bd:serviceParam wikibase:language "en".}

} LIMIT 100 |caption=Items being discussed in a session of the CGBV-course on 3D-Graphics }}

Every item can further include existing Properties. This allows for specifying information such as dates, people responsible and URLs.

People can interact with the graph by creating a User-Item (example: Max Mustermann), that they can use to link back to items in different ways.


For a more detailed explanation of the entire underlying structure go to GraphStructure or take a quick look at these following diagrams:

Using the Graph

{{#switch: info | warn = ⚠️ | info = ℹ️ | #default = ✒️ }} 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.


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.

We combine different visualization options to create a course page (see for example: WissArb and CGBV), where a collection of information is contained in one place. Using the SPARQL-Queries information can be quickly pulled from the graphs and displayed. This can offer insights on about the contents of the graph, but also the graph itself and it's underlying structure.

Such as a timeline of all course sessions:

{{#widget:SPARQLquery|code=

  1. defaultView:Timeline
  2. title: Alle geplanten Termine

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?Datum ?Inhalte ?InhalteLabel

  1. ?item # for debug

where {

 # todo. change Q:468 to current course
 wd:Q932 wdt:P14 ?Inhalte.
 ?Inhalte wdt:P3 wd:Q427. 
 ?Inhalte wdt:P19 ?Datum.
 OPTIONAL { ?Inhalte skos:altLabel ?InhalteLabel. # get alias instead of label
             FILTER (!regex(?InhalteLabel, "CGBV", "i")) }
 service wikibase:label { bd:serviceParam wikibase:language "en".}

} ORDER BY ASC(?Datum) | height=38em | caption=All sessions of the CGBV course }}


Or an overview of students knowledge and interests:

{{#widget:SPARQLquery|code=

  1. defaultView:SwarmScatterChart

PREFIX wd: <https://graphit.ur.de/entity/> PREFIX wdt: <https://graphit.ur.de/prop/direct/>

SELECT DISTINCT ?known ?interests ?itemLabel # ?known ?interests ?item ?itemLabel WHERE {

 wd:Q468 wdt:P14* ?item.
 OPTIONAL {
   SELECT ?item ?itemLabel (COUNT(DISTINCT ?student) as ?known) WHERE {
     ?student wdt:P12 ?item.
   } GROUP BY ?item ?itemLabel
 }
 OPTIONAL {
   SELECT ?item ?itemLabel (COUNT(DISTINCT ?student) as ?interests) WHERE {
     ?student wdt:P23 ?item.
   } GROUP BY ?item ?itemLabel
 }.
 BIND (IF(!BOUND(?interests), 0, ?interest) as ?interests).
 BIND (IF(!BOUND(?known), 0, ?known) as ?known).
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

} | height=20em | caption=Students self defined interests and prior knowledge for learning contents of the WissArb-Course }}

Such a graph is possible by allowing students to modify their personal user-item and use it to link to items with the specific properties: has completed and interested in.

Custom Frontends

Error creating thumbnail: File missing
A visual editor for graph exploration and marking items
Error creating thumbnail: File missing
A tabular editor for modifiying and connecting items

For an easier and directer way of interaction some custom frontends have been developed.

Students can interact with the graph using a visual editor. It shows a specific course and all items it includes. It allows students to explore the graph, see learning paths towards specific topics and quickly mark items as prior knowledge or a topic that they are interested in.

Admins can interact with a tabular editor, that can modifiy items dependend and independently of each other. They can move, copy or delete statements (property-item-pairs) between items and create new connections.

Plans for the Future

Overview of Student

Shows what items a Student is has linked their item to. Can be used to track progress. {{#widget:SPARQLquery|code=

  1. 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.
 # Minus username in edgeLabel
 FILTER (?prop != wdt:P28)
 # 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=

  1. defaultView:Graph
  2. prerequisite -> topic -> postrequisite

PREFIX wd: <https://graphit.ur.de/entity/> PREFIX wdt: <https://graphit.ur.de/prop/direct/> SELECT distinct ?v ?vLabel ?rgb ?link ?linkLabel WHERE { {

 { SELECT * WHERE {
 { SELECT ?goal ?goalLabel ?topic ?topicLabel 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.
 BIND (?topic as ?v). # + add all ?pre that are not yet in ?topic   
 BIND (?pre as ?link).
 bind (if(?v = wd:Q149, "FBBC74", "FFEDD8") as ?rgb).
 }
 }
 Union
 
 { SELECT * WHERE {
 { SELECT ?topic ?topicLabel ?goal ?goalLabel WHERE {
   {
     BIND (wd:Q149 as ?topic).
     ?goal wdt:P1+ ?topic. 
   } UNION {
     VALUES ?topic { wd:Q149 } # we also want to include the root node itself
   }
 }
 }
 ?post wdt:P1 ?topic.
 BIND (?post as ?v).
 BIND (?topic as ?link).
 bind ("F68C13" as ?rgb).
 }
 }
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

} } |caption=The learning path to an item, showing its pre- and postrequisites }}