Student Use: Difference between revisions

(created page)
 
(added: An Overview)
Line 9: Line 9:
'''NOTE:''' Your ''username'' needs to be <u>the same</u> as the ''english label'' of your personal item. For further information on how to do this you can check the [[ExampleStudent#A_Student|ExampleStudent]] or [[Courses/CGBV#Erste_Schritte_mit_GraphIT|CGBV]] page. Or you can take a direct look at the [[Item:Q157|Max Mustermann]] item.
'''NOTE:''' Your ''username'' needs to be <u>the same</u> as the ''english label'' of your personal item. For further information on how to do this you can check the [[ExampleStudent#A_Student|ExampleStudent]] or [[Courses/CGBV#Erste_Schritte_mit_GraphIT|CGBV]] page. Or you can take a direct look at the [[Item:Q157|Max Mustermann]] item.
</div>
</div>
= Your Graph =
== An Overview ==
This query gives an overview of all items that you have linked to from your personal item.
{{#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 {
  ?item1 rdfs:label "{{#username:Max Mustermann}}"@en.
 
  ?item1 ?prop ?item2.
  #?edge ?dummy ?prop ; rdf:type wikibase:Property.
 
  MINUS {?item wdt:P3 ?item2}.
  # 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". }
} |caption=An overview of all linked items for {{#username:Max Mustermann}}
}}
{| class="mw-collapsible mw-collapsed wikitable"
! Explanation !! Link
|- style="background-color:#e8fcff"
| A Course you || — [[Property:P25|participate in]] &rarr;
|- style="background-color:#e3ffd9"
| An Item that you have || — [[Property:P12|completed]] &rarr;
|- style="background-color:#ffeec2"
| An Item that you are || — [[Property:P23|interested in]] &rarr;
|}

Revision as of 13:15, 9 October 2023

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.

An overview of all linked items for Max Mustermann

Explanation Link
A Course you participate in
An Item that you have completed
An Item that you are interested in