Open MicheleMallia opened 2 months ago
Hi @MicheleMallia,
can you provide me with an example of the JSON file you use as input?
Hi @anuzzolese,
Thank you for the quick response.
I took my cue from Matey's examples, I was currently doing a simple test with the “people” example, which has a data.json file that has this structure:
{
"persons": [
{
"firstname": "John",
"lastname": "Doe"
},
{
"firstname": "Jane",
"lastname": "Smith"
},
{
"firstname": "Sarah",
"lastname": "Bladinck"
}
]
}
And a mapping file that has this structure:
prefixes:
ex: "http://example.com/"
mappings:
person:
sources:
- ['data.json~jsonpath', '$.persons[*]']
s: http://example.com/$(firstname)
po:
- [a, foaf:Person]
- [ex:name, $(firstname)]
I use Python 3.10
Hi,
I am using your library to perform transformations between structured data. I used yatter to do the conversion from yaml to RML, but once I use your library to get the RDF I get this error:
This is the structure of RML file:
Thank you in advance.