Exemple #1
0
        private static SparqlQuery BindValue(SparqlQuery query, INode valueNode)
        {
            var q = query.Copy();

            q.RootGraphPattern.TriplePatterns.Insert(0, new BindPattern("value", new ConstantTerm(valueNode)));

            return(q);
        }