Closed TizianaPasciuto closed 5 months ago
Possible solution - 2nd Where required, enter
WHERE{
{
?ThematicPath ctp:hasPart ?CulturalResource.
}
UNION
{
?ThematicPath ctp:hasSlot ?OrderedListSlot.
?OrderedListSlot ctp:hasItem ?CulturalResource.
}
} ```
This issue has been resolved: the second solution proposed has been implemented, and it works. We reserve the right to evaluate the other two solutions later.
When a Cultural Resource is part of a Thematic Path, they are linked by the Object Property
ctp:hasPart
. When Cultural Resources are sorted, there is a need to assign an index to each Resource. For this reason, the Object Propertyctp:hasPart
is equivalent to the combination of Object Propertiesctp:hasSlot
andctp:hasItem
and in the CTP Ontology Core this was rendered withowl:propertyChainAxiom (ctp:hasSlot ctp:hasItem)
.When I run queries that can involve ordered cultural objects, as result I only get cultural objects that are related to the thematic path with
ctp:hasPart
, while I would need to get others too.Possible solutions:
ctp:hasSlot
andctp:hasItem
withctp:hasPart
;ctp:hasPart
and withctp:hasSlot
andctp:hasItem
.