Constructor
new SparqlVersioningQueryWindow(sparqlProvider, configSparqlWidget)
Creates a SPARQL query window.
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sparqlProvider | SparqlEndpointResponseProvider | The Versioning compatible SPARQL Endpoint Response Provider. | ||||||||||||||||||
configSparqlWidget | object | The sparqlModule view configuration. Properties
|
Classes
Members
d3Graphs :Array.<D3GraphCanvas>
Contains the D3 graph views to display versioned RDF data.
- Array.<D3GraphCanvas>
Methods
buildVersioningTable() → {HTMLTableElement}
Create a table element to display versioned graphs
A table element
- Type:
- HTMLTableElement
getNodesByIdGraphAndIdNode(graphId, id) → {object|null}
Given the uri of a node, return the node object.
Name | Type | Description |
---|---|---|
graphId | number | id of the graph |
id | number | of the node |
return
- Type:
- object |
null
updateDataView(response, view_type)
Update the DataView.
Name | Type | Description |
---|---|---|
response | object | A JSON object returned by a SparqlEndpointResponseProvider.EVENT_ENDPOINT_RESPONSE_UPDATED event |
view_type | string | The selected semantic data view type. |