27 | - any() ⇒
Clownface
28 | Removes current pointers from the context and return an "any pointer".
29 | The returned object can be used to find any nodes in the dataset
30 |
31 | - isList() ⇒
boolean
32 | Returns true if the current term is a rdf:List
33 |
34 | - list() ⇒
Iterable
| null
35 | Creates an iterator which iterates and rdf:List of the current term
36 |
37 | - toArray() ⇒
Array.<Clownface>
38 | Returns an array of graph pointers where each one has a single _context
39 |
40 | - filter(callback) ⇒
Clownface
41 | Returns graph pointers which meet the condition specified in a callback function
42 |
43 | - forEach(callback) ⇒
Clownface
44 | Performs the specified action on every graph pointer
45 |
46 | - map(callback) ⇒
Array.<T>
47 | Calls a defined callback function on each graph pointer, and returns an array that contains the results.
48 |
49 | - node(values, [options]) ⇒
Clownface
50 | Creates graph pointer to one or more node(s)
51 | Depending on the value creates pointers to:
52 |
53 | - blank node context for null
values
54 | - literal for string
values
and no options
paramter
55 | - matching RDF/JS term
56 | - term created according to
options.type
parameter
57 |
58 |
59 | - blankNode([values]) ⇒
Clownface
60 | Creates graph pointer to one or more blank nodes
61 |
62 | - literal(values, [languageOrDatatype]) ⇒
Clownface
63 | Creates graph pointer to one or more literal nodes
64 |
65 | - namedNode(values) ⇒
Clownface
66 | Creates graph pointer to one or more named nodes
67 |
68 | - in([predicates]) ⇒
Clownface
69 | Creates a graph pointer to nodes which are linked to the current pointer by predicates
70 |
71 | - out([predicates], [options]) ⇒
Clownface
72 | Creates a graph pointer to the result nodes after following a predicate, or after
73 | following any predicates in an array, starting from the subject(s) (current graph pointer) to the objects.
74 |
75 | - has(predicates, [objects]) ⇒
Clownface
76 | Creates a graph pointer to nodes which are subjects of predicates, optionally also with specific objects
77 | If the current context is empty, will check all potential subjects
78 |
79 | - addIn(predicates, subjects, [callback]) ⇒
Clownface
80 | Creates a new quad(s) in the dataset where the current context is the object
81 |
82 | - addOut(predicates, objects, [callback]) ⇒
Clownface
83 | Creates a new quad(s) in the dataset where the current context is the subject
84 |
85 | - addList(predicates, items) ⇒
Clownface
86 | Creates a new RDF list or lists containing the given items
87 |
88 | - deleteIn([predicates], [subjects]) ⇒
Clownface
89 | Deletes all quads where the current graph pointer contexts are the objects
90 |
91 | - deleteOut([predicates], [objects]) ⇒
Clownface
92 | Deletes all quads where the current graph pointer contexts are the subjects
93 |
94 | - deleteList(predicates) ⇒
Clownface
95 | Deletes entire RDF lists where the current graph pointer is the subject
96 |
97 | - filterTaggedLiterals(terms, [options]) ⇒
Array.<Term>
98 |
99 |
100 |
101 | ## Typedefs
102 |
103 |