acdh-oeaw / acdh-cidoc-pyutils

Helper functions for the generation of CIDOC CRMish RDF
MIT License
0 stars 1 forks source link

make_appelations not only E33_41 #36

Closed csae8092 closed 1 year ago

csae8092 commented 1 year ago

everthing in for loop or c, child in enumerate(y.xpath("./*")):

should NOT be cidoc:E33_E41_Linguistic_Appellation but ...

<https://sk.acdh.oeaw.ac.at/v1/DWpers0031/appelation/0/0> a ns1:E33_E41_Linguistic_Appellation ;
    rdfs:label "Kraus, Karl"@und ;
    ns1:P2_has_type <https://sk.acdh.oeaw.ac.at/v1/types/person/persname> .
    ns1:P106_is_composed_of <uri-of-name-part-one> ;
    ns1:P106_is_composed_of <uri-of-name-part-two> .

<uri-of-name-part-one> a ns1:E90_Symbolic_Object ;
    rdf:value "Kraus"
    rdfs:label "Kraus"@und
    ns1:P2_has_type <whatever>
csae8092 commented 1 year ago

this issue was not solved as initially intended, now name parts are not processed at all