Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IntersectionPattern.cs
1using System.Collections.Generic;
2using System.Threading.Tasks;
4
6{
11 {
18 : base(Left, Right)
19 {
20 }
21
30 public override async Task<IEnumerable<Possibility>> Search(ISemanticCube Cube, Variables Variables,
31 IEnumerable<Possibility> ExistingMatches, SparqlQuery Query)
32 {
33 ExistingMatches = await this.Left.Search(Cube, Variables, ExistingMatches, Query);
34 if (ExistingMatches is null)
35 return null;
36
37 return await this.Right.Search(Cube, Variables, ExistingMatches, Query);
38 }
39 }
40}
override async Task< IEnumerable< Possibility > > Search(ISemanticCube Cube, Variables Variables, IEnumerable< Possibility > ExistingMatches, SparqlQuery Query)
Searches for the pattern on information in a semantic cube.
IntersectionPattern(ISparqlPattern Left, ISparqlPattern Right)
Intersection of two patterns.
Collection of variables.
Definition: Variables.cs:25
Interface for semantic cubes.
Task< IEnumerable< Possibility > > Search(ISemanticCube Cube, Variables Variables, IEnumerable< Possibility > ExistingMatches, SparqlQuery Query)
Searches for the pattern on information in a semantic cube.