GraphStructure: Difference between revisions

m (→‎Session: update query (color))
(→‎Category: change default query to table)
 
(3 intermediate revisions by the same user not shown)
Line 62: Line 62:
A general category, such as "Mathematical Foundations"; used to group topics.  
A general category, such as "Mathematical Foundations"; used to group topics.  
{{#widget:SPARQLquery|code=
{{#widget:SPARQLquery|code=
#defaultView:Graph
#defaultView:Table
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 ?item ?itemLabel ?category ?categoryLabel ?edgeLabel
select distinct ?item ?itemLabel ?category ?categoryLabel #?edgeLabel
where {
where {
   bind (wd:Q169 as ?category).
   bind (wd:Q169 as ?category).
Line 164: Line 164:
   }
   }
   service wikibase:label { bd:serviceParam wikibase:language "en".}
   service wikibase:label { bd:serviceParam wikibase:language "en".}
} |caption=The Sessions and their topics for the CGBV-course
} LIMIT 50
|caption=The Sessions and their topics for the CGBV-course
}}
}}


Line 277: Line 278:
|-
|-
| [[Property:P14]] || includes || Making a list of items || Learning Contents, Sessions
| [[Property:P14]] || includes || Making a list of items || Learning Contents, Sessions
|-
| [[Property:P37]] || properties for this type || List of properties that apply || Property
|-
|-
|
|
Line 314: Line 317:
| [[Property:P26]] || language || Declare the language || Items
| [[Property:P26]] || language || Declare the language || Items
|-
|-
|}




|}
Items using '''[[Property:P37|property for this type]]''' and what properties they link to:
 
{{#widget:SPARQLquery|code=
#defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?item ?itemLabel ?property ?propertyLabel ?rgb ?shape
where {
  ?item wdt:P37 ?property.
  BIND("box" as ?shape).
  BIND("E0EFFF" as ?rgb).
  service wikibase:label { bd:serviceParam wikibase:language "en".}
}
}}


= Useful Pages =
= Useful Pages =
* [[DebugQueries]]
* [[DebugQueries]]
* [https://query.graphit.ur.de/| Query Service]
* [https://query.graphit.ur.de/| Query Service]

Latest revision as of 09:02, 29 October 2024

A Documentation of the structure behind the Graph.

Graph Structure

Simple overview of the graph structure

Topic

A topic describes a learning content. (As most items in the graph are topics, their type/class is not explicitly defined.) It uses subclass of to link to a defined Category, that is used to group topics. A depends on link from one topic to another indicates that the other topic is necessary prerequisite knowledge. A related to link indicates a similar topic. Additionally for each topic, resources can be associated with resource.

A short overview of possible links:

Topic subclass of Category
Topic depends on Prerequisite (another item)
Topic related to Equivalent (another item)
Topic resource Resource
Topic instance of Application

Additionally an item can be defined further by linking an importance-item using importance. This can be done as simple link or as an added value to a property. See Section: Importance

Resources

A Resource is an item that contains a link to some resource (property: url) hosted on the Wiki or on another platform. It usually is an instance of a Resource Class, as seen below.

All classes that a resource can be an instance of

A short overview:

Resource url URL
Resource instance of Resource Class

See: Item:Q280 as an example and Resource to reference a dummy element

Category

A general category, such as "Mathematical Foundations"; used to group topics.

A short overview:

Category-Item instance of Category

Course of Study

This item describes the course of a study path and bundles the set of courses that are included in that path. This is used for example to display the path through a major that a student is enrolled in and what lectures or courses are part of the program.


A specific Course of Study is declared by making it an instance of the Course of Study-Item and then linking a course to it using the includes-property.

Course of Study-Item instance of Course of Study
Course of Study-Item includes Course-Item


Connecting items to a course (of study)

TODO: example

Course

A course encompasses a collection of learning contents. To declare an item as a Course use instance of. It is the equivalent of a course officially taught by the university that a student enrolls in.


Futhermore a course can include several other items, such as a Session-Item, a Category-Item or any learning content-Item directly. This structure can later be used to help classify which course an item can belong to.


The diagram on the left gives a simple illustration of how this graph structure works.


A short overview:

Course instance of Course
Course taught by Educator
Course includes Session item
Course includes Learning Content
Course includes Category item

See: Item:Q171 as an example.

A course can include multiple Sessions, as seen below. These may be used to structure the course contents.

Session

A Session allows grouping multiple items that are discussed within an actual course session.

The Sessions and their topics for the CGBV-course

See: Item:Q248 as an example.

A short overview:

Session-Item instance of Session
Session-Item includes Item
Course-Item on date Date

Coursework

Defines work that is to be done for a course, such as mandatory exercises or exams. An item is marked as coursework by making it an instance of Coursework.

It can be used to create a Template:Learning Path using syntax like:

{{Learning Path|quiz=wd:Q451}}.

A short overview:

Course Work-Item url URL
Course Work-Item instance of Course Work
Course Work-Item importance Importance-Item
Course Work-Item includes Item
Course Work-Item language Language-Item

See: Item:Q451 as an example.

People

Student

The role of a student is declared by linking from an item to Student using instance of. The student then can link their item to others using interested in and has completed to organize their interests and progress.

A short overview:

Student-Item instance of Student
Student-Item interested in Item
Student-Item has completed Item
Student-Item participates in Course, Session

See: Item:Q157 as an example.

Educator

The role of an educator is declared by linking from an item to Educator using instance of.

See: Item:Q158 as an example.

Importance

An items that describes an importance to learn a learning content. It's linked to using importance.

Item importance Mandatory
Item importance Essential
Item importance Recommended
Item importance Optional

Properties

List of Properties

Important Properties:

Property Name Used for Links to →
Property:P1 depends on Prerequisites Learning contents
Property:P2 subclass of Grouping items into Topics Categories
Property:P3 instance of Abstract Classes Category
Property:P4 related to Equivalents Learning contents
Property:P14 includes Making a list of items Learning Contents, Sessions
Property:P37 properties for this type List of properties that apply Property
Property:P21 resource Link to a resource Resources
Property:P20 url save a URL URL
Property:P11 image declare images for items Image (from Wikimedia Commons)
Property:P12 has completed Completion Learning Contents, (Sessions, Courses)
Property:P23 interested in Declare interests Learning contents
Property:P25 participates in Participation Courses, Sessions
Property:P13 importance Declaring importance Learning contents
Property:P16 created by Author Person
Property:P17 modified by Author Person
Property:P22 certified by Author Educator
Property:P24 taught by Author Educator
Property:P19 on date Timeliness Date
Property:P15 comment Note something String
Property:P26 language Declare the language Items


Items using property for this type and what properties they link to:

Useful Pages