@Override public int getRatingForSemanticAnnotation( SemanticAnnotationProfile semanticAnnotationProfile) { OntProperty property = semanticAnnotationProfile.getPredicate(); if (property != null && property.isDatatypeProperty()) return 100; return MIN_VALUE; }
@Override public int getRatingForSemanticAnnotation( SemanticAnnotationProfile semanticAnnotationProfile) { OntProperty property = semanticAnnotationProfile.getPredicate(); if ((property != null) && property.isDatatypeProperty()) return 100; return MIN_VALUE; }
@Override public int getRatingForSemanticAnnotation( SemanticAnnotationProfile semanticAnnotationProfile) { OntProperty property = semanticAnnotationProfile.getPredicate(); if ((property != null) && property.isDatatypeProperty() && DateTimeString.equals(semanticAnnotationProfile .getClassString())) return 200; return MIN_VALUE; }
@Override public int getRatingForSemanticAnnotation( SemanticAnnotationProfile semanticAnnotationProfile) { OntProperty property = semanticAnnotationProfile.getPredicate(); if (property != null && property.isDatatypeProperty() && DateTimeString.equals(semanticAnnotationProfile .getClassString())) return 200; return MIN_VALUE; }
properties.put(p.getURI(), ontHandler.getResourceLabel(p)); if (p.isDatatypeProperty() || !p.isObjectProperty()) if (p.isObjectProperty() || !p.isDatatypeProperty())