Example SPARQL
variables indicated ? or $ prefix. bindings ?capital , ?country returned.
the sparql query processor search sets of triples match these 4 triple patterns, binding variables in query corresponding parts of each triple. important note here property orientation (class matches can conducted solely through class-attributes or properties – see duck typing)
to make queries concise, sparql allows definition of prefixes , base uris in fashion similar turtle. in query, prefix ex stands “http://example.com/exampleontology#”.
Comments
Post a Comment