2using System.Threading.Tasks;
69 IEnumerable<INode> RootNodes = Source.
RootNodes;
71 if (!(RootNodes is
null))
73 foreach (
INode RootNode
in RootNodes)
override void Add(ISemanticTriple Triple)
Adds a triple to the cube.
void AddContainer(ISemanticElement Subject, Uri Type, Uri Predicate, params object[] Items)
Adds a linked list of items to the graph.
Dublin Core Terms Ontology
static readonly Uri updated
http://purl.org/dc/terms/updated
static readonly Uri Bag
URI representing rdf:Bag, an unordered container.
static readonly Uri type
URI representing rdf:type
static readonly Uri label
http://www.w3.org/2000/01/rdf-schema#label
A chunked list is a linked list of chunks of objects of type T .
void Clear()
Clears the collection.
void Add(T Item)
Adds an item to the collection.
Contains information about a language.
Tokens available in request.
IoT Concentrator Ontology
static readonly Uri sourceId
urn:nf:iot:concentrator:1.0:sourceId
static readonly Uri childSources
urn:nf:iot:concentrator:1.0:childSources
static readonly Uri rootNodes
urn:nf:iot:concentrator:1.0:rootNodes
static readonly Uri hasChildSources
urn:nf:iot:concentrator:1.0:hasChildSources
static readonly Uri DataSource
urn:nf:iot:concentrator:1.0:DataSource
Makes harmonized data sources and nodes available as semantic information.
static Uri GetNodeUri(INode Node)
Gets the Graph URI for a node.
static Uri GetSourceUri(string SourceID)
Gets the Graph URI for a data source.
Dynamic graph of a data source on the Neuron.
Task GenerateGraph(InMemorySemanticCube Result, Language Language, RequestOrigin Caller)
Generates the semantic graph.
static async Task GenerateGraph(InMemorySemanticCube Result, Language Language, IDataSource Source)
Generates a semantic graph of a data source.
SourceGraph(IDataSource Source)
Dynamic graph of a data source on the Neuron.
Interface for datasources that are published through the concentrator interface.
IEnumerable< INode > RootNodes
Root node references. If no root nodes are available, null is returned.
Task< string > GetNameAsync(Language Language)
Gets the name of data source.
bool HasChildren
If the source has any child sources.
DateTime LastChanged
When the source was last updated.
IEnumerable< IDataSource > ChildSources
Child sources. If no child sources are available, null is returned.
string SourceID
ID of data source.
Interface for nodes that are published through the concentrator interface.
Interface for dynamic graphs.