Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Efimster edited this page Mar 23, 2014 · 6 revisions

Triple creation options:

  1. SPARQL.Triple("subject", "predicate", "object");
  1. SPARQL.Triple(s:"subject", p:"predicate", o:"object");//with named parameters
  1. SPARQL.Triple(s:"?person", p:new[]{"rdf:type foaf:Person", "foaf:name ?name"));//with a list of predicate-object pairs;
  1. SPARQL.Triple(s:"?person", p:"foaf:name", o:@""Alice","Bob""));//with multiple object;
  1. SPARQL.Triple("subject predicate object");//just triple string
  1. SPARQL.TripleChain("?s", "some:property", "?o", "another:Propety" "?o2");//by triple chain. Every object used as next triple subject;
  1. SPARQL.TripleChain("?s some:property ?o another:Propety ?o2");//triple chain whithin plain string

Parameters with string literals should be quoted or use "autoquotation" option to create DynamicSPARQL object.

Clone this wiki locally