Model Structure
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
http://<<Base URL>>/models/<<model name>>/structure
returns
{
"conceptClasses" : [ {
"uri" : "http://models.smartlogic.com/SpaceMissions#Spacecraft",
"labels" : [ {
"propertyUri" : "http://www.w3.org/2000/01/rdf-schema#label",
"value" : "Spacecraft",
"lang" : "en"
}, {
"propertyUri" : "http://www.w3.org/2000/01/rdf-schema#label",
"value" : "Vaisseau spatial",
"lang" : "fr"
} ],
"subClassOfUris" : [ "http://models.smartlogic.com/SpaceMissions#Vehicle" ],
"color" : "b77f72"
}, {
"uri" : "http://models.smartlogic.com/SpaceMissions/Class#Location",
"labels" : [ {
"propertyUri" : "http://www.w3.org/2000/01/rdf-schema#label",
.
.
.
"uri" : "http://models.smartlogic.com/SpaceMissions#birthDate",
"labels" : [ {
"propertyUri" : "http://www.w3.org/2000/01/rdf-schema#label",
"value" : "birth date",
"lang" : "en"
} ],
"rangeUris" : [ "http://www.w3.org/2001/XMLSchema#date" ]
}, {
"uri" : "http://models.smartlogic.com/SpaceMissions#DBPedia-URI",
"labels" : [ {
"propertyUri" : "http://www.w3.org/2000/01/rdf-schema#label",
"value" : "DBPedia URI",
"lang" : "en"
} ],
"rangeUris" : [ "http://www.w3.org/2001/XMLSchema#string" ]
} ]
}
Which is the complete structure of the model.
To extract fragments of this structure you can use
http://<<Base URL>>/models/<<model name>>/structure?extracts=<<requested data>>
The requested data can be one of more of
conceptClasses, conceptSchemeRelationships, conceptRelationships, labelRelationship, metadataTypes
in a comma separated list.
In fact the concept relationships can be further refined by asking for
conceptRelationships/associative, conceptRelationships/narrower, conceptRelationships/broader