Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

[INTLIB] spatne targety anotaci #68

Closed
martinnec opened this issue May 6, 2014 · 3 comments
Closed

[INTLIB] spatne targety anotaci #68

martinnec opened this issue May 6, 2014 · 3 comments
Assignees
Labels

Comments

@martinnec
Copy link
Contributor

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 .
}
}

@tomas-knap
Copy link
Contributor

@tomas-knap
Copy link
Contributor

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

@tomas-knap
Copy link
Contributor

Vsechny targety maji lingv reprezentaci, dotaz vraci 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants