API for plaza.rdf.predicates

by Unknown

Usage:
(ns your-namespace
  (:require plaza.rdf.predicates))

Overview



Public Variables and Functions



and?

function
Usage: (and? & preds)
Applies and to a series of matchers


blank-node?

function
Usage: (blank-node? id)
Matches a blank node with a certain id


datatype?

function
Usage: (datatype? data-uri)
Matches the value or the value and language of a literal


fn-apply?

function
Usage: (fn-apply? f)
Applies a function to a value


fn-triple-apply?

function
Usage: (fn-triple-apply? f)
Applies a function to a value


is-blank-node?

function
Usage: (is-blank-node?)
Matches a blank node


is-literal?

function
Usage: (is-literal?)
Matches a literal with a certain literal value


is-optional?

function
Usage: (is-optional?)
Checks if a triple is an optional part of a query


is-resource?

function
Usage: (is-resource?)
Matches a literal with a certain literal value


is-variable?

function
Usage: (is-variable?)
Matches a variable


literal-fn?

function
Usage: (literal-fn? f)
Applies a custom predicate function to a literal


literal-value?

function
Usage: (literal-value? lit)
Matches a literal with a certain literal value


literal?

function
Usage: (literal? val)
       (literal? val lang)
Matches the value or the value and language of a literal


not?

function
Usage: (not? pred)
Negates a clause query


object-and?

function
Usage: (object-and? & conditions)
Checks a condition over the object of a triple


object-or?

function
Usage: (object-or? & conditions)
Checks a condition over the object of a triple


object?

function
Usage: (object? condition)
Checks a condition over the object of a triple


or?

function
Usage: (or? & preds)
Applies or to a series of matchers


predicate-and?

function
Usage: (predicate-and? & conditions)
Checks a condition over the predicate of a triple


predicate-or?

function
Usage: (predicate-or? & conditions)
Checks a condition over the predicate of a triple


predicate?

function
Usage: (predicate? condition)
Checks a condition over the predicate of a triple


qname-local?

function
Usage: (qname-local? local)
Matches a URI or curie against a triple atom


qname-prefix?

function
Usage: (qname-prefix? prefix)
Matches a URI or curie against a triple atom


regex?

function
Usage: (regex? regex)
Checks if a value matches a ceratin regular expression


subject-and?

function
Usage: (subject-and? & conditions)
Checks a condition over the subject of a triple


subject-or?

function
Usage: (subject-or? & conditions)
Checks a condition over the subject of a triple


subject?

function
Usage: (subject? condition)
Checks a condition over the subject of a triple


tc

function
Usage: (tc & args)
Shortcut for triple-check


tca

function
Usage: (tca & args)
Shortcut for triple-check-apply


triple-and?

function
Usage: (triple-and? & conds)
Checks if one triple matches a set of conditions


triple-check

function
Usage: (triple-check cond)
Checks if one triple matches a set of conditions


triple-check-apply

function
Usage: (triple-check-apply predicate val)
Applies a predicate to a concrete value


triple-or?

function
Usage: (triple-or? & conds)
Checks if one triple matches a set of conditions


triple-transform

function
Usage: (triple-transform f)
Accepts a single argument function that will receive a triple and transform it


tt

function
Usage: (tt & args)
Shortcut for triple-transform


uri?

function
Usage: (uri? ns local)
       (uri? uri)
Matches a URI or curie against a triple atom
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.