| daniel changed the title from "[Task] Fix issues in geoshape datatype RDF mapping" to "[Task] Provide RDF mapping for geoshape data type.". daniel edited the task description. (Show Details) |
EDIT DETAILS
The RDF mapping of the geoshape datatype is not correct yet. Geoshapes are currently represented as strings in RDF, instead of the URLs of the actual shape.
In RdfBuilder::propertyIsLink(), there is a hard-coded list of data types that should be treated as URLs. geoshapes Need to be added to the list.
Conceptually, geoshapes should be handled similarly to the commonsMedia types in the RDF mapping. This means we need a GeoShapeRdfBuilder similar to CommonsMediaRdfBuilder, We neand RdfVocabulary::getGeoShapeURI similar to RdfVocabulary::getCommonsURI (which should probably be renamed to fix it.getMediaURI).
In RdfBuilder::propertyIsLink(), there is a hard-coded list of data types that should be treated as URLs. geoshapes Need to be added to the list.
Conceptually, geoshapes should be handled similarly to the commonsMedia types in the RDF mapping. This means we need a GeoShapeRdfBuilder similar to CommonsMediaRdfBuilder, We neand RdfVocabulary::getGeoShapeURI similar to RdfVocabulary::getCommonsURI (which should probably be renamed to fix it.getMediaURI).
TASK DETAIL
EMAIL PREFERENCES
To: daniel
Cc: Anchal09, daniel, Aklapper, Lydia_Pintscher, QZanden, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
Cc: Anchal09, daniel, Aklapper, Lydia_Pintscher, QZanden, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
