Each line of my csv file represents a person (type Person) who is either a Male or a Female (subtypes of Person in the ontology).
One of the colmun states a parenht for this person.
Before actually reading the line and finding the Parent person referenced in the column, I don't know if the Parent is a Male or a Female.
I would like to be able to create a mapping where I state Parent as the type of node link to the person via_relation is_child_of. OntoWeaver/Biocypher would then find the existing parent node and be able to infer the right type (either Male, Female or Person) of the existing parent node.
mapping.yaml
schema_config.yaml
biocypher_config.yaml
output.csv
initial_ontology.ttl.txt
Each line of my csv file represents a person (type Person) who is either a Male or a Female (subtypes of Person in the ontology).
One of the colmun states a parenht for this person.
Before actually reading the line and finding the Parent person referenced in the column, I don't know if the Parent is a Male or a Female.
I would like to be able to create a mapping where I state Parent as the type of node link to the person via_relation is_child_of. OntoWeaver/Biocypher would then find the existing parent node and be able to infer the right type (either Male, Female or Person) of the existing parent node.
mapping.yaml
schema_config.yaml
biocypher_config.yaml
output.csv
initial_ontology.ttl.txt