Lines Matching defs:prop
421 OWLProperty prop = getObjectProperty(uri);
423 if(prop == null)
424 prop = getDataProperty(uri);
426 return prop;
432 Property prop = asProperty(uri);
433 if(ontModel.contains(prop, RDF.type, OWL.ObjectProperty)) {
434 p = wrapObjectProperty(prop, null);
443 Property prop = asProperty(uri);
444 if(ontModel.contains(prop, RDF.type, OWL.DatatypeProperty)) {
445 p = wrapDataProperty(prop, null);
647 public OWLIndividual getProperty(OWLIndividual ind, OWLObjectProperty prop) {
651 (Property) prop.getImplementation()),
658 public OWLIndividualList getProperties(OWLIndividual ind, OWLObjectProperty prop) {
662 (Property) prop.getImplementation()),
690 // OWLProperty prop = getProperty(URI.create(pred.getURI()));
691 // if(prop != null) {
692 // if(prop instanceof OWLObjectProperty) {
693 // OWLIndividualList list = (OWLIndividualList) result.get(prop);
696 // result.put(prop, list);
701 // OWLIndividualList list = (OWLIndividualList) result.get(prop);
704 // result.put(prop, list);
713 OWLObjectProperty prop = baseOntology.createObjectProperty(URI.create(pred.getURI()));
714 OWLIndividualList list = (OWLIndividualList) result.get(prop);
717 result.put(prop, list);
722 OWLDataProperty prop = baseOntology.createDataProperty(URI.create(pred.getURI()));
723 OWLDataValueList list = (OWLDataValueList) result.get(prop);
726 result.put(prop, list);
753 OWLDataProperty prop = baseOntology.createDataProperty(URI.create(ontProp.getURI()));
754 result.add(prop);
756 OWLObjectProperty prop = baseOntology.createObjectProperty(URI.create(ontProp.getURI()));
757 result.add(prop);
775 public OWLDataValue getProperty(OWLIndividual ind, OWLDataProperty prop) {
781 (Property) prop.getImplementation()),
803 public OWLDataValue getProperty(OWLIndividual ind, OWLDataProperty prop, String lang) {
807 (Property) prop.getImplementation()),
822 public OWLDataValueList getProperties(OWLIndividual ind, OWLDataProperty prop) {
826 (Property) prop.getImplementation()),
835 public OWLIndividual getIncomingProperty(OWLObjectProperty prop, OWLIndividual ind) {
838 (Property) prop.getImplementation(),
843 public OWLIndividualList getIncomingProperties(OWLObjectProperty prop, OWLIndividual ind) {
846 (Property) prop.getImplementation(),
863 public OWLIndividual getIncomingProperty(OWLDataProperty prop, OWLDataValue value) {
866 (Property) prop.getImplementation(),
867 (Literal) value.getImplementation()), prop.getOntology());
873 public OWLIndividualList getIncomingProperties(OWLDataProperty prop, OWLDataValue value) {
876 (Property) prop.getImplementation(),
877 (Literal) value.getImplementation()), prop.getOntology());
883 public boolean hasProperty(OWLIndividual ind, OWLProperty prop) {
886 (Property) prop.getImplementation(),
890 public boolean hasProperty(OWLIndividual ind, OWLProperty prop, OWLValue value) {
893 (Property) prop.getImplementation(),