As you notice, the principal FHIR resource i.e. Patient has a rdf:type assigned as fhir:Patient class however the inner resources associated with property such as Addresses are missing an rdf:type. As a result, corresponding rdf graph seems to be missing an assigned type on these nodes:
They show up as anonymous types on the graph. Would it be possible to assign types to these property value resources based on the range of the property.
If you run fhirtordf util on example patient json url --> http://hl7.org/fhir/R4/patient-example-f201-roel.json you get an rdf representation like follows -->
As you notice, the principal FHIR resource i.e. Patient has a rdf:type assigned as fhir:Patient class however the inner resources associated with property such as Addresses are missing an rdf:type. As a result, corresponding rdf graph seems to be missing an assigned type on these nodes:![image](https://user-images.githubusercontent.com/860823/113902009-28a7de00-97ef-11eb-99fc-5cf13af3e2d3.png)
They show up as anonymous types on the graph. Would it be possible to assign types to these property value resources based on the range of the property.