InTaVia / idm-rdf

Intavia Data Model for RDF data
1 stars 2 forks source link

Definitions of Person Relationship Roles #27

Open yoge1 opened 1 year ago

yoge1 commented 1 year ago

Currently, our data does not contain definitions (e.g. rdf:type, skos:prefLabel) for Person Relationship Roles. E.g. http://www.intavia.eu/personreltype/sibling

Should we add these into IDM-RDF or into a separate role definition TTL file?

SPARQL query for identifying such cases:

PREFIX bioc: <http://ldf.fi/schema/bioc/>

SELECT DISTINCT *
WHERE {
  [] bioc:has_person_relation/a ?rel .
  FILTER (REGEX(STR(?rel), 'personreltype'))
  FILTER NOT EXISTS { ?rel a [] }
}