Jump to content

Courses/ASE 24WS

Revision as of 13:58, 4 November 2024 by Leonie (talk | contribs) (add link to GRIPS/Tutorials)
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.

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.} 
 
 # Get the amount of eng alias found for an item
 {SELECT ?Session (COUNT(?alias) AS ?aliasCount) WHERE {
   ?Session skos:altLabel ?alias.
   FILTER (LANG(?alias) = "en").
 } GROUP BY ?Session
 }
 
 # 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 upcomming 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 }}

Erste Schritte mit GraphIT

  1. GraphIT-Account einrichten
    1. Account anlegen (gerne mit Pseudonym oder Initialen): Special:CreateAccount.
    2. Einen Graph User (einfach ein Item) mit gleichem Namen anlegen (siehe z.B. das Item Q630: Markus Mustermann):
      1. auf Special:NewItem gehen oder oben im Menü "Items → New Item" auswählen.
      2. Label (für Sprache Englisch): <eigener Name>
      3. 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
      4. Button 'Create' anklicken
    3. Statements beim Benutzer-Item hinzufügen (siehe z.B. das Item Q630: Markus Mustermann):
      1. 'instance of' (P3) + 'Student' (Q167)
      2. 'username' (P28) + Benutzernamen (siehe Schritt 1)
      3. 'participates in' (P25) + ASE WS 2024 (Q1022)
    4. Auf der eigenen Benutzerseite (des Accounts) einen Link zum eigenen Item anlegen:
      1. Benutzerseite anlegen/bearbeiten
      2. Folgenden Text dort einfügen und Seite speichern (mit eigenem Item statt Platzhalter): My GraphIT item: [[Item:Q123]]. Achtung: das Item muss ein Link sein, d.h. entweder im grafischen Editor verlinken oder im Quellcode-Editor in eckigen Klammern schreiben.
  2. Vorkenntnisse und Interessen angeben
    1. 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.
    2. Oben rechts die Lehrveranstaltung "ASE 24WS" auswählen.
    3. Im angezeigten Graph die damit verbundenen Themen anschauen.
    4. 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).
    5. Mindestens fünf Themen als Interessen markieren (auswählen und Taste '2' drücken bzw. den Button auf der rechten Seite).
    6. Änderungen speichern über den 'save'-Button unten rechts!
    7. Auf der eigenen Item-Seite überprüfen ob die Interessen und Vorkenntnisse korrekt dokumentiert wurden.

Als ein Beispiel kann Max Mustermann angesehen werden. Für eine detailiertere Übersicht kann die Seite ExampleStudent besucht werden.