Training:Semantic Technologies in Practice PhD course in Linköping 2012/XD collaborative OE/G1

From Odp

(Difference between revisions)
Jump to: navigation, search
(CQ 1)
(CQ 2)
Line 40: Line 40:
==== CQ 2 ====
==== CQ 2 ====
-
TBD
+
SELECT ?degreeName
 +
WHERE {
 +
?person MedicalDegrees:personName "Pasquale Di Gennaro" .
 +
?attendance MedicalDegrees:attendanceOfPerson ?person .
 +
?attendance MedicalDegrees:attendanceToEducationalProgram ?program .
 +
?attendance MedicalDegrees:attendanceStatus "DEGREE_AWARDED" .
 +
?program MedicalDegrees:programAwardsDegree ?degree .
 +
?degree rdfs:label ?degreeName
 +
}
==== CQ 3 ====
==== CQ 3 ====
TBD
TBD

Revision as of 12:01, 25 September 2012

Contents

Story: Medical Degrees

Competency Questions

  1. When was a person awarded a certain medical degree?
  2. What medical degree does a certain person hold?
  3. Which medical degrees have a certain person studied for?

Contextual Statements

  • A degree is awarded on a single date.
  • A nursing educational program awards a single degree upon completion.
  • Each degree is awarded by completion of only one educational program.
  • An educational program is attended for a certain time period, and can end in either achieving a degree, or dropping out.
  • Persons can attend more than one educational program, either simultaneously or in sequence.

Reasoning Requirements

  • Currently attending a program is implied by having a starting attendance date to the program being earlier than today, and having either no ending date, or a date in the future.

OWL Module

File to be uploaded here..

SPARQL Tests

CQ 1

SELECT ?date
WHERE {
	?person MedicalDegrees:personName "Pasquale Di Gennaro" .
	?attendance MedicalDegrees:attendanceOfPerson ?person .
	?attendance MedicalDegrees:attendanceToEducationalProgram ?program .
	?program rdfs:label "Nursing Assistant Program" .
	?attendance MedicalDegrees:attendanceStatus "DEGREE_AWARDED" .
	?attendance MedicalDegrees:attendanceDuringTime ?timeinterval .
	?timeinterval timeinterval:hasIntervalEndDate ?date
}

CQ 2

SELECT ?degreeName
WHERE {
	?person MedicalDegrees:personName "Pasquale Di Gennaro" .
	?attendance MedicalDegrees:attendanceOfPerson ?person .
	?attendance MedicalDegrees:attendanceToEducationalProgram ?program .
	?attendance MedicalDegrees:attendanceStatus "DEGREE_AWARDED" .
	?program MedicalDegrees:programAwardsDegree ?degree .
	?degree rdfs:label ?degreeName
}

CQ 3

TBD

Personal tools
Quality Committee
Content OP publishers