Student Use: Difference between revisions
(→A direct learning path: updated run query to be executed in different tab) |
m (→Path to interest: update for shape) |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
PREFIX wd: <https://graphit.ur.de/entity/> | PREFIX wd: <https://graphit.ur.de/entity/> | ||
SELECT ?item1 ?image ?item1Label ?item2 ?image2 ?item2Label ?edgeLabel ? | SELECT ?item1 ?image ?item1Label ?item2 ?image2 ?item2Label ?edgeLabel ?rgb1 ?shape1 WHERE { | ||
?item1 rdfs:label "{{#username:Max Mustermann}}"@en. | ?item1 rdfs:label "{{#username:Max Mustermann}}"@en. | ||
Line 30: | Line 30: | ||
if(?prop = wdt:P12, "e3ffd9", # has completed (green) | if(?prop = wdt:P12, "e3ffd9", # has completed (green) | ||
if(?prop = wdt:P23, "ffeec2", # interested in (orange) | if(?prop = wdt:P23, "ffeec2", # interested in (orange) | ||
"FFFFFF" ))) as ? | "FFFFFF" ))) as ?rgb1). | ||
bind("ellipse" as ?shape1). | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
Line 47: | Line 48: | ||
PREFIX wd: <https://graphit.ur.de/entity/> | PREFIX wd: <https://graphit.ur.de/entity/> | ||
SELECT DISTINCT ?item2 ?item2Label ? | SELECT DISTINCT ?item2 ?item2Label ?rgb1 ?shape1 ?dependency ?dependencyLabel ?item1 ?item1Label ?edgeLabel | ||
WHERE { | WHERE { | ||
?item1 rdfs:label "{{#username:Max Mustermann}}"@en. | ?item1 rdfs:label "{{#username:Max Mustermann}}"@en. | ||
Line 57: | Line 58: | ||
?edge ?dummy ?prop ; rdf:type wikibase:Property. # edge labels | ?edge ?dummy ?prop ; rdf:type wikibase:Property. # edge labels | ||
BIND ("ffeec2" as ? | BIND ("ffeec2" as ?rgb1). | ||
BIND ("ellipse" as ?shape1). | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } |
Latest revision as of 14:15, 9 April 2024
This page gives you (as a student user) an overview of your use of the graph.
How to
To use this page all you need to do is log in and this page should display the information connected to your personal item. Otherwise it will display the example student Max Mustermann.
NOTE: Your username needs to be the same as the english label of your personal item. For further information on how to do this you can check the ExampleStudent or CGBV page. Or you can take a direct look at the Max Mustermann item.
Your Graph
An Overview
This query gives an overview of all items that you have linked to from your personal item.
It shows the courses that you participate in. The items that you have completed. And the items that you are interested in.
Path to interest
The query returns a small learning path that shows you all items that you are interested in and their direct prerequisites.
Coursework
This query gives an overview of all courseworks to be done for the courses that you participate in.
It shows the completed coursework. And the, yet to be completed, but mandatory coursework.
A direct learning path
This query will give you a full learning path to an item. Meaning that the given graph will contain all prerequisites to the wanted item, as well as the direct postrequisites.
Input a custom value or just run the query to see an example. (Note: Autocomplete not currently working.)