Courses/Wissenschaftliches Arbeiten SS24: Difference between revisions

(→‎Überblick: added link to full course query)
(→‎Aufgaben: update query to now preview "next week")
Line 114: Line 114:
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wdt: <https://graphit.ur.de/prop/direct/>
PREFIX wd: <https://graphit.ur.de/entity/>
PREFIX wd: <https://graphit.ur.de/entity/>
select distinct ?interested ?completed
select distinct ?today ?sessionDate ?interested ?completed
?item ?itemLabel  
?item ?itemLabel  
# ?resource  
# ?resource  
?resourceLabel ?url
?resourceLabel ?url
where {
where {
   {
{ SELECT * WHERE {
       # get all items included in the session
  # Get the next session from today
       wd:Q734 wdt:P14 ?item.
   { SELECT ?session  ?today ?sessionDate WHERE {
        OPTIONAL {?item wdt:P21 ?resource.
      # get all sessions, that are "bigger" than today
      BIND("2023-10-30"^^xsd:dateTime as ?today) # for test
      # BIND(now() as ?today) # for real
 
      wd:Q468 wdt:P14 ?session.
      ?session wdt:P3 wd:Q427.
      ?session wdt:P19 ?sessionDate.
      FILTER(?sessionDate > ?today).
  } LIMIT 1 } # only return the first session
       # get all items included in the specified session
       { ?session wdt:P14 ?item.
      OPTIONAL {?item wdt:P21 ?resource.
                   ?resource wdt:P20 ?url.}
                   ?resource wdt:P20 ?url.}
  } UNION {
      } UNION {
  # bind ?completed to true/false
        # get all items, that a user has marked as "interested in" and BIND to "true/false"
    { SELECT ?item ?itemLabel WHERE {
        { SELECT ?item ?itemLabel WHERE {
      ?user rdfs:label "{{#username:Max Mustermann}}"@en.
          ?user rdfs:label "{{#username:Max Mustermann}}"@en.
      # BIND (wd:Q315 as ?user)
          ?user wdt:P23 ?item.
      ?user wdt:P12 ?item.
          wd:Q734 wdt:P14 ?item.
      wd:Q734 wdt:P14 ?item.
        } }
    } }
        BIND(IF(BOUND(?item), "true", "false") as ?interested)
    # if ?temp = completion exists bind ?completed as "true"
      } UNION {
    BIND(IF(BOUND(?item), "true", "false") as ?completed)
        # get all items, that a user has marked as "completed" and BIND to "true/false"
  } UNION {
      { SELECT ?item ?itemLabel WHERE {
    # bind ?interested to true/false
          ?user rdfs:label "{{#username:Max Mustermann}}"@en.
    { SELECT ?item ?itemLabel WHERE {
          ?user wdt:P12 ?item.
      ?user rdfs:label "{{#username:Max Mustermann}}"@en.
          wd:Q734 wdt:P14 ?item.
      ?user wdt:P23 ?item.
        } }
      wd:Q734 wdt:P14 ?item.
        BIND(IF(BOUND(?item), "true", "false") as ?completed)
    } }
      } 
    BIND(IF(BOUND(?item), "true", "false") as ?interested)
}
  }
}
   service wikibase:label { bd:serviceParam wikibase:language "en".}
   service wikibase:label { bd:serviceParam wikibase:language "en".}
}  
} LIMIT 50
| caption=Eine Todolist für {{#username:Max Mustermann}}
| caption=Eine Todolist für {{#username:Max Mustermann}}
}}
}}
</div>
</div>

Revision as of 16:30, 25 March 2024

✒️ Note: This page is currently only available in german.


Seminar Wissenschaftliches Arbeiten, Sommersemester 2024

B.A. Medieninformatik, Universität Regensburg.


  • GRIPS Link
  • SPUR Link


Überblick

...hier eine Beschreibung über den Kurs.

Wichtige Themen

Ausführlichere Query

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.


Für eine Graph, der den gesamten Kurs darstellt, klicken Sie hier.


Vorwissen Ziele

Items, die nicht Teil des Kurses, aber Vorwissen für die behandelten Inhalte sind

Query, die die Ziele des Kurses zeigt
Vollbildansicht der Query Link zu Query rechts

Zeitplan

Alle geplanten Termine

Aufgaben

...hier eine Todo-Liste für Vor-/Nachbereitung

Eine Todolist für Max Mustermann