Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to map XML to RDF using RML where child id does not exist. Problem in rr:template of rr:subjectMap #1

Open
uttam1216 opened this issue Jan 9, 2021 · 0 comments

Comments

@uttam1216
Copy link

Hi,
What can I write in {} of rr:template section of the RML rules, if I have no id for that particular branch(e.g. Addresse)?
I need to convert a XML to RDF , for which I am writing RML rules, but some of the child tags in my XML have no id and is also hierarchical. I know joining the parent with child, but child without an id is not being read currently, which is my issue.
e.g. of XML file that I have:
<ADT_GEKID>
<Menge_Patient>
<Patienten_Stammdaten Patient_ID="10791.0">
40642347
<Menge_Adresse>

<Patienten_Strasse>Hertrampfweg</Patienten_Strasse>
<Patienten_Hausnummer>87</Patienten_Hausnummer>

</Menge_Adresse>
</Patienten_Stammdaten>

</Menge_Patient>
<Menge_Melder>

<Meldende_Stelle>101250</Meldende_Stelle>

</Menge_Melder>
</ADT_GEKID>

Thanks.

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

No branches or pull requests

1 participant