Skip to content

Commit

Permalink
Adapted output (no longer implementation dimension because it is impl…
Browse files Browse the repository at this point in the history
…icit part of detectorVersion)
  • Loading branch information
SvenLieber committed Dec 8, 2018
1 parent eb4d9a6 commit 514dc15
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 21 deletions.
1 change: 0 additions & 1 deletion src/lodstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ def create_dataset(measure_name, datasets, graph, provGeneration, provGeneration
g.add((observ, qb.dataSet, dataset))
g.add((observ, lrd['executionTimeDimension'], rdflib.Literal(executionTime)))
g.add((observ, lrd['restrictionTypeDimension'], lrd[detectors_dict.get('restriction-type')]))
g.add((observ, lrd['implementationDimension'], lrd[detectors_dict.get('implementation', '')]))
g.add((observ, lrd['detectorDimension'], lrd[detectors_name]))
g.add((observ, lrd['detectorVersionDimension'], lrd[detectors_dict.get('version', '')]))
g.add((observ, lrd[results_name], rdflib.Literal(results_dict.get('value', ''), datatype=results_dict.get('type', 'string'))))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def getName(self):
return "asymmetricPropertiesDetectorOwlAsymmetric"

def getVersion(self):
return "asymmetricPropertiesDetectorOwlAsymmetricProperty-v1"
return "asymmetricPropertiesLODStatsDetectorOwlAsymmetricProperty-v1"

def compute(self):
self.setAmountAsymmetricProperties(self.amount)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/DisjointClassDetectorOwlAllDisjointClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def getName(self):
return "disjointClassesDetectorOwlAllDisjointClasses"

def getVersion(self):
return "disjointClassesDetectorOwlAllDisjointClasses-v1"
return "disjointClassesLODStatsDetectorOwlAllDisjointClasses-v1"

def compute(self):
self.disjoint_classes_list_creator.compute()
Expand Down
2 changes: 1 addition & 1 deletion src/utils/DisjointClassDetectorOwlDisjointWith.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def getName(self):
return "disjointClassesDetectorOwlDisjointWith"

def getVersion(self):
return "disjointClassesDetectorOwlDisjointWith-v1"
return "disjointClassesLODStatsDetectorOwlDisjointWith-v1"

def compute(self):
self.propertyStats.compute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def getName(self):
return "disjointPropertiesDetectorOwlAllDisjointProperties"

def getVersion(self):
return "disjointPropertiesDetectorOwlAllDisjointProperties-v1"
return "disjointPropertiesLODStatsDetectorOwlAllDisjointProperties-v1"

def compute(self):
self.disjoint_properties_list_creator.compute()
Expand Down
2 changes: 1 addition & 1 deletion src/utils/DisjointPropertyDetectorOwlDisjointWith.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def getName(self):
return "disjointPropertiesDetectorOwlDisjointWith"

def getVersion(self):
return "disjointPropertiesDetectorOwlDisjointWith-v1"
return "disjointPropertiesLODStatsDetectorOwlDisjointWith-v1"

def compute(self):
self.propertyStats.compute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "exactUnqualifiedCardinalityDetectorOwlCardinality"

def getVersion(self):
return "exactUnqualifiedCardinalityDetectorOwlCardinality-v1"
return "exactUnqualifiedCardinalityLODStatsDetectorOwlCardinality-v1"

def compute(self):
self.setAmountUnqualifiedExactCardinality(self.amount)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/ExactUnqualifiedCardinalityDetectorOwlMinMax.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def getName(self):
return "exactUnqualifiedCardinalityDetectorOwlMinMax"

def getVersion(self):
return "exactUnqualifiedCardinalityDetectorOwlMinMax-v1"
return "exactUnqualifiedCardinalityLODStatsDetectorOwlMinMax-v1"

def compute(self):
# Reduce amount of comparisons by selecting smaller dictionary for outer loop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def getName(self):
return "functionalPropertiesDetectorOwlFunctionalProperty"

def getVersion(self):
return "functionalPropertiesDetectorOwlFunctionalProperty-v1"
return "functionalPropertiesLODStatsDetectorOwlFunctionalProperty-v1"

def compute(self):
self.setAmountFunctionalProperties(self.amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def getName(self):
return "inverseFunctionalPropertiesDetectorOwlInverseFunctionalProperty"

def getVersion(self):
return "inverseFunctionalPropertiesDetectorOwlInverseFunctionalProperty-v1"
return "inverseFunctionalPropertiesLODStatsDetectorOwlInverseFunctionalProperty-v1"

def compute(self):
self.setAmountFunctionalProperties(self.amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def getName(self):
return "irreflexivePropertiesDetectorOwlIrreflexiveProperty"

def getVersion(self):
return "irreflexivePropertiesDetectorOwlIrreflexiveProperty-v1"
return "irreflexivePropertiesLODStatsDetectorOwlIrreflexiveProperty-v1"

def compute(self):
self.setAmountIrreflexiveProperties(self.amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def getName(self):
return "literalPatternMatchingDetectorXsdPatternOwlRestriction"

def getVersion(self):
return "literalPatternMatchingDetectorXsdPatternOwlRestriction-v1"
return "literalPatternMatchingLODStatsDetectorXsdPatternOwlRestriction-v1"

def compute(self):
self.restriction_list_creator.compute()
Expand Down
2 changes: 1 addition & 1 deletion src/utils/LiteralRangesDetectorXsdMinMaxOwlRestriction.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def getName(self):
return "literalRangesDetectorXsdMinMaxOwlRestriction"

def getVersion(self):
return "literalRangesDetectorXsdMinMaxOwlRestriction-v1"
return "literalRangesLODStatsDetectorXsdMinMaxOwlRestriction-v1"

def compute(self):
self.restriction_list_creator.compute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "maximumQualifiedCardinalityDetector"

def getVersion(self):
return "maximumQualifiedCardinalityDetector-v1"
return "maximumQualifiedCardinalityLODStatsDetector-v1"

def compute(self):
self.setAmountQualifiedMaxCardinality(self.amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "maximumUnqualifiedCardinalityDetector"

def getVersion(self):
return "maximumUnqualifiedCardinalityDetectorOwl-v1"
return "maximumUnqualifiedCardinalityLODStatsDetectorOwl-v1"

def compute(self):
self.setAmountUnqualifiedMaxCardinality(self.amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "minimumQualifiedCardinalityDetector"

def getVersion(self):
return "minimumQualifiedCardinalityDetector-v1"
return "minimumQualifiedCardinalityLODStatsDetector-v1"

def compute(self):
self.setAmountQualifiedMinCardinality(self.amount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "minimumUnqualifiedCardinalityDetectorOwl"

def getVersion(self):
return "minimumUnqualifiedCardinalityDetectorOwl-v1"
return "minimumUnqualifiedCardinalityLODStatsDetectorOwl-v1"

def compute(self):
self.setAmountUnqualifiedMinCardinality(self.amount)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/PropertyDomainDetectorRdfsDomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "propertyDomainDetectorRdfsDomain"

def getVersion(self):
return "propertyDomainDetectorRdfsDomain-v1"
return "propertyDomainLODStatsDetectorRdfsDomain-v1"

def compute(self):
self.setAmountDomainProperties(self.amount)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/PropertyRangeDetectorRdfsRange.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "propertyRangeDetectorRdfsRange"

def getVersion(self):
return "propertyRangeDetectorRdfsRange-v1"
return "propertyRangeLODStatsDetectorRdfsRange-v1"

def compute(self):
self.setAmountDomainProperties(self.amount)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/SubsumptionDetectorRdfsSubClassOf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def getName(self):
return "subsumptionDetectorRdfsSubClassOf"

def getVersion(self):
return "subsumptionDetectorRdfsSubClassOf-v1"
return "subsumptionLODStatsDetectorRdfsSubClassOf-v1"

def compute(self):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def getName(self):
return "universalQuantificationDetectorOwlAllValuesFrom"

def getVersion(self):
return "universalQuantificationDetectorOwlAllValuesFrom-v1"
return "universalQuantificationLODStatsDetectorOwlAllValuesFrom-v1"

def compute(self):
self.setAmountUniversalQuantification(self.amount)
Expand Down

0 comments on commit 514dc15

Please sign in to comment.