1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package olr.rdf;
20
21 import java.util.List;
22
23
24 public interface StatementPool
25 {
26 public abstract boolean isParsedNamespaceURI(String namespaceURI);
27
28 public abstract void addParsedNamespaceURI(String namespaceURI);
29
30 public abstract void addParsedNamespaceURI(String namespaceURI, String title);
31
32 public abstract void removeParsedNamespaceURI(String namespaceURI);
33
34 public abstract void addStatement(Statement statement);
35
36 public abstract void addAttributeAbout(String subject, Attribute attribute);
37
38 public abstract void removeStatement(Statement statement);
39
40 public abstract void removeAttributeAbout(String subject,
41 Attribute attribute);
42
43 public abstract List getAttributesAbout(String subject);
44
45 public abstract List getSpecificAttributesAbout(String subject,
46 String predicate);
47
48 public abstract Resource getResource(String subject);
49
50 public abstract boolean hasAttribute(String subject, String predicate,
51 String object);
52
53 public abstract boolean isClass(String resource);
54
55 public abstract boolean isProperty(String resource);
56
57 public abstract boolean isProperty(Resource resource);
58
59 public abstract String getResourceTitle(String resource);
60
61 public abstract String getResourceTitle(Resource resource);
62
63 public abstract boolean isSubClassOf(String class1, String class2);
64
65 public abstract boolean isInstanceOf(String resource, String classResource);
66
67 public abstract boolean isInstanceOf(Resource resource, String classResource);
68
69 public abstract boolean isCourse(String uri);
70
71 public abstract String createInstanceOf(String namespace,
72 String classResource);
73
74 public abstract List getAllInstances(String subject);
75
76 public abstract List getAllSubClasses(List classResources);
77
78 public abstract List getAllSubClasses(String classResource);
79
80 public abstract List getAllSuperClasses(String classResource);
81
82 public abstract List getAllPropertiesForClass(String classResource);
83
84 public abstract List getAllDomains(String property);
85
86 public abstract List getAllRanges(String property);
87
88 public abstract List getAvailableProperties4Resource(String subject);
89 }