Open aidaph opened 7 years ago
This is kind of late, but here it is. It seems this is happening because your context defined the attribute "Event" in its top-level but not the attribute "10924" (which was instead defined inside "Event"). You would need something like
context = {
"@context": {
"foaf" : "http://xmlns.com/foaf/0.1/",
"@id":"http://localhost",
"Event": {
"@id": "http://localhost/index.php/Event",
"@type": "foaf:Event",
}
"10924": {
"@id": "foaf:run",
}
}
})
Hi all,
I have this simple json file and i wantt to convert it to a jsonld format with the below python program[1]:
[1]
But i can't get the subproperty "10924", only the "Event" property in the json-ld output:
I can't figure it out what i left in the program, do i have to create a new context for the subproperty "10924"?
Thank you so much in advance.
Kind Regards!