Skip to content

Commit

Permalink
Update select_all_AnnotationOfQuestionTranslation.rq
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese authored Sep 22, 2023
1 parent 7332d84 commit 3bcbc48
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
PREFIX qa: <http://www.wdaqua.eu/qa#>
PREFIX oa: <http://www.w3.org/ns/openannotation/core/>

SELECT ?a ?translation ?time
SELECT *
FROM ?graph
WHERE {
?a a qa:AnnotationOfQuestionTranslation .
?a oa:hasTarget ?targetQuestion .
?a oa:hasBody ?translation .
FILTER (lang(?translation) = ?language).
?annotationId a qa:AnnotationOfQuestionTranslation .
?annotationId oa:hasTarget ?hasTarget ;
oa:hasBody ?hasBody ;
oa:annotatedBy ?annotatedBy ;
oa:annotatedAt ?annotatedAt .
FILTER (lang(?hasBody) = ?language).
}

0 comments on commit 3bcbc48

Please sign in to comment.