GraphStructure: Difference between revisions

(→‎Basic Structure: added docu for several items)
(added: Student)
Line 7: Line 7:
A basic item describes a ''learning content''. It uses [[Property:P2|subclass of]] to link to a defined [[Item:Q169|Cateogory]], that is used to group topics. Items are linked between each other with [[Property:P1|depends on]] to define an item that defines some previous knowledge, or [[Property:P21|related to]] to link to a similar item. Additionally they link to resources with [[Property:P21|resource]].
A basic item describes a ''learning content''. It uses [[Property:P2|subclass of]] to link to a defined [[Item:Q169|Cateogory]], that is used to group topics. Items are linked between each other with [[Property:P1|depends on]] to define an item that defines some previous knowledge, or [[Property:P21|related to]] to link to a similar item. Additionally they link to resources with [[Property:P21|resource]].


'''A short overview:'''
'''A short overview of possible links:'''


{| class="wikitable" style="margin:auto; text-align:center;"
{| class="wikitable" style="margin:auto; text-align:center;"
Line 18: Line 18:
|-
|-
| Item || — [[Property:P21|resource]] →  || [[Item:Q446|Resource]]
| Item || — [[Property:P21|resource]] →  || [[Item:Q446|Resource]]
|-
| Item ||  — [[Property:P3|instanc of]] → || [[Item:Q353|Application]]
|-
|}
|}


Line 83: Line 86:
| Course-Item || — [[Property:P3|instance of]] → || [[Item:Q170|Course]]
| Course-Item || — [[Property:P3|instance of]] → || [[Item:Q170|Course]]
|-
|-
| Course-Item || — [[Property:P24|taught by] → || [[Item:Q168|Educator]]
| Course-Item || — [[Property:P24|taught by]] → || [[Item:Q168|Educator]]
|-
|-
| Course-Item || — [[Property:P14|includes]] → || [[Item:Q427|Session]]
| Course-Item || — [[Property:P14|includes]] → || [[Item:Q427|Session]]
Line 119: Line 122:
| Session-Item || — [[Property:P3|instance of]] → || [[Item:Q427|Session]]
| Session-Item || — [[Property:P3|instance of]] → || [[Item:Q427|Session]]
|-
|-
| Session-Item || — [[Property:P14|includes] → || Item
| Session-Item || — [[Property:P14|includes]] → || Item
|-
|-
| Course-Item || — [[Property:P19|on date]] → || Date
| Course-Item || — [[Property:P19|on date]] → || Date
Line 126: Line 129:
== People ==
== People ==
=== Student ===
=== Student ===
The role of a student is declared by linking from an item to [[Item:Q167|Student]] using [[Property:P3|instance of]]. The student then can link their item to others using [[Property:P23|interested in]] and [[Property:P12|has completed]] to organize their interests and progress.
'''A short overview:'''
{| class="wikitable" style="margin:auto; text-align:center;"
|-
| Student-Item || — [[Property:P3|instance of]] → || [[Item:Q167|Student]]
|-
| Student-Item || — [[Property:P23|interested in]] → || Item
|-
| Student-Item || — [[Property:P12|has completed]] → || Item
|}
See: [[Item:Q315]] as an example.
{{#widget:SPARQLquery|code=
#defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?item ?itemLabel ?interest ?interestLabel ?complete ?completeLabel ?edgeLabel ?edgeLabel2
where {
 
  bind (wd:Q315 as ?item).
  ?item wdt:P3 ?category.
  ?item wdt:P23 ?interest.
  ?item wdt:P12 ?complete.
 
  ?property a wikibase:Property;
          wikibase:directClaim wdt:P23.
  service wikibase:label { bd:serviceParam wikibase:language "en".
                          ?item rdfs:label ?itemLabel.
                          ?interest rdfs:label ?interestLabel.
                          ?complete rdfs:label ?completeLabel.
                          ?property rdfs:label ?edgeLabel.
                        }
}
}}
NOTE: Query currently only shows one property label, the other would be "has completed".
=== Educator ===
=== Educator ===



Revision as of 10:04, 26 August 2023

A Documentation of the structure behind the Graph.

Graph Structure

Basic Item

A basic item describes a learning content. It uses subclass of to link to a defined Cateogory, that is used to group topics. Items are linked between each other with depends on to define an item that defines some previous knowledge, or related to to link to a similar item. Additionally they link to resources with resource.

A short overview of possible links:

Item subclass of Category
Item depends on Prerequisite
Item related to Equivalent
Item resource Resource
Item instanc of Application

Additionally an item can be closer defined by linking an importance-item using importance. This can be done as simple link or as an added value to a property.


Resources

A Resource is an item that is defined by the Properties url to link to an external site and instance of a structure-item, as seen below.

A short overview:

Resource url URL
Resource instance of Structure-Item

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

A Course can include

Course

A course encompasses a collection of learning contents. To declare an item as a Course use instance of.

A short overview:

Course-Item instance of Course
Course-Item taught by Educator
Course-Item includes Session

See: Item:Q170 as an example. A course can include a Session, as seen below:

Session

A Session acts as a possibility to group several items that will be discussed during an actual course session.

See: Item:Q248 as an example.

A short overview:

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

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

See: Item:Q315 as an example.

NOTE: Query currently only shows one property label, the other would be "has completed".

Educator

Elements

Properties

List of Properties

Items

An item uses Property with Item that declares
Markers Property:P3 - instance of Item:Q169 - Category a general category or group
Item:Q100 Property:P21 - resource Item:Q399 a resource

Useful Pages