https://github.com/ktk/iso20022-to-rdf
Simple mapping of (so far) camt.53 XML files to RDF
https://github.com/ktk/iso20022-to-rdf
iso20022 rdf xml
Last synced: 21 days ago
JSON representation
Simple mapping of (so far) camt.53 XML files to RDF
- Host: GitHub
- URL: https://github.com/ktk/iso20022-to-rdf
- Owner: ktk
- Created: 2018-09-16T19:34:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T03:26:56.000Z (about 4 years ago)
- Last Synced: 2025-03-23T20:34:04.906Z (about 1 month ago)
- Topics: iso20022, rdf, xml
- Language: Shell
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ISO 20022 camt.53 (account statement) mapping to RDF
This is a super minimal version of #topic. Pretty much everything can and should be improved. Mapping file can be found in [config/cam53.ttl](config/cam53.ttl). It was created for and tested with account statements from Postfinance in Switzerland only.
Some ideas:
* More specific ontology, maybe [Payments Ontology](https://data.gov.uk/resources/payments) or alike. This seems to be RDF Data Cube based as well, which was my initial idea
For this version I used [RML V4.0.0](https://github.com/RMLio/rmlmapper-java), [carml](https://github.com/carml/carml) did not want to create any triples, no idea why.
The reason why I started this was simple: I needed to figure out some payments I did during the year and I could not find any useful open source tooling for it.
Turns out once this stuff is RDF, it is super simple to query.
I simply generated the file(s), added it into one big N-Triples file and queried it via `sparql` command line tool from [ARQ](https://jena.apache.org/documentation/query/index.html):
```shell
sparql --results=csv --data=target/complete.nt --query=sparql/myquery.rq > myresult.csv
```