Medieninformatik BA: Difference between revisions
m (→Empfohlene Fachsemester: added comment in query) |
(→Aufbau des Studiengangs: added query for Module -> (positions) -> course) |
||
Line 86: | Line 86: | ||
service wikibase:label { bd:serviceParam wikibase:language "de".} | service wikibase:label { bd:serviceParam wikibase:language "de".} | ||
} LIMIT 50 |caption= Abhängigkeiten zwischen Modulen, sowie deren Kurse. | } LIMIT 50 |caption= Abhängigkeiten zwischen Modulen, sowie deren Kurse. | ||
}} | |||
== Module, Modulpositionen und Kurse == | |||
Diese Query zeigt alle Module mit notwendigen Modulpositionen (wenn es mehr als eine gibt), und den anhängenden (exemplarischen) Kursen. | |||
{{SPARQL2|query= | |||
#defaultView:Graph | |||
PREFIX wdt: <https://graphit.ur.de/prop/direct/> | |||
PREFIX wd: <https://graphit.ur.de/entity/> | |||
PREFIX p: <https://graphit.ur.de/prop/> | |||
PREFIX ps: <https://graphit.ur.de/prop/statement/> | |||
PREFIX pq: <https://graphit.ur.de/prop/qualifier/> | |||
SELECT DISTINCT | |||
?position ?positionLabel | |||
?module ?moduleLabel ?rgb ?module2 ?module2Label | |||
?course ?courseLabel | |||
WHERE { # Module -> Moduleposition -> Course | |||
{ | |||
# Structure: module -> positions -> course | |||
{ SELECT * WHERE { | |||
wd:Q790 wdt:P14 ?module. | |||
?module wdt:P3 wd:Q791. | |||
?module wdt:P14 ?position. | |||
?position wdt:P14 ?course. | |||
?course wdt:P3 wd:Q170. | |||
# Only show a module position, if there are >1 included in a module. | |||
{ SELECT ?module ?moduleLabel (COUNT(?position) as ?pCount) WHERE { | |||
?module wdt:P14 ?position. | |||
} GROUP BY ?module ?moduleLabel | |||
} | |||
?module wdt:P14 ?position. | |||
FILTER (?pCount > 1). | |||
} } | |||
} UNION { | |||
# Structure: module -> course | |||
{ SELECT ?module ?moduleLabel ?course ?courseLabel ?module2 ?module2Label WHERE { # module -> course | |||
wd:Q790 wdt:P14 ?module. | |||
?module wdt:P3 wd:Q791. | |||
?module wdt:P14 ?position. | |||
?position wdt:P14 ?course. | |||
?course wdt:P3 wd:Q170. | |||
# Filter out all module positions for modules with only one position | |||
{ SELECT ?module ?moduleLabel (COUNT(?position) as ?pCount) WHERE { | |||
?module wdt:P14 ?position. | |||
} GROUP BY ?module ?moduleLabel | |||
} | |||
?module wdt:P14 ?position. | |||
FILTER (?pCount = 1). | |||
# Show the dependencies according to their importance (=qualifier), currently only "Mandatory" (Q324) | |||
OPTIONAL { | |||
?module p:P1 ?statement. | |||
?statement ps:P1 ?module2. | |||
?statement pq:P13 wd:Q324. # exclude this line to show dependencies of diff importance | |||
} | |||
} } | |||
} | |||
BIND (IF(BOUND(?module2), "ffeec2","e3ffd9") as ?rgb) | |||
service wikibase:label { bd:serviceParam wikibase:language "de".} | |||
} LIMIT 50 | |||
}} | }} | ||
Revision as of 10:16, 2 February 2024
Dies ist Übersicht für den Studiengang Medieninformatik (Bachelor of Arts) an der Universität Regensburg.
💡Info! Für direkte Informationen nutzen Sie die offizielle Homepage
Aufbau des Studiengangs
Alternativ:
Module, Modulpositionen und Kurse
Diese Query zeigt alle Module mit notwendigen Modulpositionen (wenn es mehr als eine gibt), und den anhängenden (exemplarischen) Kursen. Items used: Media informatics B.A. UR (Q790), Module (Q791), Course (Q170), Mandatory (Q324)
Properties used: includes (P14), instance of (P3), depends on (P1), importance (P13)
#defaultView:Graph
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
PREFIX p: <https://graphit.ur.de/prop/>
PREFIX ps: <https://graphit.ur.de/prop/statement/>
PREFIX pq: <https://graphit.ur.de/prop/qualifier/>
SELECT DISTINCT
?position ?positionLabel
?module ?moduleLabel ?rgb ?module2 ?module2Label
?course ?courseLabel
WHERE { # Module -> Moduleposition -> Course
{
# Structure: module -> positions -> course
{ SELECT * WHERE {
wd:Q790 wdt:P14 ?module.
?module wdt:P3 wd:Q791.
?module wdt:P14 ?position.
?position wdt:P14 ?course.
?course wdt:P3 wd:Q170.
# Only show a module position, if there are >1 included in a module.
{ SELECT ?module ?moduleLabel (COUNT(?position) as ?pCount) WHERE {
?module wdt:P14 ?position.
} GROUP BY ?module ?moduleLabel
}
?module wdt:P14 ?position.
FILTER (?pCount > 1).
} }
} UNION {
# Structure: module -> course
{ SELECT ?module ?moduleLabel ?course ?courseLabel ?module2 ?module2Label WHERE { # module -> course
wd:Q790 wdt:P14 ?module.
?module wdt:P3 wd:Q791.
?module wdt:P14 ?position.
?position wdt:P14 ?course.
?course wdt:P3 wd:Q170.
# Filter out all module positions for modules with only one position
{ SELECT ?module ?moduleLabel (COUNT(?position) as ?pCount) WHERE {
?module wdt:P14 ?position.
} GROUP BY ?module ?moduleLabel
}
?module wdt:P14 ?position.
FILTER (?pCount = 1).
# Show the dependencies according to their importance (=qualifier), currently only "Mandatory" (Q324)
OPTIONAL {
?module p:P1 ?statement.
?statement ps:P1 ?module2.
?statement pq:P13 wd:Q324. # exclude this line to show dependencies of diff importance
}
} }
}
BIND (IF(BOUND(?module2), "ffeec2","e3ffd9") as ?rgb)
service wikibase:label { bd:serviceParam wikibase:language "de".}
} LIMIT 50
Empfohlene Fachsemester