Constructor
new SparqlWorkspaceQueryWindow(sparqlProvider, configSparqlWidget)
Creates a SPARQL query window.
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sparqlProvider | SparqlEndpointResponseProvider | The SPARQL Endpoint Response Provider. | ||||||||||||||||||
configSparqlWidget | object | The sparqlModule view configuration. Properties
|
Classes
Methods
getBitemporalTimestampsByIndex(d) → {Object|null}
Given the index of a node, find the bitemporal timestamps that that link to it (with the properties AbstractFeatureWithLifespan.validFrom and AbstractFeatureWithLifespan.validTo) and return them as an object of Dates
Name | Type | Description |
---|---|---|
d | number | the index of the node |
return the object that represents the datum of a node
- Type:
- Object |
null
getScenarioLayerNameByIndex(d) → {string|null}
Given the index of a node (of type Version or VersionTransition) and a layerManager, find the first Scenario that links to it and return the first layer that matches the layer.name of the Scenario's localname.
Name | Type | Description |
---|---|---|
d | number | the index of the Version or VersionTransition node |
return the name of a matching geometryLayer
- Type:
- string |
null
getScenarioLayerNameByUri(uri) → {string|null}
Given the uri of a node (of type Version or VersionTransition) and a layerManager, find the first Scenario that links to it and return the first layer that matches the layer.name of the Scenario's localname.
Name | Type | Description |
---|---|---|
uri | string | the uri of the Version or VersionTransition node |
return the a matching geometryLayer name
- Type:
- string |
null
getTransactionChain(id) → {Array.<Array.<string>>}
Name | Type | Description |
---|---|---|
id | string | an identifier |
- transaction chain
- Type:
- Array.<Array.<string>>
getVersionScenarioByIndex(d) → {object|null}
Given the index of a node (of type Version), return the node of the first Scenario links to it using Scenario.versionMember.
Name | Type | Description |
---|---|---|
d | number | the index of the Version node |
return the object that represents the datum of a Scenario
- Type:
- object |
null
getVersionScenarioByUri(uri) → {object|null}
Given the uri of a node, return the node of the first Scenario links to it using Scenario.versionMember. The uri should belong to a node of type Version.
Name | Type | Description |
---|---|---|
uri | string | the URI of the Version node |
return the object that represents the datum of a Scenario
- Type:
- object |
null
getVersionTransitionScenarioByIndex(d) → {object|null}
Given the index of a node (of type VersionTransition), return the node of the first Scenario links to it using Scenario.versionTransitionMember.
Name | Type | Description |
---|---|---|
d | number | the index of the Version node |
return the object that represents the datum of a Scenario
- Type:
- object |
null
getVersionTransitionScenarioByUri(uri) → {object|null}
Given the uri of a node, return the node of the first Scenario links to it using Scenario.versionTransitionMember. The uri should belong to a node of type VersionTransition.
Name | Type | Description |
---|---|---|
uri | string | the URI of the Version node |
return the object that represents the datum of a Scenario
- Type:
- object |
null
transactionChainQuery(gml_id) → {string}
Get the CityGML 3.0 transaction chain query for as a string
Name | Type | Description |
---|---|---|
gml_id | string | a gml_id identifier linked to a feature |
- query plain text
- Type:
- string