Userpage: Difference between revisions
(add user graph (test)) |
(add link to editor) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
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= | {{#widget:SPARQLquery|code= | ||
Line 9: | Line 10: | ||
PREFIX wd: <https://graphit.ur.de/entity/> | PREFIX wd: <https://graphit.ur.de/entity/> | ||
SELECT ? | 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. | ||
#?edge ?dummy ?prop ; rdf:type wikibase:Property. | MINUS {?student wdt:P3 ?item}. # remove self-reference | ||
MINUS {? | |||
# Color Coding: | # Color Coding: | ||
Line 25: | Line 24: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
} |caption=An | } 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> | <noinclude> | ||
Autmatically included in a somebodies Userpage via a sign-in script | |||
* param 1 == Username | * param 1 == Username | ||
* param 2 == QID | * param 2 == QID | ||
</noinclude> | </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
Interested Items | Completed Items |
---|---|
Autmatically included in a somebodies Userpage via a sign-in script
- param 1 == Username
- param 2 == QID