Open jonathanPiraux opened 6 years ago
Hello,
I try to get the following object displayed in an RDF file. But I got:
The object is displayed but the related attribute are not contained in the tag. Here is the python code that should generate those tags:
town_detail = TownDetail(name="Brussels", stateOrProvince="Brussels", country="Belgium") town_detail.UUID = generate_uuid() dico[town_detail.UUID] = town_detail street_detail = StreetDetail(name=street_name) street_detail.UUID = generate_uuid() dico[street_detail.UUID]=street_detail address = StreetAddress(townDetail=town_detail, streetDetail=street_detail) address.UUID = generate_uuid() dico[address.UUID] = address phone = TelephoneNumber(localNumber=tel) phone.UUID = generate_uuid() dico[phone.UUID] = phone
Am I wrong in the way how I hve to make my implementation?
I had to dynamically add a UUID attribute to avoid errors in the rdf file generation. the dico variable is just a dictionnary I use to keep record of every object that are created.
Thanks for the support
Jonathan
Hello,
I try to get the following object displayed in an RDF file. But I got:
The object is displayed but the related attribute are not contained in the tag. Here is the python code that should generate those tags:
Am I wrong in the way how I hve to make my implementation?
I had to dynamically add a UUID attribute to avoid errors in the rdf file generation. the dico variable is just a dictionnary I use to keep record of every object that are created.
Thanks for the support
Jonathan