/// <summary> /// Creates a new CONSTRUCT query /// </summary> public static IQueryBuilder Construct(Action <IDescribeGraphPatternBuilder> buildConstructTemplate) { if (buildConstructTemplate == null) { return(Construct()); } var queryBuilder = new QueryBuilder(SparqlQueryType.Construct); DescribeGraphPatternBuilder graphPatternBuilder = new DescribeGraphPatternBuilder(new GraphPatternBuilder()); buildConstructTemplate(graphPatternBuilder); return(queryBuilder.Construct(graphPatternBuilder)); }
private IQueryBuilder Construct(DescribeGraphPatternBuilder graphPatternBuilder) { _constructGraphPatternBuilder = graphPatternBuilder; return(this); }