Courses/Propaedeutikum MI 26: Difference between revisions

No edit summary
No edit summary
Line 6: Line 6:
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wdt: <https://graphit.ur.de/prop/direct/>


SELECT DISTINCT ?session ?sessionLabel ?dependency ?dependencyLabel ?rgb WHERE {
SELECT DISTINCT ?session ?sessionLabel ?rgb ?dependency ?dependencyLabel WHERE {
   wd:Q3244 wdt:P14 ?session.
   wd:Q3244 wdt:P14 ?session.
   BIND(wd:Q3244 AS ?dependency)
   BIND(wd:Q3244 AS ?dependency)
   BIND("2ca02c" AS ?rgb)
 
    
   BIND(xsd:integer(STRAFTER(STR(?session), "Q")) AS ?qnum)
  BIND(xsd:integer(?qnum - (20 * FLOOR(?qnum/20))) AS ?colorIndex)
 
VALUES (?colorIndex ?rgb) {
        (0  "e3ffd9") # green
        (1  "ffeec2") # orange
        (2  "f4eff5") # purple
        (3  "F9DCDF") # pink
        (4  "E7DEDA") # brown
        (5  "ECEDFF") # lavender
        (6  "FEFFC2") # yellow
        (7  "F1FFCE") # light green
        (8  "D8FDE0") # green (mint)
        (9  "e8fcff") # blue
        (10 "DCB8A5") # brown-red
        (11 "C8C79B") # beige
        (12 "F0A8AF") # red
        (13 "e6e6e6") # gray
        (14 "D0E1E6") # blue-gray
        (15 "FFE5F1") # light pink
        (16 "E0F7E9") # pale mint
        (17 "FFF0DB") # peach
        (18 "E5E0FF") # periwinkle
        (19 "D9F2FF") # sky blue
   }
 
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}

Revision as of 12:55, 9 July 2026

✒️ This page is currently only available in German.


|

|


To-do: all of our courses pages are in German. Do we want to add English as a second language?

This page will help you create a new course page for GraphIT. First, you need to create a course item and fill it with course materials and dependencies. If you have already done it you can proceed with this site. The template is created using the course 'Computer Graphics and Image Processing' in the summer semester 2024, QID: Q932 as an example. You will need to change the course QID everywhere for the visualizations to work for your new course.

Kurs Platzhalter, Semester, Jahr

Studiengang, Universität Regensburg.

Add some links relevant for the course.


Some tips for the visualizations. You can re-use existing SPARQL queries originally created by LS for your own courses. Note that you can link the SPARQL and its embeded visualization directly.

Consider a link to the "Wichtige Themen" query. https://query.graphit.ur.de/index.html#%23defaultView%3ABubbleChart%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20DISTINCT%20%3Fprerequisite%20%3FprerequisiteLabel%20%3Fdependencies%0AWHERE%20%7B%0A%20%20wd%3AQ926%20wdt%3AP14*%20%3Fitem.%0A%20%20%7B%0A%20%20SELECT%20%3Fprerequisite%20%3FprerequisiteLabel%20(COUNT(DISTINCT%20%3Fitem)%20as%20%3Fdependencies)%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP1%20%3Fprerequisite.%0A%20%20%7D%20GROUP%20BY%20%3Fprerequisite%20%3FprerequisiteLabel%20%0A%20%20%7D%0A%20%20%23%20filter%20(%3Fdependencies%20%3E%3D4)%20%0A%20%20%3Fitem%20wdt%3AP1%20%3Fprerequisite.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D

if you change "index" to "embed" you will proceed to the visualization directly.

https://query.graphit.ur.de/embed.html#%23defaultView%3ABubbleChart%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20DISTINCT%20%3Fprerequisite%20%3FprerequisiteLabel%20%3Fdependencies%0AWHERE%20%7B%0A%20%20wd%3AQ926%20wdt%3AP14*%20%3Fitem.%0A%20%20%7B%0A%20%20SELECT%20%3Fprerequisite%20%3FprerequisiteLabel%20(COUNT(DISTINCT%20%3Fitem)%20as%20%3Fdependencies)%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP1%20%3Fprerequisite.%0A%20%20%7D%20GROUP%20BY%20%3Fprerequisite%20%3FprerequisiteLabel%20%0A%20%20%7D%0A%20%20%23%20filter%20(%3Fdependencies%20%3E%3D4)%20%0A%20%20%3Fitem%20wdt%3AP1%20%3Fprerequisite.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D

Überblick

ein kurzer Satz über den Kurs

Wichtige Themen

Ausführlichere Query

Some general infos:

In den dazugehörigen Übungen werden Vorlesungsthemen vertieft und praktisch umgesetzt.