Пример #1
0
 private static void BuildSPOPattern(ITriplePatternBuilder tpb)
 {
     tpb.Subject("s").Predicate("p").Object("o");
 }
 private static TriplePatternPredicatePart ToSubject(this ITriplePatternBuilder builder, QueryNode node)
 {
     return(node.IsConstant
         ? builder.Subject(new Uri(node.uris.First().ToEntityIri()))
         : builder.Subject(node.name));
 }