public class InformativenessMeasures extends Object
Constructor and Description |
---|
InformativenessMeasures(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef) |
Modifier and Type | Method and Description |
---|---|
double |
getInverseTripleFrequency(org.semanticweb.owlapi.model.OWLProperty property)
The inverse triple frequency ITF(p), considers how many times a predicate
is used in some RDF triple w.r.t.
|
double |
getPF_ITF(org.semanticweb.owlapi.model.OWLIndividual individual,
org.semanticweb.owlapi.model.OWLProperty property,
boolean outgoing) |
double |
getPredicateFrequency(org.semanticweb.owlapi.model.OWLIndividual individual,
org.semanticweb.owlapi.model.OWLProperty property,
boolean outgoing)
Predicate Frequency(PF) quantifies the informativeness of a predicate p
in the context of a URI u.
|
static void |
main(String[] args) |
public InformativenessMeasures(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef)
public double getInverseTripleFrequency(org.semanticweb.owlapi.model.OWLProperty property)
The inverse triple frequency ITF(p), considers how many times a predicate is used in some RDF triple w.r.t. the total number of triples, and is defined as:
log(|T|/|T(p)|)
where |T| is the total number of triples in the knowledge base and |T(p)| the total number of triples having p as a predicate.
property
- the predicatepublic double getPredicateFrequency(org.semanticweb.owlapi.model.OWLIndividual individual, org.semanticweb.owlapi.model.OWLProperty property, boolean outgoing)
individual
- property
- the predicateoutgoing
- public double getPF_ITF(org.semanticweb.owlapi.model.OWLIndividual individual, org.semanticweb.owlapi.model.OWLProperty property, boolean outgoing)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann