Jump to content

Courses/ASE 24WS: Difference between revisions

Leonie (talk | contribs)
→Timetable: fix alias query
Fabian (talk | contribs)
 
Line 270: Line 270:


==Erste Schritte mit GraphIT==
==Erste Schritte mit GraphIT==
#'''GraphIT-Account einrichten'''
[https://graphit.ur.de/wiki/First_Steps Hier] kann man sich eine Anleitung für die ersten Schritte mit GraphIT anschauen.
##Account anlegen (gerne mit Pseudonym oder Initialen): [[Special:CreateAccount]].
##Einen ''Graph User'' (einfach ein Item) mit gleichem Namen anlegen (siehe z.B. das Item Q630: [[Item:Q630|Markus Mustermann]]):
###auf [[Special:NewItem]] gehen oder oben im Menü "Items → New Item" auswählen.
###Label (für Sprache Englisch): ''<eigener Name>''
###Description (für Sprache Englisch): ''Student at University of Regensburg (<eigener Name>)''  // Hinweis: in WikiBase dürfen unterschiedliche Items nicht die gleiche Beschreibung haben, deshalb bitte den eigenen Namen noch dranhängen
###Button 'Create' anklicken
##Statements ''beim Benutzer-Item'' hinzufügen (siehe z.B. das Item Q630: [[Item:Q630|Markus Mustermann]]):
###'[[Property:P3|instance of]]' (P3) + '[[Item:Q167|Student]]' (Q167)
###'[[Property:P28|username]]' (P28) + Benutzernamen (siehe Schritt 1)
###'[[Property:P25|participates in]]' (P25) + [[Item:Q1022|ASE WS 2024]] (Q1022)
##Auf der eigenen Benutzerseite (des Accounts) einen Link zum eigenen Item anlegen:
###[https://graphit.ur.de/w/index.php?title=Special:MyPage&action=edit Benutzerseite anlegen/bearbeiten]
###Folgenden Text dort einfügen und Seite speichern (mit eigenem Item statt Platzhalter): <code><nowiki>My GraphIT item: [[Item:Q123]]</nowiki></code>. Achtung: das Item muss ein Link sein, d.h. entweder im grafischen Editor verlinken oder im Quellcode-Editor in eckigen Klammern schreiben.
#'''Vorkenntnisse und Interessen angeben'''
##Auf https://test.graphit.ur.de/app/src/pages/selectionTools/ einmal mit Benutzername und Passwort (aus Schritt 1) anmelden. Achtung: das Passwort wird momentan beim Eintippen angezeigt.
##Oben rechts die Lehrveranstaltung "ASE 24WS" auswählen.
##Im angezeigten Graph die damit verbundenen Themen anschauen.
##Alle Themen als "completed" markieren, mit denen man sich schon befasst hat (auswählen und Taste '1' drücken bzw. den Button auf der rechten Seite).
##Mindestens fünf Themen als Interessen markieren (auswählen und Taste '2' drücken bzw. den Button auf der rechten Seite).
##'''Änderungen speichern über den 'save'-Button unten rechts!'''
##Auf der eigenen Item-Seite überprüfen ob die Interessen und Vorkenntnisse korrekt dokumentiert wurden.
Als ein Beispiel kann [[Item:Q157|Max Mustermann]] angesehen werden. Für eine detailiertere Übersicht kann die Seite [[ExampleStudent]] besucht werden.

Latest revision as of 10:11, 10 August 2026

Kurs Advanced Software Engineering, Wintersemester 24/25

M.Sc. Medieninformatik, Universität Regensburg.



Overview

The course gives an overview of current issues and trends in Software Engineering.


Important Topics
code=
  1. defaultView:BubbleChart

PREFIX wd: <https://graphit.ur.de/entity/> PREFIX wdt: <https://graphit.ur.de/prop/direct/> SELECT DISTINCT ?category ?categoryLabel ?items WHERE {

 wd:Q1022 wdt:P14 ?category.
 ?category wdt:P3 wd:Q169.
 
 {
 SELECT ?category ?categoryLabel (COUNT(DISTINCT ?item) as ?items) WHERE {
   ?category wdt:P14 ?item.
 } GROUP BY ?category ?categoryLabel 
 }
 filter (?items>=8) 
 
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

}

height=15em

}}

Full Query

It discusses strategies, patterns and automations to help develop and maintain complex software.


The course includes bi-weekly practice sessions to teach the students practical skills using excercises and examples.

At the end of the semester each student has to turn in a project, in which they use their new found skills in developing a small contained application.


For a graph showing the full course click here.

For a graph showing the goals of the course and their immediate prerequisites click here.

Required Knowledge Goals
{{#widget:SPARQLquery|code=
  1. defaultView:Table
  2. Prerequsisite=outside -depends on-> Course-Topic=inside

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?Vorwissen ?VorwissenLabel where {

 wd:Q1022 wdt:P14/wdt:P14 ?item. # get all items in course
 
 ?item wdt:P1 ?Vorwissen. # get the prerequsites
 MINUS { wd:Q1022 wdt:P14/wdt:P14 ?Vorwissen. } # filter out all prereqs that are included in the course

 service wikibase:label { bd:serviceParam wikibase:language "en".}

} LIMIT 30

caption= Items, not part of the Course, but that are required knowledge height=20vh

}}

{{#widget:SPARQLquery|code=
  1. defaultView:Table

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> SELECT DISTINCT ?ZielLabel ?Ziel where {

 wd:Q1022 wdt:P36 ?Ziel.
 service wikibase:label { bd:serviceParam wikibase:language "en".}

} LIMIT 20

caption=Items, marked as goals height=20vh

}}

Full screen view of the Query Full screen view of the Query


Timetable

{{#widget:SPARQLquery|code=

  1. defaultView:Timeline

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?Datum ?Session ?SessionLabel # ?Inhalte ?InhalteLabel where {

 # todo. change Q:468 to current course
 wd:Q1022 wdt:P14 ?Session.
 ?Session wdt:P3 wd:Q427. 
 ?Session wdt:P19 ?Datum. 
 # OPTIONAL {?Session wdt:P14 ?Inhalte.} 
 
 # re-get the alias as ?SessionLabel (for the links)
 ?Session skos:altLabel ?SessionLabel.
 FILTER (LANG(?SessionLabel) = "de").
 
 # Filter out all descriptive alias (aka. don't use a "[Course] - 01a"-type label)
 OPTIONAL {
   ?Session skos:altLabel ?alt.
   FILTER (!regex(?alt, "ASE", "i"))
   FILTER (LANG(?alt) = "en")  # Ensure the alias is in English
 } # and save them in a different var
 
 # Default to the normal alias, but use the descriptiv one if it exists
 BIND(IF (?aliasCount > 1, ?alt, ?alias) as ?SessionLabel)
 
 service wikibase:label { bd:serviceParam wikibase:language "en".}

} ORDER BY ASC(?Datum) LIMIT 50 | height=38em | caption=Planned Sessions }}

Interests & Knowledge

A graph showing the items students have marked as "interesting" or "known".

{{#widget:SPARQLquery| code=

  1. defaultView:SwarmScatterChart

PREFIX wd: <https://graphit.ur.de/entity/> PREFIX wdt: <https://graphit.ur.de/prop/direct/>

SELECT DISTINCT ?known ?interests ?itemLabel # ?known ?interests ?item ?itemLabel WHERE {

 wd:Q1022 wdt:P14* ?item.
 OPTIONAL {
   SELECT ?item ?itemLabel (COUNT(DISTINCT ?student) as ?known) WHERE {
     ?student wdt:P25 wd:Q1022.
     ?student wdt:P12 ?item.
   } GROUP BY ?item ?itemLabel
 }
 OPTIONAL {
   SELECT ?item ?itemLabel (COUNT(DISTINCT ?student) as ?interests) WHERE {
     ?student wdt:P25 wd:Q1022.
     ?student wdt:P23 ?item.
   } GROUP BY ?item ?itemLabel
 }.
 BIND (IF(!BOUND(?interests), 0, ?interest) as ?interests).
 BIND (IF(!BOUND(?known), 0, ?known) as ?known).
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

} }}

Preview

A list of things to be discussed in the upcoming session.

{{#widget:SPARQLquery| code=

  1. defaultView:Table

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?today ?sessionDate ?interested ?completed ?item ?itemLabel ?resource ?resourceLabel ?url ?type ?typeLabel where {

 { # subquery: get the session for next week
   SELECT ?session  ?today ?sessionDate 
   WHERE {
     # get all sessions, that are "bigger" than today
     # BIND("2024-04-29"^^xsd:dateTime as ?today) # for test
     BIND(now() as ?today) # for real
 
     wd:Q1022 wdt:P14 ?session.
     ?session wdt:P3 wd:Q427.
     ?session wdt:P19 ?sessionDate.
     # FILTER(?sessionDate > ?today).
     FILTER(xsd:date(?sessionDate) >= xsd:date(?today)).
   } ORDER BY ASC(?sessionDate) 
   LIMIT 1 # limit to 1 session 
 } # end of subquery
 
 # limit to 1 session (from subquery)
 ?session wdt:P14 ?item.
 OPTIONAL {?item wdt:P21 ?resource.
           ?resource wdt:P20 ?url.
           ?resource wdt:P3 ?type}
 
   { # start of union
     {  # get all items user is interested in 
     SELECT ?item ?itemLabel 
     WHERE {
         ?user rdfs:label "{{#username:Max Mustermann}}"@en.
         ?user wdt:P23 ?item.
     } }
     BIND(IF(BOUND(?item), "true", "false") as ?interested)
  } UNION {
     { # get all items user has completed
     SELECT ?item ?itemLabel 
     WHERE {
         ?user rdfs:label "{{#username:Max Mustermann}}"@en.
         ?user wdt:P12 ?item.
     } }
     BIND(IF(BOUND(?item), "true", "false") as ?completed)
  } UNION { # union: get all other items
     ?session wdt:P14 ?item.
     ?user rdfs:label "{{#username:Max Mustermann}}"@en.
     # Remove all item user is interested in / has completed -> otherwise duplicates
     MINUS {?user wdt:P23 ?item}
     MINUS {?user wdt:P12 ?item}
  } # end of union
 
 service wikibase:label { bd:serviceParam wikibase:language "en".}

} ORDER BY DESC(?resource) LIMIT 80 | caption=A Todolist for {{#username:Max Mustermann}} | height=30em }}

Additional Learning

Items, that are part of the course, but are not included in a Session. Meaning that they either weren't discussed, or weren't discussed in depth. {{#widget:SPARQLquery|code=

  1. defaultView:Table

PREFIX wdt: <https://graphit.ur.de/prop/direct/> PREFIX wd: <https://graphit.ur.de/entity/> select distinct ?category ?categoryLabel ?item ?itemLabel where {

 # get all items in categories
 wd:Q1022 wdt:P14 ?category.
 ?category wdt:P3 wd:Q169.
 ?category wdt:P14 ?item.
 
 MINUS {
   # Remove all items that are included in Sessions
   wd:Q1022 wdt:P14 ?session.
   ?session wdt:P3 wd:Q427.
   ?item ^wdt:P14 ?session.
 }

 service wikibase:label { bd:serviceParam wikibase:language "en".}

} LIMIT 200 | caption=Items not "included in" a Session of the course. }} Or they haven't been added yet.


Erste Schritte mit GraphIT

Hier kann man sich eine Anleitung für die ersten Schritte mit GraphIT anschauen.