diff options
| author | yzhou <yujiao.zhou@gmail.com> | 2015-04-21 10:34:27 +0100 |
|---|---|---|
| committer | yzhou <yujiao.zhou@gmail.com> | 2015-04-21 10:34:27 +0100 |
| commit | 9ce65c5a963b03ee97fe9cb6c5aa65a3c04a80a8 (patch) | |
| tree | 47511c0fb89dccff0db4b5990522e04f294d795b /src/uk/ac/ox/cs/pagoda/query/rollup | |
| parent | b1ac207612ee8b045244253fb94b866104bc34f2 (diff) | |
| download | ACQuA-9ce65c5a963b03ee97fe9cb6c5aa65a3c04a80a8.tar.gz ACQuA-9ce65c5a963b03ee97fe9cb6c5aa65a3c04a80a8.zip | |
initial version
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/query/rollup')
3 files changed, 1026 insertions, 0 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/query/rollup/QueryGraph.java b/src/uk/ac/ox/cs/pagoda/query/rollup/QueryGraph.java new file mode 100644 index 0000000..11b0c75 --- /dev/null +++ b/src/uk/ac/ox/cs/pagoda/query/rollup/QueryGraph.java | |||
| @@ -0,0 +1,383 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.query.rollup; | ||
| 2 | |||
| 3 | import java.util.HashMap; | ||
| 4 | import java.util.HashSet; | ||
| 5 | import java.util.Iterator; | ||
| 6 | import java.util.Map; | ||
| 7 | import java.util.Set; | ||
| 8 | |||
| 9 | import org.semanticweb.HermiT.model.Atom; | ||
| 10 | import org.semanticweb.HermiT.model.AtomicConcept; | ||
| 11 | import org.semanticweb.HermiT.model.AtomicRole; | ||
| 12 | import org.semanticweb.HermiT.model.Constant; | ||
| 13 | import org.semanticweb.HermiT.model.Individual; | ||
| 14 | import org.semanticweb.HermiT.model.Term; | ||
| 15 | import org.semanticweb.HermiT.model.Variable; | ||
| 16 | import org.semanticweb.owlapi.model.IRI; | ||
| 17 | import org.semanticweb.owlapi.model.OWLAxiom; | ||
| 18 | import org.semanticweb.owlapi.model.OWLClass; | ||
| 19 | import org.semanticweb.owlapi.model.OWLClassExpression; | ||
| 20 | import org.semanticweb.owlapi.model.OWLClassExpressionVisitorEx; | ||
| 21 | import org.semanticweb.owlapi.model.OWLDataAllValuesFrom; | ||
| 22 | import org.semanticweb.owlapi.model.OWLDataExactCardinality; | ||
| 23 | import org.semanticweb.owlapi.model.OWLDataFactory; | ||
| 24 | import org.semanticweb.owlapi.model.OWLDataHasValue; | ||
| 25 | import org.semanticweb.owlapi.model.OWLDataMaxCardinality; | ||
| 26 | import org.semanticweb.owlapi.model.OWLDataMinCardinality; | ||
| 27 | import org.semanticweb.owlapi.model.OWLDataSomeValuesFrom; | ||
| 28 | import org.semanticweb.owlapi.model.OWLIndividual; | ||
| 29 | import org.semanticweb.owlapi.model.OWLLiteral; | ||
| 30 | import org.semanticweb.owlapi.model.OWLNamedIndividual; | ||
| 31 | import org.semanticweb.owlapi.model.OWLObjectAllValuesFrom; | ||
| 32 | import org.semanticweb.owlapi.model.OWLObjectComplementOf; | ||
| 33 | import org.semanticweb.owlapi.model.OWLObjectExactCardinality; | ||
| 34 | import org.semanticweb.owlapi.model.OWLObjectHasSelf; | ||
| 35 | import org.semanticweb.owlapi.model.OWLObjectHasValue; | ||
| 36 | import org.semanticweb.owlapi.model.OWLObjectIntersectionOf; | ||
| 37 | import org.semanticweb.owlapi.model.OWLObjectMaxCardinality; | ||
| 38 | import org.semanticweb.owlapi.model.OWLObjectMinCardinality; | ||
| 39 | import org.semanticweb.owlapi.model.OWLObjectOneOf; | ||
| 40 | import org.semanticweb.owlapi.model.OWLObjectPropertyExpression; | ||
| 41 | import org.semanticweb.owlapi.model.OWLObjectSomeValuesFrom; | ||
| 42 | import org.semanticweb.owlapi.model.OWLObjectUnionOf; | ||
| 43 | import org.semanticweb.owlapi.model.OWLOntology; | ||
| 44 | |||
| 45 | public class QueryGraph { | ||
| 46 | |||
| 47 | Set<Variable> freeVars = new HashSet<Variable>(); | ||
| 48 | Set<Variable> existVars = new HashSet<Variable>(); | ||
| 49 | Set<Individual> constants = new HashSet<Individual>(); | ||
| 50 | |||
| 51 | MultiMap<Term, OWLClassExpression> concepts = new MultiMap<Term, OWLClassExpression>(); | ||
| 52 | MultiMap<Term, ObjectEdge> rollable_edges = new MultiMap<Term, ObjectEdge>(); | ||
| 53 | MultiMap<Term, ObjectEdge> edges = new MultiMap<Term, ObjectEdge>(); | ||
| 54 | OWLOntology ontology; | ||
| 55 | OWLDataFactory factory; | ||
| 56 | |||
| 57 | public QueryGraph(Atom[] bodyAtoms, String[] distinguishedVars, OWLOntology onto) { | ||
| 58 | for (String vName: distinguishedVars) | ||
| 59 | freeVars.add(Variable.create(vName)); | ||
| 60 | |||
| 61 | ontology = onto; | ||
| 62 | factory = onto.getOWLOntologyManager().getOWLDataFactory(); | ||
| 63 | |||
| 64 | for (Atom atom: bodyAtoms) { | ||
| 65 | if (atom.getArity() == 1) { | ||
| 66 | updateExistentiallyVariables(atom.getArgumentVariable(0)); | ||
| 67 | IRI iri = IRI.create(((AtomicConcept) atom.getDLPredicate()).getIRI()); | ||
| 68 | if (ontology.containsClassInSignature(iri)) | ||
| 69 | concepts.add(atom.getArgument(0), factory.getOWLClass(IRI.create(((AtomicConcept) atom.getDLPredicate()).getIRI()))); | ||
| 70 | } | ||
| 71 | else if (atom.getArity() == 2) { | ||
| 72 | updateExistentiallyVariables(atom.getArgumentVariable(0)); | ||
| 73 | updateExistentiallyVariables(atom.getArgumentVariable(1)); | ||
| 74 | if (atom.getArgument(0).equals(atom.getArgument(1)) && atom.getArgument(0) instanceof Variable) { | ||
| 75 | concepts.add(atom.getArgument(0), factory.getOWLObjectHasSelf(factory.getOWLObjectProperty(IRI.create(((AtomicRole) atom.getDLPredicate()).getIRI())))); | ||
| 76 | } | ||
| 77 | else createEdges(atom.getArgument(0), (AtomicRole) atom.getDLPredicate(), atom.getArgument(1)); | ||
| 78 | } | ||
| 79 | } | ||
| 80 | |||
| 81 | rollup(); | ||
| 82 | } | ||
| 83 | |||
| 84 | private void updateExistentiallyVariables(Variable argumentVariable) { | ||
| 85 | if (freeVars.contains(argumentVariable)) return ; | ||
| 86 | existVars.add(argumentVariable); | ||
| 87 | } | ||
| 88 | |||
| 89 | public void createEdges(Term u, AtomicRole r, Term v) { | ||
| 90 | if (ontology.containsDataPropertyInSignature(IRI.create(r.getIRI()))) { | ||
| 91 | // edges.add(u, new DataEdge(r, v)); | ||
| 92 | Constant c = (Constant) v; | ||
| 93 | OWLLiteral l = factory.getOWLLiteral(c.getLexicalForm(), c.getDatatypeURI()); | ||
| 94 | concepts.add(u, factory.getOWLDataHasValue(factory.getOWLDataProperty(IRI.create(r.getIRI())), l)); | ||
| 95 | } | ||
| 96 | else { | ||
| 97 | boolean rollable = existVars.contains(u) || existVars.contains(v); | ||
| 98 | |||
| 99 | ObjectEdge edge = new ObjectEdge(r, v, false); | ||
| 100 | if (rollable) { | ||
| 101 | rollable_edges.add(u, edge); | ||
| 102 | edge = new ObjectEdge(r, u, true); | ||
| 103 | rollable_edges.add(v, edge); | ||
| 104 | } | ||
| 105 | else edges.add(u, edge); | ||
| 106 | |||
| 107 | } | ||
| 108 | } | ||
| 109 | |||
| 110 | private void rollup() { | ||
| 111 | for (boolean updated = true; updated; ) { | ||
| 112 | updated = false; | ||
| 113 | |||
| 114 | Set<ObjectEdge> set; | ||
| 115 | for (Variable var: existVars) { | ||
| 116 | if ((set = rollable_edges.map.get(var)) != null && set.size() == 1) { | ||
| 117 | updated = true; | ||
| 118 | ObjectEdge edge = set.iterator().next(); | ||
| 119 | rollupEdge(edge.v, edge.p.getInverseProperty().getSimplified(), var, true); | ||
| 120 | set.clear(); | ||
| 121 | } | ||
| 122 | } | ||
| 123 | if (updated) continue; | ||
| 124 | |||
| 125 | for (Variable var: existVars) { | ||
| 126 | set = rollable_edges.map.get(var); | ||
| 127 | if (set == null) continue; | ||
| 128 | for (Iterator<ObjectEdge> iter = set.iterator(); iter.hasNext(); ) { | ||
| 129 | ObjectEdge edge = iter.next(); | ||
| 130 | if (constants.contains(edge.v) || freeVars.contains(edge.v)) { | ||
| 131 | updated = true; | ||
| 132 | rollupEdge(var, edge.p, edge.v, false); | ||
| 133 | iter.remove(); | ||
| 134 | } | ||
| 135 | } | ||
| 136 | } | ||
| 137 | } | ||
| 138 | |||
| 139 | } | ||
| 140 | |||
| 141 | private void rollupEdge(Term u, OWLObjectPropertyExpression op, Term v, boolean inverse) { | ||
| 142 | if (existVars.contains(v)) { | ||
| 143 | concepts.add(u, factory.getOWLObjectSomeValuesFrom(op, factory.getOWLObjectIntersectionOf(concepts.get(v)))); | ||
| 144 | } | ||
| 145 | else { | ||
| 146 | OWLIndividual obj = getOWLIndividual(v); | ||
| 147 | concepts.add(u, factory.getOWLObjectHasValue(op, obj)); | ||
| 148 | } | ||
| 149 | |||
| 150 | if (inverse) | ||
| 151 | removeRollableEdge(u, op, v); | ||
| 152 | else | ||
| 153 | removeRollableEdge(v, op.getInverseProperty().getSimplified(), u); | ||
| 154 | } | ||
| 155 | |||
| 156 | private void removeRollableEdge(Term u, OWLObjectPropertyExpression op, Term v) { | ||
| 157 | Set<ObjectEdge> set = rollable_edges.get(u); | ||
| 158 | ObjectEdge edge; | ||
| 159 | if (set != null) | ||
| 160 | for (Iterator<ObjectEdge> iter = set.iterator(); iter.hasNext(); ) { | ||
| 161 | edge = iter.next(); | ||
| 162 | if (edge.p.equals(op) && edge.v.equals(v)) iter.remove(); | ||
| 163 | } | ||
| 164 | } | ||
| 165 | |||
| 166 | OWLNamedIndividual getOWLIndividual(Term t) { | ||
| 167 | if (freeVars.contains(t)) | ||
| 168 | return new VariableIndividual((Variable) t); | ||
| 169 | else if (t instanceof Variable) | ||
| 170 | return null; | ||
| 171 | else | ||
| 172 | return factory.getOWLNamedIndividual(IRI.create(((Individual) t).getIRI())); | ||
| 173 | } | ||
| 174 | |||
| 175 | class ObjectEdge { | ||
| 176 | OWLObjectPropertyExpression p; | ||
| 177 | Term v; | ||
| 178 | |||
| 179 | public ObjectEdge(AtomicRole r, Term t, boolean inverse) { | ||
| 180 | p = factory.getOWLObjectProperty(IRI.create(r.getIRI())); | ||
| 181 | if (inverse) p = p.getInverseProperty(); | ||
| 182 | v = t; | ||
| 183 | |||
| 184 | } | ||
| 185 | } | ||
| 186 | |||
| 187 | class MultiMap<K, V> { | ||
| 188 | |||
| 189 | HashMap<K, Set<V>> map = new HashMap<K, Set<V>>(); | ||
| 190 | |||
| 191 | void add(K key, V value) { | ||
| 192 | Set<V> list = map.get(key); | ||
| 193 | if (list == null) | ||
| 194 | map.put(key, list = new HashSet<V>()); | ||
| 195 | list.add(value); | ||
| 196 | } | ||
| 197 | |||
| 198 | public Set<V> get(K v) { | ||
| 199 | return map.get(v); | ||
| 200 | } | ||
| 201 | |||
| 202 | public boolean isEmpty() { | ||
| 203 | for (Map.Entry<K, Set<V>> entry: map.entrySet()) | ||
| 204 | if (!entry.getValue().isEmpty()) | ||
| 205 | return false; | ||
| 206 | return true; | ||
| 207 | } | ||
| 208 | |||
| 209 | } | ||
| 210 | |||
| 211 | public Set<OWLAxiom> getPropertyAssertions(Map<Variable, Term> assignment) { | ||
| 212 | OWLIndividual sub, obj; | ||
| 213 | Set<OWLAxiom> axioms = new HashSet<OWLAxiom>(); | ||
| 214 | for (Map.Entry<Term, Set<ObjectEdge>> entry: edges.map.entrySet()) { | ||
| 215 | sub = factory.getOWLNamedIndividual(IRI.create(getIndividual(entry.getKey(), assignment).getIRI())); | ||
| 216 | for (ObjectEdge edge: entry.getValue()) { | ||
| 217 | obj = factory.getOWLNamedIndividual(IRI.create(getIndividual(edge.v, assignment).getIRI())); | ||
| 218 | axioms.add(factory.getOWLObjectPropertyAssertionAxiom(edge.p, sub, obj)); | ||
| 219 | } | ||
| 220 | } | ||
| 221 | return axioms; | ||
| 222 | } | ||
| 223 | |||
| 224 | public Set<OWLAxiom> getAssertions(Map<Variable, Term> assignment) { | ||
| 225 | if (!rollable_edges.isEmpty()) return null; | ||
| 226 | |||
| 227 | OWLIndividual sub; | ||
| 228 | Visitor visitor = new Visitor(factory, assignment); | ||
| 229 | Set<OWLAxiom> axioms = getPropertyAssertions(assignment); | ||
| 230 | for (Map.Entry<Term, Set<OWLClassExpression>> entry: concepts.map.entrySet()) { | ||
| 231 | if (existVars.contains(entry.getKey())) continue; | ||
| 232 | sub = factory.getOWLNamedIndividual(IRI.create(getIndividual(entry.getKey(), assignment).getIRI())); | ||
| 233 | for (OWLClassExpression clsExp: entry.getValue()) { | ||
| 234 | axioms.add(factory.getOWLClassAssertionAxiom(clsExp.accept(visitor), sub)); | ||
| 235 | } | ||
| 236 | } | ||
| 237 | return axioms; | ||
| 238 | } | ||
| 239 | |||
| 240 | private Individual getIndividual(Term key, Map<Variable, Term> assignment) { | ||
| 241 | if (key instanceof Individual) | ||
| 242 | return (Individual) key; | ||
| 243 | else | ||
| 244 | return (Individual) assignment.get(key); | ||
| 245 | } | ||
| 246 | } | ||
| 247 | |||
| 248 | class Visitor implements OWLClassExpressionVisitorEx<OWLClassExpression> { | ||
| 249 | |||
| 250 | OWLDataFactory factory; | ||
| 251 | Map<Variable, Term> assignment; | ||
| 252 | |||
| 253 | public Visitor(OWLDataFactory factory, Map<Variable, Term> assignment) { | ||
| 254 | this.factory = factory; | ||
| 255 | this.assignment = assignment; | ||
| 256 | } | ||
| 257 | |||
| 258 | @Override | ||
| 259 | public OWLClassExpression visit(OWLClass ce) { | ||
| 260 | // TODO Auto-generated method stub | ||
| 261 | return ce; | ||
| 262 | } | ||
| 263 | |||
| 264 | @Override | ||
| 265 | public OWLClassExpression visit(OWLObjectIntersectionOf ce) { | ||
| 266 | Set<OWLClassExpression> clsExps = new HashSet<OWLClassExpression>(); | ||
| 267 | OWLClassExpression newExp; | ||
| 268 | boolean updated = false; | ||
| 269 | for (OWLClassExpression clsExp: ce.asConjunctSet()) { | ||
| 270 | clsExps.add(newExp = clsExp.accept(this)); | ||
| 271 | if (newExp != clsExp) updated = true; | ||
| 272 | } | ||
| 273 | |||
| 274 | if (updated) return factory.getOWLObjectIntersectionOf(clsExps); | ||
| 275 | else return ce; | ||
| 276 | } | ||
| 277 | |||
| 278 | @Override | ||
| 279 | public OWLClassExpression visit(OWLObjectUnionOf ce) { | ||
| 280 | // TODO Auto-generated method stub | ||
| 281 | return ce; | ||
| 282 | } | ||
| 283 | |||
| 284 | @Override | ||
| 285 | public OWLClassExpression visit(OWLObjectComplementOf ce) { | ||
| 286 | // TODO Auto-generated method stub | ||
| 287 | return ce; | ||
| 288 | } | ||
| 289 | |||
| 290 | @Override | ||
| 291 | public OWLClassExpression visit(OWLObjectSomeValuesFrom ce) { | ||
| 292 | OWLClassExpression newFiller = ce.getFiller().accept(this); | ||
| 293 | if (newFiller == ce.getFiller()) return ce; | ||
| 294 | return factory.getOWLObjectSomeValuesFrom(ce.getProperty(), newFiller); | ||
| 295 | } | ||
| 296 | |||
| 297 | @Override | ||
| 298 | public OWLClassExpression visit(OWLObjectAllValuesFrom ce) { | ||
| 299 | // TODO Auto-generated method stub | ||
| 300 | return ce; | ||
| 301 | } | ||
| 302 | |||
| 303 | @Override | ||
| 304 | public OWLClassExpression visit(OWLObjectHasValue ce) { | ||
| 305 | if (ce.getFiller() instanceof VariableIndividual) { | ||
| 306 | Individual c = (Individual) assignment.get(((VariableIndividual) ce.getFiller()).var); | ||
| 307 | OWLIndividual l = factory.getOWLNamedIndividual(IRI.create(c.getIRI())); | ||
| 308 | return factory.getOWLObjectHasValue(ce.getProperty(), l); | ||
| 309 | } | ||
| 310 | return ce; | ||
| 311 | } | ||
| 312 | |||
| 313 | @Override | ||
| 314 | public OWLClassExpression visit(OWLObjectMinCardinality ce) { | ||
| 315 | // TODO Auto-generated method stub | ||
| 316 | return ce; | ||
| 317 | } | ||
| 318 | |||
| 319 | @Override | ||
| 320 | public OWLClassExpression visit(OWLObjectExactCardinality ce) { | ||
| 321 | // TODO Auto-generated method stub | ||
| 322 | return ce; | ||
| 323 | } | ||
| 324 | |||
| 325 | @Override | ||
| 326 | public OWLClassExpression visit(OWLObjectMaxCardinality ce) { | ||
| 327 | // TODO Auto-generated method stub | ||
| 328 | return ce; | ||
| 329 | } | ||
| 330 | |||
| 331 | @Override | ||
| 332 | public OWLClassExpression visit(OWLObjectHasSelf ce) { | ||
| 333 | // TODO Auto-generated method stub | ||
| 334 | return ce; | ||
| 335 | } | ||
| 336 | |||
| 337 | @Override | ||
| 338 | public OWLClassExpression visit(OWLObjectOneOf ce) { | ||
| 339 | // TODO Auto-generated method stub | ||
| 340 | return ce; | ||
| 341 | } | ||
| 342 | |||
| 343 | @Override | ||
| 344 | public OWLClassExpression visit(OWLDataSomeValuesFrom ce) { | ||
| 345 | // TODO Auto-generated method stub | ||
| 346 | return ce; | ||
| 347 | } | ||
| 348 | |||
| 349 | @Override | ||
| 350 | public OWLClassExpression visit(OWLDataAllValuesFrom ce) { | ||
| 351 | // TODO Auto-generated method stub | ||
| 352 | return ce; | ||
| 353 | } | ||
| 354 | |||
| 355 | @Override | ||
| 356 | public OWLClassExpression visit(OWLDataHasValue ce) { | ||
| 357 | if (ce.getFiller() instanceof VariableConstant) { | ||
| 358 | Constant c = (Constant) assignment.get(((VariableConstant) ce.getFiller()).var); | ||
| 359 | OWLLiteral l = factory.getOWLLiteral(c.getLexicalForm(), c.getDatatypeURI()); | ||
| 360 | return factory.getOWLDataHasValue(ce.getProperty(), l); | ||
| 361 | } | ||
| 362 | return ce; | ||
| 363 | } | ||
| 364 | |||
| 365 | @Override | ||
| 366 | public OWLClassExpression visit(OWLDataMinCardinality ce) { | ||
| 367 | // TODO Auto-generated method stub | ||
| 368 | return ce; | ||
| 369 | } | ||
| 370 | |||
| 371 | @Override | ||
| 372 | public OWLClassExpression visit(OWLDataExactCardinality ce) { | ||
| 373 | // TODO Auto-generated method stub | ||
| 374 | return ce; | ||
| 375 | } | ||
| 376 | |||
| 377 | @Override | ||
| 378 | public OWLClassExpression visit(OWLDataMaxCardinality ce) { | ||
| 379 | // TODO Auto-generated method stub | ||
| 380 | return ce; | ||
| 381 | } | ||
| 382 | |||
| 383 | } \ No newline at end of file | ||
diff --git a/src/uk/ac/ox/cs/pagoda/query/rollup/VariableConstant.java b/src/uk/ac/ox/cs/pagoda/query/rollup/VariableConstant.java new file mode 100644 index 0000000..3140fa4 --- /dev/null +++ b/src/uk/ac/ox/cs/pagoda/query/rollup/VariableConstant.java | |||
| @@ -0,0 +1,227 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.query.rollup; | ||
| 2 | |||
| 3 | import java.util.Set; | ||
| 4 | |||
| 5 | import org.semanticweb.HermiT.model.Variable; | ||
| 6 | import org.semanticweb.owlapi.model.OWLAnnotationValueVisitor; | ||
| 7 | import org.semanticweb.owlapi.model.OWLAnnotationValueVisitorEx; | ||
| 8 | import org.semanticweb.owlapi.model.OWLAnonymousIndividual; | ||
| 9 | import org.semanticweb.owlapi.model.OWLClass; | ||
| 10 | import org.semanticweb.owlapi.model.OWLClassExpression; | ||
| 11 | import org.semanticweb.owlapi.model.OWLDataProperty; | ||
| 12 | import org.semanticweb.owlapi.model.OWLDataVisitor; | ||
| 13 | import org.semanticweb.owlapi.model.OWLDataVisitorEx; | ||
| 14 | import org.semanticweb.owlapi.model.OWLDatatype; | ||
| 15 | import org.semanticweb.owlapi.model.OWLEntity; | ||
| 16 | import org.semanticweb.owlapi.model.OWLLiteral; | ||
| 17 | import org.semanticweb.owlapi.model.OWLNamedIndividual; | ||
| 18 | import org.semanticweb.owlapi.model.OWLObject; | ||
| 19 | import org.semanticweb.owlapi.model.OWLObjectProperty; | ||
| 20 | import org.semanticweb.owlapi.model.OWLObjectVisitor; | ||
| 21 | import org.semanticweb.owlapi.model.OWLObjectVisitorEx; | ||
| 22 | |||
| 23 | class VariableConstant implements OWLLiteral { | ||
| 24 | |||
| 25 | /** | ||
| 26 | * | ||
| 27 | */ | ||
| 28 | private static final long serialVersionUID = 5089014375729171030L; | ||
| 29 | Variable var; | ||
| 30 | |||
| 31 | public VariableConstant(Variable v) { | ||
| 32 | var = v; | ||
| 33 | } | ||
| 34 | |||
| 35 | @Override | ||
| 36 | public Set<OWLEntity> getSignature() { | ||
| 37 | // TODO Auto-generated method stub | ||
| 38 | return null; | ||
| 39 | } | ||
| 40 | |||
| 41 | @Override | ||
| 42 | public Set<OWLAnonymousIndividual> getAnonymousIndividuals() { | ||
| 43 | // TODO Auto-generated method stub | ||
| 44 | return null; | ||
| 45 | } | ||
| 46 | |||
| 47 | @Override | ||
| 48 | public Set<OWLClass> getClassesInSignature() { | ||
| 49 | // TODO Auto-generated method stub | ||
| 50 | return null; | ||
| 51 | } | ||
| 52 | |||
| 53 | @Override | ||
| 54 | public Set<OWLDataProperty> getDataPropertiesInSignature() { | ||
| 55 | // TODO Auto-generated method stub | ||
| 56 | return null; | ||
| 57 | } | ||
| 58 | |||
| 59 | @Override | ||
| 60 | public Set<OWLObjectProperty> getObjectPropertiesInSignature() { | ||
| 61 | // TODO Auto-generated method stub | ||
| 62 | return null; | ||
| 63 | } | ||
| 64 | |||
| 65 | @Override | ||
| 66 | public Set<OWLNamedIndividual> getIndividualsInSignature() { | ||
| 67 | // TODO Auto-generated method stub | ||
| 68 | return null; | ||
| 69 | } | ||
| 70 | |||
| 71 | @Override | ||
| 72 | public Set<OWLDatatype> getDatatypesInSignature() { | ||
| 73 | // TODO Auto-generated method stub | ||
| 74 | return null; | ||
| 75 | } | ||
| 76 | |||
| 77 | @Override | ||
| 78 | public Set<OWLClassExpression> getNestedClassExpressions() { | ||
| 79 | // TODO Auto-generated method stub | ||
| 80 | return null; | ||
| 81 | } | ||
| 82 | |||
| 83 | @Override | ||
| 84 | public void accept(OWLObjectVisitor visitor) { | ||
| 85 | // TODO Auto-generated method stub | ||
| 86 | |||
| 87 | } | ||
| 88 | |||
| 89 | @Override | ||
| 90 | public <O> O accept(OWLObjectVisitorEx<O> visitor) { | ||
| 91 | // TODO Auto-generated method stub | ||
| 92 | return null; | ||
| 93 | } | ||
| 94 | |||
| 95 | @Override | ||
| 96 | public boolean isTopEntity() { | ||
| 97 | // TODO Auto-generated method stub | ||
| 98 | return false; | ||
| 99 | } | ||
| 100 | |||
| 101 | @Override | ||
| 102 | public boolean isBottomEntity() { | ||
| 103 | // TODO Auto-generated method stub | ||
| 104 | return false; | ||
| 105 | } | ||
| 106 | |||
| 107 | @Override | ||
| 108 | public int compareTo(OWLObject arg0) { | ||
| 109 | // TODO Auto-generated method stub | ||
| 110 | return 0; | ||
| 111 | } | ||
| 112 | |||
| 113 | @Override | ||
| 114 | public boolean containsEntityInSignature(OWLEntity owlEntity) { | ||
| 115 | // TODO Auto-generated method stub | ||
| 116 | return false; | ||
| 117 | } | ||
| 118 | |||
| 119 | @Override | ||
| 120 | public void accept(OWLAnnotationValueVisitor visitor) { | ||
| 121 | // TODO Auto-generated method stub | ||
| 122 | |||
| 123 | } | ||
| 124 | |||
| 125 | @Override | ||
| 126 | public <O> O accept(OWLAnnotationValueVisitorEx<O> visitor) { | ||
| 127 | // TODO Auto-generated method stub | ||
| 128 | return null; | ||
| 129 | } | ||
| 130 | |||
| 131 | @Override | ||
| 132 | public boolean isRDFPlainLiteral() { | ||
| 133 | // TODO Auto-generated method stub | ||
| 134 | return false; | ||
| 135 | } | ||
| 136 | |||
| 137 | @Override | ||
| 138 | public String getLiteral() { | ||
| 139 | // TODO Auto-generated method stub | ||
| 140 | return null; | ||
| 141 | } | ||
| 142 | |||
| 143 | @Override | ||
| 144 | public OWLDatatype getDatatype() { | ||
| 145 | // TODO Auto-generated method stub | ||
| 146 | return null; | ||
| 147 | } | ||
| 148 | |||
| 149 | @Override | ||
| 150 | public boolean hasLang() { | ||
| 151 | // TODO Auto-generated method stub | ||
| 152 | return false; | ||
| 153 | } | ||
| 154 | |||
| 155 | @Override | ||
| 156 | public String getLang() { | ||
| 157 | // TODO Auto-generated method stub | ||
| 158 | return null; | ||
| 159 | } | ||
| 160 | |||
| 161 | @Override | ||
| 162 | public boolean hasLang(String lang) { | ||
| 163 | // TODO Auto-generated method stub | ||
| 164 | return false; | ||
| 165 | } | ||
| 166 | |||
| 167 | @Override | ||
| 168 | public boolean isInteger() { | ||
| 169 | // TODO Auto-generated method stub | ||
| 170 | return false; | ||
| 171 | } | ||
| 172 | |||
| 173 | @Override | ||
| 174 | public int parseInteger() throws NumberFormatException { | ||
| 175 | // TODO Auto-generated method stub | ||
| 176 | return 0; | ||
| 177 | } | ||
| 178 | |||
| 179 | @Override | ||
| 180 | public boolean isBoolean() { | ||
| 181 | // TODO Auto-generated method stub | ||
| 182 | return false; | ||
| 183 | } | ||
| 184 | |||
| 185 | @Override | ||
| 186 | public boolean parseBoolean() throws NumberFormatException { | ||
| 187 | // TODO Auto-generated method stub | ||
| 188 | return false; | ||
| 189 | } | ||
| 190 | |||
| 191 | @Override | ||
| 192 | public boolean isDouble() { | ||
| 193 | // TODO Auto-generated method stub | ||
| 194 | return false; | ||
| 195 | } | ||
| 196 | |||
| 197 | @Override | ||
| 198 | public double parseDouble() throws NumberFormatException { | ||
| 199 | // TODO Auto-generated method stub | ||
| 200 | return 0; | ||
| 201 | } | ||
| 202 | |||
| 203 | @Override | ||
| 204 | public boolean isFloat() { | ||
| 205 | // TODO Auto-generated method stub | ||
| 206 | return false; | ||
| 207 | } | ||
| 208 | |||
| 209 | @Override | ||
| 210 | public float parseFloat() throws NumberFormatException { | ||
| 211 | // TODO Auto-generated method stub | ||
| 212 | return 0; | ||
| 213 | } | ||
| 214 | |||
| 215 | @Override | ||
| 216 | public void accept(OWLDataVisitor visitor) { | ||
| 217 | // TODO Auto-generated method stub | ||
| 218 | |||
| 219 | } | ||
| 220 | |||
| 221 | @Override | ||
| 222 | public <O> O accept(OWLDataVisitorEx<O> visitor) { | ||
| 223 | // TODO Auto-generated method stub | ||
| 224 | return null; | ||
| 225 | } | ||
| 226 | |||
| 227 | } | ||
diff --git a/src/uk/ac/ox/cs/pagoda/query/rollup/VariableIndividual.java b/src/uk/ac/ox/cs/pagoda/query/rollup/VariableIndividual.java new file mode 100644 index 0000000..53288e5 --- /dev/null +++ b/src/uk/ac/ox/cs/pagoda/query/rollup/VariableIndividual.java | |||
| @@ -0,0 +1,416 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.query.rollup; | ||
| 2 | |||
| 3 | import java.util.Map; | ||
| 4 | import java.util.Set; | ||
| 5 | |||
| 6 | import org.semanticweb.HermiT.model.Variable; | ||
| 7 | import org.semanticweb.owlapi.model.EntityType; | ||
| 8 | import org.semanticweb.owlapi.model.IRI; | ||
| 9 | import org.semanticweb.owlapi.model.OWLAnnotation; | ||
| 10 | import org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom; | ||
| 11 | import org.semanticweb.owlapi.model.OWLAnnotationProperty; | ||
| 12 | import org.semanticweb.owlapi.model.OWLAnonymousIndividual; | ||
| 13 | import org.semanticweb.owlapi.model.OWLAxiom; | ||
| 14 | import org.semanticweb.owlapi.model.OWLClass; | ||
| 15 | import org.semanticweb.owlapi.model.OWLClassExpression; | ||
| 16 | import org.semanticweb.owlapi.model.OWLDataProperty; | ||
| 17 | import org.semanticweb.owlapi.model.OWLDataPropertyExpression; | ||
| 18 | import org.semanticweb.owlapi.model.OWLDatatype; | ||
| 19 | import org.semanticweb.owlapi.model.OWLEntity; | ||
| 20 | import org.semanticweb.owlapi.model.OWLEntityVisitor; | ||
| 21 | import org.semanticweb.owlapi.model.OWLEntityVisitorEx; | ||
| 22 | import org.semanticweb.owlapi.model.OWLIndividual; | ||
| 23 | import org.semanticweb.owlapi.model.OWLIndividualVisitor; | ||
| 24 | import org.semanticweb.owlapi.model.OWLIndividualVisitorEx; | ||
| 25 | import org.semanticweb.owlapi.model.OWLLiteral; | ||
| 26 | import org.semanticweb.owlapi.model.OWLNamedIndividual; | ||
| 27 | import org.semanticweb.owlapi.model.OWLNamedObjectVisitor; | ||
| 28 | import org.semanticweb.owlapi.model.OWLObject; | ||
| 29 | import org.semanticweb.owlapi.model.OWLObjectProperty; | ||
| 30 | import org.semanticweb.owlapi.model.OWLObjectPropertyExpression; | ||
| 31 | import org.semanticweb.owlapi.model.OWLObjectVisitor; | ||
| 32 | import org.semanticweb.owlapi.model.OWLObjectVisitorEx; | ||
| 33 | import org.semanticweb.owlapi.model.OWLOntology; | ||
| 34 | |||
| 35 | class VariableIndividual implements OWLNamedIndividual { | ||
| 36 | |||
| 37 | /** | ||
| 38 | * | ||
| 39 | */ | ||
| 40 | private static final long serialVersionUID = 3002966246639516395L; | ||
| 41 | Variable var; | ||
| 42 | |||
| 43 | public VariableIndividual(Variable v) { | ||
| 44 | var = v; | ||
| 45 | } | ||
| 46 | |||
| 47 | @Override | ||
| 48 | public boolean isNamed() { | ||
| 49 | // TODO Auto-generated method stub | ||
| 50 | return false; | ||
| 51 | } | ||
| 52 | |||
| 53 | @Override | ||
| 54 | public boolean isAnonymous() { | ||
| 55 | // TODO Auto-generated method stub | ||
| 56 | return false; | ||
| 57 | } | ||
| 58 | |||
| 59 | @Override | ||
| 60 | public OWLNamedIndividual asOWLNamedIndividual() { | ||
| 61 | // TODO Auto-generated method stub | ||
| 62 | return null; | ||
| 63 | } | ||
| 64 | |||
| 65 | @Override | ||
| 66 | public OWLAnonymousIndividual asOWLAnonymousIndividual() { | ||
| 67 | // TODO Auto-generated method stub | ||
| 68 | return null; | ||
| 69 | } | ||
| 70 | |||
| 71 | @Override | ||
| 72 | public Set<OWLClassExpression> getTypes(OWLOntology ontology) { | ||
| 73 | // TODO Auto-generated method stub | ||
| 74 | return null; | ||
| 75 | } | ||
| 76 | |||
| 77 | @Override | ||
| 78 | public Set<OWLClassExpression> getTypes(Set<OWLOntology> ontologies) { | ||
| 79 | // TODO Auto-generated method stub | ||
| 80 | return null; | ||
| 81 | } | ||
| 82 | |||
| 83 | @Override | ||
| 84 | public Map<OWLObjectPropertyExpression, Set<OWLIndividual>> getObjectPropertyValues( | ||
| 85 | OWLOntology ontology) { | ||
| 86 | // TODO Auto-generated method stub | ||
| 87 | return null; | ||
| 88 | } | ||
| 89 | |||
| 90 | @Override | ||
| 91 | public Set<OWLIndividual> getObjectPropertyValues( | ||
| 92 | OWLObjectPropertyExpression property, OWLOntology ontology) { | ||
| 93 | // TODO Auto-generated method stub | ||
| 94 | return null; | ||
| 95 | } | ||
| 96 | |||
| 97 | @Override | ||
| 98 | public boolean hasObjectPropertyValue(OWLObjectPropertyExpression property, | ||
| 99 | OWLIndividual individual, OWLOntology ontology) { | ||
| 100 | // TODO Auto-generated method stub | ||
| 101 | return false; | ||
| 102 | } | ||
| 103 | |||
| 104 | @Override | ||
| 105 | public boolean hasDataPropertyValue(OWLDataPropertyExpression property, | ||
| 106 | OWLLiteral value, OWLOntology ontology) { | ||
| 107 | // TODO Auto-generated method stub | ||
| 108 | return false; | ||
| 109 | } | ||
| 110 | |||
| 111 | @Override | ||
| 112 | public boolean hasNegativeObjectPropertyValue( | ||
| 113 | OWLObjectPropertyExpression property, OWLIndividual individual, | ||
| 114 | OWLOntology ontology) { | ||
| 115 | // TODO Auto-generated method stub | ||
| 116 | return false; | ||
| 117 | } | ||
| 118 | |||
| 119 | @Override | ||
| 120 | public Map<OWLObjectPropertyExpression, Set<OWLIndividual>> getNegativeObjectPropertyValues( | ||
| 121 | OWLOntology ontology) { | ||
| 122 | // TODO Auto-generated method stub | ||
| 123 | return null; | ||
| 124 | } | ||
| 125 | |||
| 126 | @Override | ||
| 127 | public Map<OWLDataPropertyExpression, Set<OWLLiteral>> getDataPropertyValues( | ||
| 128 | OWLOntology ontology) { | ||
| 129 | // TODO Auto-generated method stub | ||
| 130 | return null; | ||
| 131 | } | ||
| 132 | |||
| 133 | @Override | ||
| 134 | public Set<OWLLiteral> getDataPropertyValues( | ||
| 135 | OWLDataPropertyExpression property, OWLOntology ontology) { | ||
| 136 | // TODO Auto-generated method stub | ||
| 137 | return null; | ||
| 138 | } | ||
| 139 | |||
| 140 | @Override | ||
| 141 | public Map<OWLDataPropertyExpression, Set<OWLLiteral>> getNegativeDataPropertyValues( | ||
| 142 | OWLOntology ontology) { | ||
| 143 | // TODO Auto-generated method stub | ||
| 144 | return null; | ||
| 145 | } | ||
| 146 | |||
| 147 | @Override | ||
| 148 | public boolean hasNegativeDataPropertyValue( | ||
| 149 | OWLDataPropertyExpression property, OWLLiteral literal, | ||
| 150 | OWLOntology ontology) { | ||
| 151 | // TODO Auto-generated method stub | ||
| 152 | return false; | ||
| 153 | } | ||
| 154 | |||
| 155 | @Override | ||
| 156 | public Set<OWLIndividual> getSameIndividuals(OWLOntology ontology) { | ||
| 157 | // TODO Auto-generated method stub | ||
| 158 | return null; | ||
| 159 | } | ||
| 160 | |||
| 161 | @Override | ||
| 162 | public Set<OWLIndividual> getDifferentIndividuals(OWLOntology ontology) { | ||
| 163 | // TODO Auto-generated method stub | ||
| 164 | return null; | ||
| 165 | } | ||
| 166 | |||
| 167 | @Override | ||
| 168 | public String toStringID() { | ||
| 169 | // TODO Auto-generated method stub | ||
| 170 | return null; | ||
| 171 | } | ||
| 172 | |||
| 173 | @Override | ||
| 174 | public void accept(OWLIndividualVisitor visitor) { | ||
| 175 | // TODO Auto-generated method stub | ||
| 176 | |||
| 177 | } | ||
| 178 | |||
| 179 | @Override | ||
| 180 | public <O> O accept(OWLIndividualVisitorEx<O> visitor) { | ||
| 181 | // TODO Auto-generated method stub | ||
| 182 | return null; | ||
| 183 | } | ||
| 184 | |||
| 185 | @Override | ||
| 186 | public Set<OWLEntity> getSignature() { | ||
| 187 | // TODO Auto-generated method stub | ||
| 188 | return null; | ||
| 189 | } | ||
| 190 | |||
| 191 | @Override | ||
| 192 | public Set<OWLAnonymousIndividual> getAnonymousIndividuals() { | ||
| 193 | // TODO Auto-generated method stub | ||
| 194 | return null; | ||
| 195 | } | ||
| 196 | |||
| 197 | @Override | ||
| 198 | public Set<OWLClass> getClassesInSignature() { | ||
| 199 | // TODO Auto-generated method stub | ||
| 200 | return null; | ||
| 201 | } | ||
| 202 | |||
| 203 | @Override | ||
| 204 | public Set<OWLDataProperty> getDataPropertiesInSignature() { | ||
| 205 | // TODO Auto-generated method stub | ||
| 206 | return null; | ||
| 207 | } | ||
| 208 | |||
| 209 | @Override | ||
| 210 | public Set<OWLObjectProperty> getObjectPropertiesInSignature() { | ||
| 211 | // TODO Auto-generated method stub | ||
| 212 | return null; | ||
| 213 | } | ||
| 214 | |||
| 215 | @Override | ||
| 216 | public Set<OWLNamedIndividual> getIndividualsInSignature() { | ||
| 217 | // TODO Auto-generated method stub | ||
| 218 | return null; | ||
| 219 | } | ||
| 220 | |||
| 221 | @Override | ||
| 222 | public Set<OWLDatatype> getDatatypesInSignature() { | ||
| 223 | // TODO Auto-generated method stub | ||
| 224 | return null; | ||
| 225 | } | ||
| 226 | |||
| 227 | @Override | ||
| 228 | public Set<OWLClassExpression> getNestedClassExpressions() { | ||
| 229 | // TODO Auto-generated method stub | ||
| 230 | return null; | ||
| 231 | } | ||
| 232 | |||
| 233 | @Override | ||
| 234 | public void accept(OWLObjectVisitor visitor) { | ||
| 235 | // TODO Auto-generated method stub | ||
| 236 | |||
| 237 | } | ||
| 238 | |||
| 239 | @Override | ||
| 240 | public <O> O accept(OWLObjectVisitorEx<O> visitor) { | ||
| 241 | // TODO Auto-generated method stub | ||
| 242 | return null; | ||
| 243 | } | ||
| 244 | |||
| 245 | @Override | ||
| 246 | public boolean isTopEntity() { | ||
| 247 | // TODO Auto-generated method stub | ||
| 248 | return false; | ||
| 249 | } | ||
| 250 | |||
| 251 | @Override | ||
| 252 | public boolean isBottomEntity() { | ||
| 253 | // TODO Auto-generated method stub | ||
| 254 | return false; | ||
| 255 | } | ||
| 256 | |||
| 257 | @Override | ||
| 258 | public int compareTo(OWLObject arg0) { | ||
| 259 | // TODO Auto-generated method stub | ||
| 260 | return 0; | ||
| 261 | } | ||
| 262 | |||
| 263 | @Override | ||
| 264 | public boolean containsEntityInSignature(OWLEntity owlEntity) { | ||
| 265 | // TODO Auto-generated method stub | ||
| 266 | return false; | ||
| 267 | } | ||
| 268 | |||
| 269 | @Override | ||
| 270 | public EntityType<?> getEntityType() { | ||
| 271 | // TODO Auto-generated method stub | ||
| 272 | return null; | ||
| 273 | } | ||
| 274 | |||
| 275 | @Override | ||
| 276 | public <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType) { | ||
| 277 | // TODO Auto-generated method stub | ||
| 278 | return null; | ||
| 279 | } | ||
| 280 | |||
| 281 | @Override | ||
| 282 | public boolean isType(EntityType<?> entityType) { | ||
| 283 | // TODO Auto-generated method stub | ||
| 284 | return false; | ||
| 285 | } | ||
| 286 | |||
| 287 | @Override | ||
| 288 | public Set<OWLAnnotation> getAnnotations(OWLOntology ontology) { | ||
| 289 | // TODO Auto-generated method stub | ||
| 290 | return null; | ||
| 291 | } | ||
| 292 | |||
| 293 | @Override | ||
| 294 | public Set<OWLAnnotation> getAnnotations(OWLOntology ontology, | ||
| 295 | OWLAnnotationProperty annotationProperty) { | ||
| 296 | // TODO Auto-generated method stub | ||
| 297 | return null; | ||
| 298 | } | ||
| 299 | |||
| 300 | @Override | ||
| 301 | public Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms( | ||
| 302 | OWLOntology ontology) { | ||
| 303 | // TODO Auto-generated method stub | ||
| 304 | return null; | ||
| 305 | } | ||
| 306 | |||
| 307 | @Override | ||
| 308 | public boolean isBuiltIn() { | ||
| 309 | // TODO Auto-generated method stub | ||
| 310 | return false; | ||
| 311 | } | ||
| 312 | |||
| 313 | @Override | ||
| 314 | public boolean isOWLClass() { | ||
| 315 | // TODO Auto-generated method stub | ||
| 316 | return false; | ||
| 317 | } | ||
| 318 | |||
| 319 | @Override | ||
| 320 | public OWLClass asOWLClass() { | ||
| 321 | // TODO Auto-generated method stub | ||
| 322 | return null; | ||
| 323 | } | ||
| 324 | |||
| 325 | @Override | ||
| 326 | public boolean isOWLObjectProperty() { | ||
| 327 | // TODO Auto-generated method stub | ||
| 328 | return false; | ||
| 329 | } | ||
| 330 | |||
| 331 | @Override | ||
| 332 | public OWLObjectProperty asOWLObjectProperty() { | ||
| 333 | // TODO Auto-generated method stub | ||
| 334 | return null; | ||
| 335 | } | ||
| 336 | |||
| 337 | @Override | ||
| 338 | public boolean isOWLDataProperty() { | ||
| 339 | // TODO Auto-generated method stub | ||
| 340 | return false; | ||
| 341 | } | ||
| 342 | |||
| 343 | @Override | ||
| 344 | public OWLDataProperty asOWLDataProperty() { | ||
| 345 | // TODO Auto-generated method stub | ||
| 346 | return null; | ||
| 347 | } | ||
| 348 | |||
| 349 | @Override | ||
| 350 | public boolean isOWLNamedIndividual() { | ||
| 351 | // TODO Auto-generated method stub | ||
| 352 | return false; | ||
| 353 | } | ||
| 354 | |||
| 355 | @Override | ||
| 356 | public boolean isOWLDatatype() { | ||
| 357 | // TODO Auto-generated method stub | ||
| 358 | return false; | ||
| 359 | } | ||
| 360 | |||
| 361 | @Override | ||
| 362 | public OWLDatatype asOWLDatatype() { | ||
| 363 | // TODO Auto-generated method stub | ||
| 364 | return null; | ||
| 365 | } | ||
| 366 | |||
| 367 | @Override | ||
| 368 | public boolean isOWLAnnotationProperty() { | ||
| 369 | // TODO Auto-generated method stub | ||
| 370 | return false; | ||
| 371 | } | ||
| 372 | |||
| 373 | @Override | ||
| 374 | public OWLAnnotationProperty asOWLAnnotationProperty() { | ||
| 375 | // TODO Auto-generated method stub | ||
| 376 | return null; | ||
| 377 | } | ||
| 378 | |||
| 379 | @Override | ||
| 380 | public Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology) { | ||
| 381 | // TODO Auto-generated method stub | ||
| 382 | return null; | ||
| 383 | } | ||
| 384 | |||
| 385 | @Override | ||
| 386 | public Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology, | ||
| 387 | boolean includeImports) { | ||
| 388 | // TODO Auto-generated method stub | ||
| 389 | return null; | ||
| 390 | } | ||
| 391 | |||
| 392 | @Override | ||
| 393 | public void accept(OWLEntityVisitor visitor) { | ||
| 394 | // TODO Auto-generated method stub | ||
| 395 | |||
| 396 | } | ||
| 397 | |||
| 398 | @Override | ||
| 399 | public <O> O accept(OWLEntityVisitorEx<O> visitor) { | ||
| 400 | // TODO Auto-generated method stub | ||
| 401 | return null; | ||
| 402 | } | ||
| 403 | |||
| 404 | @Override | ||
| 405 | public IRI getIRI() { | ||
| 406 | // TODO Auto-generated method stub | ||
| 407 | return null; | ||
| 408 | } | ||
| 409 | |||
| 410 | @Override | ||
| 411 | public void accept(OWLNamedObjectVisitor visitor) { | ||
| 412 | // TODO Auto-generated method stub | ||
| 413 | |||
| 414 | } | ||
| 415 | |||
| 416 | } | ||
