2using System.Threading.Tasks;
32 IEnumerable<Possibility> ExistingMatches,
SparqlQuery Query)
34 IEnumerable<Possibility> Matches1 = await this.
Left.
Search(Cube,
Variables, ExistingMatches, Query);
35 IEnumerable<Possibility> Matches2 = await this.
Right.
Search(Cube,
Variables, ExistingMatches, Query);
39 else if (Matches2 is
null)
45 Result.AddRange(Matches1);
48 Result.AddRange(Matches2);
A chunked list is a linked list of chunks of objects of type T .
Intersection of two patterns.
ISparqlPattern Left
Left pattern
ISparqlPattern Right
Right pattern
UnionPattern(ISparqlPattern Left, ISparqlPattern Right)
Union of two patterns.
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.
Interface for semantic cubes.
Interface for SPARQL patterns.
Task< IEnumerable< Possibility > > Search(ISemanticCube Cube, Variables Variables, IEnumerable< Possibility > ExistingMatches, SparqlQuery Query)
Searches for the pattern on information in a semantic cube.