Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Efimster edited this page Nov 25, 2013 · 2 revisions

Prefix could be used with colon: SPARQL.Prefix("dc:", "http://purl.org/dc/elements/1.1/")

Or without colon (colon will be added automatically): SPARQL.Prefix("ns", "http://example.org/ns#")

Prefixes defined for DynamicSPARQL object will be automatically added for every query:

dyno = DynamicSPARQL.CreateDyno(queryFunc, autoquotation: true, prefixes: new[]{
         SPARQL.Prefix(prefix:"rdf:", iri: "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ),
         SPARQL.Prefix(prefix:"cat:", iri: "http://my.web/catalogues#" ),
});

Clone this wiki locally