-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I didn't know whether to make these as a single thread or multiple. I'll keep them all together for now, but we may split them into separate issues down the track.
- Multiple values for a single property
Eg, if a object hasrdf:type tern:FeatureOfInterest
andrdf:type tern:Site
.
In the current implementation, the prefix is stripped from the property name, and only the first value is emitted in the GeoJSON properties list:
"properties" {
"type": "https://w3id.org/tern/ontologies/tern/FeatureOfInterest"
/* rdf:type: tern:Site is lost */
}
- Property names with the same suffix but different prefix
Eg, if an object has values forfoaf:member
,skos:member
, andschema:member
.
Currently the prefix is stripped from the property name, so only "member" is used as the key.
The converter does process each property, but overwrites the previous with the same key.
"properties" {
/* property schema:member is used */
"member": "https://example.org/my/shema/member"
/* property foaf:member is lost */
/* property skos:member is lost */
}
- BNode Values
Consider the case where the value for a property is defined as a BNode, eg:
ex:size [ rdf:value 25.6 ; qudt:unit "mm" ]
How should this be expressed in JSON properties?
Can it be like this?:
"properties" {
"size": {
"value": 25.6,
"unit": "mm"
}
}
Metadata
Metadata
Assignees
Labels
No labels