Template

Userpage: Difference between revisions

mNo edit summary
(add link to editor)
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:


The user's node (''Item'') in the graph is [[Item:{{{2}}}]]
The user's node (''Item'') in the graph is [[Item:{{{2}}}]]
If this is your first time here, you might want to select topics that are of interest to you - or which you already know - in our [https://test.graphit.ur.de/app/src/pages/selectionTools/ visual graph editor]
{{#widget:SPARQLquery|code=
#defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
SELECT ?student ?studentLabel ?item ?itemLabel ?edgeLabel ?rgb1 ?shape1 WHERE {
  BIND (wd:{{{2|Q157}}} as ?student)
  ?student ?prop ?item.
  # ?edge ?dummy ?prop ; rdf:type wikibase:Property.
  MINUS {?student wdt:P3 ?item}. # remove self-reference
  # 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 ?rgb1).
    bind("ellipse" as ?shape1).
 
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} LIMIT 100
|caption=An Overview of (all) linked items for {{{1|Max Mustermann}}}
}}
{| class="wikitable"
! '''Interested Items''' !! '''Completed Items'''
|-
<!-- Linke Spalte -->
| style="width: 50%" | {{#widget:SPARQLquery|code=
#defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
SELECT DISTINCT
?interest ?interestLabel
WHERE {
  BIND (wd:{{{2|Q157}}} as ?student).
  ?student wdt:P23 ?interest.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
|height=30vh
}}
<!-- Rechte Spalte -->
| style="width: 50%" | {{#widget:SPARQLquery|code=
#defaultView:Table
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
SELECT DISTINCT
?complete ?completeLabel
WHERE {
  BIND (wd:{{{2|Q157}}} as ?student).
  ?student wdt:P12 ?complete.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
|height=30vh
}}
|}
<noinclude>
Autmatically included in a somebodies Userpage via a sign-in script
* param 1 == Username
* param 2 == QID
</noinclude>

Latest revision as of 22:44, 1 December 2024

This is the user page for {{{1}}}.

The user's node (Item) in the graph is [[Item:{{{2}}}]]

If this is your first time here, you might want to select topics that are of interest to you - or which you already know - in our visual graph editor

An Overview of (all) linked items for Max Mustermann


Interested Items Completed Items



Autmatically included in a somebodies Userpage via a sign-in script

  • param 1 == Username
  • param 2 == QID