mff-uk/odcs-dpus

[INTLIB] spatne targety anotaci

Closed this issue · 3 comments

Pouze minimum targetu (oa:hasTarget) anotaci (oa:Annotation) ma prirazenou lingvistickou reprezentaci (lingv:hasForm). Konkretne 337 ji ma a 43007 (!) ji nema (divny ne?)

PREFIX skos: http://www.w3.org/2004/02/skos/core#
PREFIX frbr: http://purl.org/vocab/frbr/core#
PREFIX oa: http://www.w3.org/ns/oa#
PREFIX lingv: http://purl.org/lingv/ontology#
PREFIX lexc: http://purl.org/lex/ontology/concepts#

SELECT COUNT(?body)
WHERE {
?annotation a oa:Annotation ;
oa:hasTarget ?target ;
oa:hasBody ?body .
FILTER NOT EXISTS {
?target lingv:hasForm ?targetForm .
}
}

Vsechny targety maji lingv reprezentaci, dotaz vraci 0