1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package com.ontotext.ordi.tripleset;
19
20 import java.util.Iterator;
21
22 import org.openrdf.model.Statement;
23 import org.openrdf.model.URI;
24
25 /**
26 * An RDF statement with specified graph name and meta-data represented as
27 * triplesets.
28 *
29 * @author vassil
30 *
31 * TODO: Check if Resource type is compatible with the SPARQL definition of
32 * graph name.
33 */
34 public interface TStatement extends Statement {
35
36 /**
37 * Gets iterator to the associated triplesets for this statement instance.
38 *
39 * @return iterator with the associated triplests
40 */
41 public Iterator<URI> getTriplesetIterator();
42
43 /**
44 * Checks if this statement is associated with a specific tripleset URI.
45 *
46 * @param uri
47 * the tripleset identifier to be checked
48 * @return true if the statement is associated or false if otherwise
49 */
50 public boolean isMemberOf(URI uri);
51 }