[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 .
}
}
Reason:
When it was named entity, we generated URI: http://linked.opendata.cz/resource/legislation/cz/expression/1991/513-1991/version/cz/1991-11-05/named-entity-occurrence/1006
But in relations, when we refer to the same textchunk, we used: http://linked.opendata.cz/resource/legislation/cz/expression/1991/513-1991/version/cz/1991-11-05/named-entity-occurrence/1006
Solution: textchunk pattern is used
Vsechny targety maji lingv reprezentaci, dotaz vraci 0