Esempio n. 1
0
 public GraphStatementWrapper(Statement statement, Hashtable cache)
 {
     s = statement;
     S = RdfSourceWrapper.Wrap(s.Subject, cache);
     if (s.Predicate.Uri == null)
         throw new QueryExecutionException("Statement's predicate is a blank node.");
     P = RdfSourceWrapper.Wrap(s.Predicate, cache) as name.levering.ryan.sparql.common.URI;
     O = RdfSourceWrapper.Wrap(s.Object, cache);
     G = RdfSourceWrapper.Wrap(s.Meta, cache) as name.levering.ryan.sparql.common.URI;
 }
Esempio n. 2
0
 public Stmt(name.levering.ryan.sparql.common.Resource subject, name.levering.ryan.sparql.common.URI @predicate, name.levering.ryan.sparql.common.Value @object)
 {
     this.subject = subject;
     this.predicate = predicate;
     this.@object = @object;
 }