Lines Matching refs:Resource

174 import com.hp.hpl.jena.rdf.model.Resource;

348 protected Resource asResource(URI uri) {
352 protected boolean containsResource(Resource r) {
400 public OWLClass getClass(Resource res) {
411 Resource res = ontModel.getIndividual(uri.toString());
453 (Resource) ind1.getImplementation(),
455 (Resource) ind2.getImplementation());
462 (Resource) ind.getImplementation()),
468 (Resource) ind1.getImplementation(),
470 (Resource) ind2.getImplementation());
477 (Resource) ind.getImplementation()),
486 (Resource) c1.getImplementation(),
488 (Resource) c2.getImplementation());
496 (Resource) c1.getImplementation(),
498 (Resource) c2.getImplementation());
510 (Resource) t1.getImplementation(),
512 (Resource) t2.getImplementation());
546 (Resource) c.getImplementation()),
555 (Resource) p.getImplementation()),
562 (Resource) p.getImplementation()),
572 (Resource) p.getImplementation()),
579 (Resource) p.getImplementation()),
588 (Resource) p.getImplementation(),
595 (Resource) p.getImplementation(),
612 (Resource) c.getImplementation(),
621 (Resource) c.getImplementation()),
629 (Resource) c.getImplementation()),
639 (Resource) ind.getImplementation(),
650 (Resource) ind.getImplementation(),
661 (Resource) ind.getImplementation(),
674 private Map getProperties(Resource resource, OWLOntology ontology) {
712 if(value instanceof Resource) {
742 OntResource ontRes = ontModel.getOntResource((Resource) claz.getImplementation());
765 return getProperties((Resource) claz.getImplementation(), claz.getOntology());
769 return getProperties((Resource) ind.getImplementation(), ind.getOntology());
780 (Resource) ind.getImplementation(),
806 (Resource) ind.getImplementation(),
825 (Resource) ind.getImplementation(),
839 (Resource) ind.getImplementation()),
847 (Resource) ind.getImplementation()),
856 (Resource) ind.getImplementation()).mapWith(
885 (Resource) ind.getImplementation(),
892 (Resource) ind.getImplementation(),
901 Resource res = (Resource) ind.getImplementation();
902 res = (Resource) res.inModel(ontModel);
904 Resource type = ontR.getRDFType(true);
911 (Resource) ind.getImplementation(),
913 (Resource) c.getImplementation());
918 (Resource) c.getImplementation(),
920 (Resource) null);
926 (Resource) c.getImplementation(),
940 Resource r = (Resource) i.next();
949 Resource r = (Resource) i.next();
958 set.add(OWLModelImpl.this.wrapClass((Resource) i.next(), ont));
967 if(node instanceof Resource)
968 list.add(wrapIndividual((Resource) node, ont));
977 if(node instanceof Resource) {
978 return wrapIndividual((Resource) node, ont);
997 protected abstract OWLIndividual wrapIndividual(Resource r, OWLOntology ont);
999 protected abstract OWLClass wrapClass(Resource r, OWLOntology ont);
1290 Resource resource = (Resource) value;
1336 // Resource resource = (Resource) value;