uk.ac.open.kmi.watson.services
Class Measures

java.lang.Object
  extended by uk.ac.open.kmi.watson.services.WatsonService
      extended by uk.ac.open.kmi.watson.services.Measures

public class Measures
extends WatsonService


Field Summary
 
Fields inherited from class uk.ac.open.kmi.watson.services.WatsonService
CLASS, COMMENT, EXACT_MATCH, INDIVIDUAL, LABEL, LITERAL, LOCAL_NAME, NS, PROPERTY, TOKEN_MATCH
 
Constructor Summary
Measures()
           
 
Method Summary
 double entityCoverage(java.lang.String onto, java.lang.String uri)
           
 int entityDensity(java.lang.String onto, java.lang.String uri)
          here we use consider the number of statements that apply to uri
 int entityExternalPopularity(java.lang.String onto, java.lang.String uri)
           
 int entityInternalPopularity(java.lang.String onto, java.lang.String uri)
          here we consider the statements that refer to uri in the ontology
 double entityLocalDensity(java.lang.String onto, java.lang.String uri)
           
 double entityLocalInternalPopularity(java.lang.String onto, java.lang.String uri)
          here we consider the statements that refer to uri in the ontology
 int entityOverallPopularity(java.lang.String uri)
           
static void main(java.lang.String[] args)
           
 double ontologyAvgBreadth(java.lang.String onto)
           
 double ontologyAvgDepth(java.lang.String onto)
           
 double ontologyBreadthVariance(java.lang.String onto)
           
 double ontologyDepthVariance(java.lang.String onto)
           
 int ontologyDirectPopularity(java.lang.String onto)
           
 int ontologyIndirectPopularity(java.lang.String onto)
           
 int ontologyMaxBreadth(java.lang.String onto)
           
 int ontologyMaxDepth(java.lang.String onto)
           
 int ontologyMinBreadth(java.lang.String onto)
           
 int ontologyMinDepth(java.lang.String onto)
           
 int ontologyNumberOfClasses(java.lang.String onto)
           
 int ontologyNumberOfIndividuals(java.lang.String onto)
           
 int ontologyNumberOfProperties(java.lang.String onto)
           
 
Methods inherited from class uk.ac.open.kmi.watson.services.WatsonService
getLiteralIndexSearcher, setDocumentIndexSearcher, setEntityIndexSearcher, setRelationIndexSearcher
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Measures

public Measures()
Method Detail

entityOverallPopularity

public int entityOverallPopularity(java.lang.String uri)

entityExternalPopularity

public int entityExternalPopularity(java.lang.String onto,
                                    java.lang.String uri)

entityInternalPopularity

public int entityInternalPopularity(java.lang.String onto,
                                    java.lang.String uri)
here we consider the statements that refer to uri in the ontology


entityLocalInternalPopularity

public double entityLocalInternalPopularity(java.lang.String onto,
                                            java.lang.String uri)
here we consider the statements that refer to uri in the ontology


entityDensity

public int entityDensity(java.lang.String onto,
                         java.lang.String uri)
here we use consider the number of statements that apply to uri


entityLocalDensity

public double entityLocalDensity(java.lang.String onto,
                                 java.lang.String uri)

entityCoverage

public double entityCoverage(java.lang.String onto,
                             java.lang.String uri)

ontologyNumberOfClasses

public int ontologyNumberOfClasses(java.lang.String onto)

ontologyNumberOfProperties

public int ontologyNumberOfProperties(java.lang.String onto)

ontologyNumberOfIndividuals

public int ontologyNumberOfIndividuals(java.lang.String onto)

ontologyDirectPopularity

public int ontologyDirectPopularity(java.lang.String onto)

ontologyIndirectPopularity

public int ontologyIndirectPopularity(java.lang.String onto)

ontologyMaxDepth

public int ontologyMaxDepth(java.lang.String onto)

ontologyMinDepth

public int ontologyMinDepth(java.lang.String onto)

ontologyAvgDepth

public double ontologyAvgDepth(java.lang.String onto)

ontologyDepthVariance

public double ontologyDepthVariance(java.lang.String onto)

ontologyMaxBreadth

public int ontologyMaxBreadth(java.lang.String onto)

ontologyMinBreadth

public int ontologyMinBreadth(java.lang.String onto)

ontologyAvgBreadth

public double ontologyAvgBreadth(java.lang.String onto)

ontologyBreadthVariance

public double ontologyBreadthVariance(java.lang.String onto)

main

public static void main(java.lang.String[] args)