Mercurial > hg > audio-features-catalogue
changeset 17:2b5c292ad12f
fuxi file share
author | nothing@tehis.net |
---|---|
date | Tue, 16 Apr 2013 14:14:09 +0100 |
parents | 9bd7159cb9cc |
children | d5012016bf64 |
files | fuxi/af-base-facts.n3 fuxi/af-base-literal-facts.n3 fuxi/af-base-literal-rules.n3 fuxi/af-base-ontology.n3 fuxi/af-base-ontology.rdf fuxi/af-base-rules.n3 fuxi/convertImplicationstoN3.py |
diffstat | 7 files changed, 594 insertions(+), 266 deletions(-) [+] |
line wrap: on
line diff
--- a/fuxi/af-base-facts.n3 Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/af-base-facts.n3 Tue Apr 16 14:14:09 2013 +0100 @@ -2,6 +2,7 @@ af:BeatHistogram a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:BeatHistogram_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:ModulationFrequencyDomain ; af:level af:PerceptualLevel ; @@ -9,6 +10,7 @@ af:BeatSpectrum a af:AudioFeature ; af:complexity af:HighComplexity ; + af:computation af:BeatSpectrum_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:ModulationFrequencyDomain ; af:level af:PerceptualLevel ; @@ -16,6 +18,7 @@ af:Chromagram a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:Chromagram_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PerceptualLevel ; @@ -23,6 +26,7 @@ af:Inharmonicity a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:Inharmonicity_computation ; af:dimensionality af:OnedimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PerceptualLevel ; @@ -30,6 +34,7 @@ af:LineSpectralFrequencies a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:LineSpectralFrequencies_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PhysicalLevel ; @@ -37,13 +42,16 @@ af:LinearPredictionCepstralCoefficients a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:LinearPredictionCepstralCoefficients_computation ; af:dimensionality af:MultidimensionalDimensionality ; - af:domain af:CepstralDomain ; + af:domain af:CepstralDomain, + af:TimeDomain ; af:level af:PhysicalLevel ; af:temporalscale af:IntraframeTemporalscale . af:LinearPredictiveCoding a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:LinearPredictiveCoding_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PhysicalLevel ; @@ -51,14 +59,18 @@ af:MelscaleFrequencyCepstralCoefficients a af:AudioFeature ; af:complexity af:HighComplexity ; + af:computation af:MelscaleFrequencyCepstralCoefficients_computation ; af:dimensionality af:MultidimensionalDimensionality ; - af:domain af:CepstralDomain ; + af:domain af:CepstralDomain, + af:FrequencyDomain, + af:TimeDomain ; af:level af:PhysicalLevel ; af:model af:PsychoacousticModel ; af:temporalscale af:IntraframeTemporalscale . af:Pitch a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:Pitch_computation ; af:dimensionality af:OnedimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PerceptualLevel ; @@ -66,6 +78,7 @@ af:Sharpness a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:Sharpness_computation ; af:dimensionality af:OnedimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PerceptualLevel ; @@ -74,13 +87,16 @@ af:SpectralCentroid a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:SpectralCentroid_computation ; af:dimensionality af:OnedimensionalDimensionality ; - af:domain af:FrequencyDomain ; + af:domain af:FrequencyDomain, + af:TimeDomain ; af:level af:PerceptualLevel ; af:temporalscale af:IntraframeTemporalscale . af:SpectralCrest a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:SpectralCrest_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PerceptualLevel ; @@ -88,13 +104,16 @@ af:SpectralFlatness a af:AudioFeature ; af:complexity af:MediumComplexity ; + af:computation af:SpectralFlatness_computation ; af:dimensionality af:MultidimensionalDimensionality ; - af:domain af:FrequencyDomain ; + af:domain af:FrequencyDomain, + af:TimeDomain ; af:level af:PerceptualLevel ; af:temporalscale af:IntraframeTemporalscale . af:SpectralFlux a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:SpectralFlux_computation ; af:dimensionality af:OnedimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PhysicalLevel ; @@ -102,13 +121,16 @@ af:SpectralRolloff a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:SpectralRolloff_computation ; af:dimensionality af:OnedimensionalDimensionality ; - af:domain af:FrequencyDomain ; + af:domain af:FrequencyDomain, + af:TimeDomain ; af:level af:PerceptualLevel ; af:temporalscale af:IntraframeTemporalscale . af:SpectralSlope a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:SpectralSlope_computation ; af:dimensionality af:MultidimensionalDimensionality ; af:domain af:FrequencyDomain ; af:level af:PhysicalLevel ; @@ -116,8 +138,290 @@ af:ZeroCrossingRate a af:AudioFeature ; af:complexity af:LowComplexity ; + af:computation af:ZeroCrossingRate_computation ; af:dimensionality af:OnedimensionalDimensionality ; - af:domain af:TemporalDomain ; + af:domain af:TemporalDomain, + af:TimeDomain ; af:level af:PhysicalLevel ; af:temporalscale af:IntraframeTemporalscale . + +af:BeatHistogram_computation a af:Computation ; + af:operation_sequence af:BeatHistogram_operation_sequence_1 . + +af:BeatHistogram_operation_sequence_1 a af:Windowing ; + af:next_operation af:BeatHistogram_operation_sequence_2 . + +af:BeatHistogram_operation_sequence_2 a af:DiscreteWaveletTransform ; + af:next_operation af:BeatHistogram_operation_sequence_3 . + +af:BeatHistogram_operation_sequence_3 a af:LowpassFilter ; + af:next_operation af:BeatHistogram_operation_sequence_4 . + +af:BeatHistogram_operation_sequence_4 a af:Sum ; + af:next_operation af:BeatHistogram_operation_sequence_5 . + +af:BeatHistogram_operation_sequence_5 a af:Autocorrelation ; + af:next_operation af:BeatHistogram_operation_sequence_6 . + +af:BeatHistogram_operation_sequence_6 a af:PeakDetection ; + af:next_operation af:BeatHistogram_operation_sequence_7 . + +af:BeatHistogram_operation_sequence_7 a af:Histogram, + af:LastOperation . + +af:BeatSpectrum_computation a af:Computation ; + af:operation_sequence af:BeatSpectrum_operation_sequence_1 . + +af:BeatSpectrum_operation_sequence_1 a af:Windowing ; + af:next_operation af:BeatSpectrum_operation_sequence_2 . + +af:BeatSpectrum_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:BeatSpectrum_operation_sequence_3 . + +af:BeatSpectrum_operation_sequence_3 a af:Logarithm ; + af:next_operation af:BeatSpectrum_operation_sequence_4 . + +af:BeatSpectrum_operation_sequence_4 a af:LowpassFilter ; + af:next_operation af:BeatSpectrum_operation_sequence_5 . + +af:BeatSpectrum_operation_sequence_5 a af:CrossCorrelation ; + af:next_operation af:BeatSpectrum_operation_sequence_6 . + +af:BeatSpectrum_operation_sequence_6 a af:Autocorrelation, + af:LastOperation . + +af:Chromagram_computation a af:Computation ; + af:operation_sequence af:Chromagram_operation_sequence_1 . + +af:Chromagram_operation_sequence_1 a af:Windowing ; + af:next_operation af:Chromagram_operation_sequence_2 . + +af:Chromagram_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:Chromagram_operation_sequence_3 . + +af:Chromagram_operation_sequence_3 a af:Logarithm ; + af:next_operation af:Chromagram_operation_sequence_4 . + +af:Chromagram_operation_sequence_4 a af:LastOperation, + af:Sum . + +af:Inharmonicity_computation a af:Computation ; + af:operation_sequence af:Inharmonicity_operation_sequence_1 . + +af:Inharmonicity_operation_sequence_1 a af:Windowing ; + af:next_operation af:Inharmonicity_operation_sequence_2 . + +af:Inharmonicity_operation_sequence_2 a af:Autocorrelation ; + af:next_operation af:Inharmonicity_operation_sequence_3 . + +af:Inharmonicity_operation_sequence_3 a af:HarmonicPeakDetection ; + af:next_operation af:Inharmonicity_operation_sequence_4 . + +af:Inharmonicity_operation_sequence_4 a af:Deviation, + af:LastOperation . + +af:LineSpectralFrequencies_computation a af:Computation ; + af:operation_sequence af:LineSpectralFrequencies_operation_sequence_1 . + +af:LineSpectralFrequencies_operation_sequence_1 a af:Windowing ; + af:next_operation af:LineSpectralFrequencies_operation_sequence_2 . + +af:LineSpectralFrequencies_operation_sequence_2 a af:Autoregression ; + af:next_operation af:LineSpectralFrequencies_operation_sequence_3 . + +af:LineSpectralFrequencies_operation_sequence_3 a af:LastOperation, + af:PolynomialRootFinding . + +af:LinearPredictionCepstralCoefficients_computation a af:Computation ; + af:operation_sequence af:LinearPredictionCepstralCoefficients_operation_sequence_1 . + +af:LinearPredictionCepstralCoefficients_operation_sequence_1 a af:Windowing ; + af:next_operation af:LinearPredictionCepstralCoefficients_operation_sequence_2 . + +af:LinearPredictionCepstralCoefficients_operation_sequence_2 a af:BandpassFilter, + af:OptionalOperation ; + af:next_operation af:LinearPredictionCepstralCoefficients_operation_sequence_3 . + +af:LinearPredictionCepstralCoefficients_operation_sequence_3 a af:Autoregression ; + af:next_operation af:LinearPredictionCepstralCoefficients_operation_sequence_4 . + +af:LinearPredictionCepstralCoefficients_operation_sequence_4 a af:CepstralRecursionFormula, + af:LastOperation . + +af:LinearPredictiveCoding_computation a af:Computation ; + af:operation_sequence af:LinearPredictiveCoding_operation_sequence_1 . + +af:LinearPredictiveCoding_operation_sequence_1 a af:Windowing ; + af:next_operation af:LinearPredictiveCoding_operation_sequence_2 . + +af:LinearPredictiveCoding_operation_sequence_2 a af:BandpassFilter, + af:OptionalOperation ; + af:next_operation af:LinearPredictiveCoding_operation_sequence_3 . + +af:LinearPredictiveCoding_operation_sequence_3 a af:Autoregression ; + af:next_operation af:LinearPredictiveCoding_operation_sequence_4 . + +af:LinearPredictiveCoding_operation_sequence_4 a af:DiscreteFourierTransform, + af:LastOperation, + af:OptionalOperation . + +af:MelscaleFrequencyCepstralCoefficients_computation a af:Computation ; + af:operation_sequence af:MelscaleFrequencyCepstralCoefficients_operation_sequence_1 . + +af:MelscaleFrequencyCepstralCoefficients_operation_sequence_1 a af:Windowing ; + af:next_operation af:MelscaleFrequencyCepstralCoefficients_operation_sequence_2 . + +af:MelscaleFrequencyCepstralCoefficients_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:MelscaleFrequencyCepstralCoefficients_operation_sequence_3 . + +af:MelscaleFrequencyCepstralCoefficients_operation_sequence_3 a af:Spectralbinning ; + af:next_operation af:MelscaleFrequencyCepstralCoefficients_operation_sequence_4 . + +af:MelscaleFrequencyCepstralCoefficients_operation_sequence_4 a af:Logarithm ; + af:next_operation af:MelscaleFrequencyCepstralCoefficients_operation_sequence_5 . + +af:MelscaleFrequencyCepstralCoefficients_operation_sequence_5 a af:DiscreteCosineTransform, + af:LastOperation . + +af:Pitch_computation a af:Computation ; + af:operation_sequence af:Pitch_operation_sequence_1 . + +af:Pitch_operation_sequence_1 a af:Windowing ; + af:next_operation af:Pitch_operation_sequence_2 . + +af:Pitch_operation_sequence_2 a af:Autocorrelation ; + af:next_operation af:Pitch_operation_sequence_3 . + +af:Pitch_operation_sequence_3 a af:LastOperation, + af:Maximum . + +af:Sharpness_computation a af:Computation ; + af:operation_sequence af:Sharpness_operation_sequence_1 . + +af:Sharpness_operation_sequence_1 a af:Windowing ; + af:next_operation af:Sharpness_operation_sequence_2 . + +af:Sharpness_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:Sharpness_operation_sequence_3 . + +af:Sharpness_operation_sequence_3 a af:Spectralbinning ; + af:next_operation af:Sharpness_operation_sequence_4 . + +af:Sharpness_operation_sequence_4 a af:WeightingFunction ; + af:next_operation af:Sharpness_operation_sequence_5 . + +af:Sharpness_operation_sequence_5 a af:WeightingFunction ; + af:next_operation af:Sharpness_operation_sequence_6 . + +af:Sharpness_operation_sequence_6 a af:LastOperation, + af:Mean . + +af:SpectralCentroid_computation a af:Computation ; + af:operation_sequence af:SpectralCentroid_operation_sequence_1 . + +af:SpectralCentroid_operation_sequence_1 a af:Windowing ; + af:next_operation af:SpectralCentroid_operation_sequence_2 . + +af:SpectralCentroid_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:SpectralCentroid_operation_sequence_3 . + +af:SpectralCentroid_operation_sequence_3 a af:OptionalOperation, + af:Spectralbinning ; + af:next_operation af:SpectralCentroid_operation_sequence_4 . + +af:SpectralCentroid_operation_sequence_4 a af:Logarithm, + af:OptionalOperation ; + af:next_operation af:SpectralCentroid_operation_sequence_5 . + +af:SpectralCentroid_operation_sequence_5 a af:LastOperation, + af:Mean . + +af:SpectralCrest_computation a af:Computation ; + af:operation_sequence af:SpectralCrest_operation_sequence_1 . + +af:SpectralCrest_operation_sequence_1 a af:Windowing ; + af:next_operation af:SpectralCrest_operation_sequence_2 . + +af:SpectralCrest_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:SpectralCrest_operation_sequence_3 . + +af:SpectralCrest_operation_sequence_3 a af:Spectralbinning ; + af:next_operation af:SpectralCrest_operation_sequence_4 . + +af:SpectralCrest_operation_sequence_4 a af:Maximum ; + af:next_operation af:SpectralCrest_operation_sequence_5 . + +af:SpectralCrest_operation_sequence_5 a af:Mean ; + af:next_operation af:SpectralCrest_operation_sequence_6 . + +af:SpectralCrest_operation_sequence_6 a af:LastOperation, + af:Logarithm, + af:OptionalOperation . + +af:SpectralFlatness_computation a af:Computation ; + af:operation_sequence af:SpectralFlatness_operation_sequence_1 . + +af:SpectralFlatness_operation_sequence_1 a af:Windowing ; + af:next_operation af:SpectralFlatness_operation_sequence_2 . + +af:SpectralFlatness_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:SpectralFlatness_operation_sequence_3 . + +af:SpectralFlatness_operation_sequence_3 a af:Spectralbinning ; + af:next_operation af:SpectralFlatness_operation_sequence_4 . + +af:SpectralFlatness_operation_sequence_4 a af:Mean ; + af:next_operation af:SpectralFlatness_operation_sequence_5 . + +af:SpectralFlatness_operation_sequence_5 a af:LastOperation, + af:Logarithm, + af:OptionalOperation . + +af:SpectralFlux_computation a af:Computation ; + af:operation_sequence af:SpectralFlux_operation_sequence_1 . + +af:SpectralFlux_operation_sequence_1 a af:Windowing ; + af:next_operation af:SpectralFlux_operation_sequence_2 . + +af:SpectralFlux_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:SpectralFlux_operation_sequence_3 . + +af:SpectralFlux_operation_sequence_3 a af:DerivationDifference ; + af:next_operation af:SpectralFlux_operation_sequence_4 . + +af:SpectralFlux_operation_sequence_4 a af:LastOperation, + af:Sum . + +af:SpectralRolloff_computation a af:Computation ; + af:operation_sequence af:SpectralRolloff_operation_sequence_1 . + +af:SpectralRolloff_operation_sequence_1 a af:Windowing ; + af:next_operation af:SpectralRolloff_operation_sequence_2 . + +af:SpectralRolloff_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:SpectralRolloff_operation_sequence_3 . + +af:SpectralRolloff_operation_sequence_3 a af:LastOperation, + af:Percentile . + +af:SpectralSlope_computation a af:Computation ; + af:operation_sequence af:SpectralSlope_operation_sequence_1 . + +af:SpectralSlope_operation_sequence_1 a af:Windowing ; + af:next_operation af:SpectralSlope_operation_sequence_2 . + +af:SpectralSlope_operation_sequence_2 a af:DiscreteFourierTransform ; + af:next_operation af:SpectralSlope_operation_sequence_3 . + +af:SpectralSlope_operation_sequence_3 a af:LastOperation, + af:Regression . + +af:ZeroCrossingRate_computation a af:Computation ; + af:operation_sequence af:ZeroCrossingRate_operation_sequence_1 . + +af:ZeroCrossingRate_operation_sequence_1 a af:Windowing ; + af:next_operation af:ZeroCrossingRate_operation_sequence_2 . + +af:ZeroCrossingRate_operation_sequence_2 a af:LastOperation, + af:LevelCrossingDetector .
--- a/fuxi/af-base-literal-facts.n3 Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/af-base-literal-facts.n3 Tue Apr 16 14:14:09 2013 +0100 @@ -1,130 +1,147 @@ @prefix af: <http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#> . af:BeatHistogram a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "multi-dimensional" ; - af:domain "modulation frequency" ; - af:level "perceptual" ; - af:temporalscale "interframe" . + af:complexity af:MediumComplexity ; + af:computation af:BeatHistogram_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:ModulationFrequencyDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:InterframeTemporalscale . af:BeatSpectrum a af:AudioFeature ; - af:complexity "high" ; - af:dimensionality "multi-dimensional" ; - af:domain "modulation frequency" ; - af:level "perceptual" ; - af:temporalscale "interframe" . + af:complexity af:HighComplexity ; + af:computation af:BeatSpectrum_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:ModulationFrequencyDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:InterframeTemporalscale . af:Chromagram a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "multi-dimensional" ; - af:domain "frequency" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:MediumComplexity ; + af:computation af:Chromagram_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:Inharmonicity a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "one-dimensional" ; - af:domain "frequency" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:MediumComplexity ; + af:computation af:Inharmonicity_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:LineSpectralFrequencies a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "multi-dimensional" ; - af:domain "frequency" ; - af:level "physical" ; - af:temporalscale "intraframe" . + af:complexity af:MediumComplexity ; + af:computation af:LineSpectralFrequencies_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PhysicalLevel ; + af:temporalscale af:IntraframeTemporalscale . af:LinearPredictionCepstralCoefficients a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "multi-dimensional" ; - af:domain "cepstral", - "time" ; - af:level "physical" ; - af:temporalscale "intraframe" . + af:complexity af:MediumComplexity ; + af:computation af:LinearPredictionCepstralCoefficients_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:CepstralDomain, + af:TimeDomain ; + af:level af:PhysicalLevel ; + af:temporalscale af:IntraframeTemporalscale . af:LinearPredictiveCoding a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "multi-dimensional" ; - af:domain "frequency" ; - af:level "physical" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:LinearPredictiveCoding_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PhysicalLevel ; + af:temporalscale af:IntraframeTemporalscale . af:MelscaleFrequencyCepstralCoefficients a af:AudioFeature ; - af:complexity "high" ; - af:dimensionality "multi-dimensional" ; - af:domain "cepstral", - "frequency", - "time" ; - af:level "physical" ; - af:model "psychoacoustic" ; - af:temporalscale "intraframe" . + af:complexity af:HighComplexity ; + af:computation af:MelscaleFrequencyCepstralCoefficients_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:CepstralDomain, + af:FrequencyDomain, + af:TimeDomain ; + af:level af:PhysicalLevel ; + af:model af:PsychoacousticModel ; + af:temporalscale af:IntraframeTemporalscale . af:Pitch a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "one-dimensional" ; - af:domain "frequency" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:Pitch_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:Sharpness a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "one-dimensional" ; - af:domain "frequency" ; - af:level "perceptual" ; - af:model "psychoacoustic" ; - af:temporalscale "intraframe" . + af:complexity af:MediumComplexity ; + af:computation af:Sharpness_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PerceptualLevel ; + af:model af:PsychoacousticModel ; + af:temporalscale af:IntraframeTemporalscale . af:SpectralCentroid a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "one-dimensional" ; - af:domain "frequency", - "time" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:SpectralCentroid_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:FrequencyDomain, + af:TimeDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:SpectralCrest a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "multi-dimensional" ; - af:domain "frequency" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:SpectralCrest_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:SpectralFlatness a af:AudioFeature ; - af:complexity "medium" ; - af:dimensionality "multi-dimensional" ; - af:domain "frequency", - "time" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:MediumComplexity ; + af:computation af:SpectralFlatness_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:FrequencyDomain, + af:TimeDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:SpectralFlux a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "one-dimensional" ; - af:domain "frequency" ; - af:level "physical" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:SpectralFlux_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PhysicalLevel ; + af:temporalscale af:IntraframeTemporalscale . af:SpectralRolloff a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "one-dimensional" ; - af:domain "frequency", - "time" ; - af:level "perceptual" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:SpectralRolloff_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:FrequencyDomain, + af:TimeDomain ; + af:level af:PerceptualLevel ; + af:temporalscale af:IntraframeTemporalscale . af:SpectralSlope a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "multi-dimensional" ; - af:domain "frequency" ; - af:level "physical" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:SpectralSlope_computation ; + af:dimensionality af:MultidimensionalDimensionality ; + af:domain af:FrequencyDomain ; + af:level af:PhysicalLevel ; + af:temporalscale af:IntraframeTemporalscale . af:ZeroCrossingRate a af:AudioFeature ; - af:complexity "low" ; - af:dimensionality "one-dimensional" ; - af:domain "temporal", - "time" ; - af:level "physical" ; - af:temporalscale "intraframe" . + af:complexity af:LowComplexity ; + af:computation af:ZeroCrossingRate_computation ; + af:dimensionality af:OnedimensionalDimensionality ; + af:domain af:TemporalDomain, + af:TimeDomain ; + af:level af:PhysicalLevel ; + af:temporalscale af:IntraframeTemporalscale .
--- a/fuxi/af-base-literal-rules.n3 Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/af-base-literal-rules.n3 Tue Apr 16 14:14:09 2013 +0100 @@ -1,36 +1,36 @@ @prefix af: <http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . -{ ?x01 a af:AudioFeature . ?x01 af:domain "frequency" } => { ?x01 af:temporalscale "intraframe" } . -{ ?x02 a af:AudioFeature . ?x02 af:complexity "high" } => { ?x02 af:dimensionality "multi-dimensional" } . -{ ?x03 a af:AudioFeature . ?x03 af:temporalscale "interframe" } => { ?x03 af:domain "modulation-frequency" . ?x03 af:dimensionality "multi-dimensional" . ?x03 af:level "perceptual" } . -{ ?x04 a af:AudioFeature . ?x04 af:complexity "low" } => { ?x04 af:temporalscale "intraframe" } . -{ ?x05 a af:AudioFeature . ?x05 af:domain "modulation-frequency" } => { ?x05 af:temporalscale "interframe" . ?x05 af:dimensionality "multi-dimensional" . ?x05 af:level "perceptual" } . -{ ?x06 a af:AudioFeature . ?x06 af:temporalscale "intraframe" . ?x06 af:complexity "low" . ?x06 af:dimensionality "multi-dimensional" } => { ?x06 af:domain "frequency" } . -{ ?x07 a af:AudioFeature . ?x07 af:dimensionality "one-dimensional" } => { ?x07 af:temporalscale "intraframe" } . -{ ?x08 a af:AudioFeature . ?x08 af:temporalscale "intraframe" . ?x08 af:complexity "medium" . ?x08 af:dimensionality "one-dimensional" } => { ?x08 af:domain "frequency" . ?x08 af:level "perceptual" } . -{ ?x09 a af:AudioFeature . ?x09 af:temporalscale "intraframe" . ?x09 af:level "perceptual" } => { ?x09 af:domain "frequency" } . -{ ?x10 a af:AudioFeature . ?x10 af:complexity "high" . ?x10 af:dimensionality "multi-dimensional" . ?x10 af:level "perceptual" } => { ?x10 af:temporalscale "interframe" . ?x10 af:domain "modulation-frequency" } . -{ ?x11 a af:AudioFeature . ?x11 af:level "physical" } => { ?x11 af:temporalscale "intraframe" } . -{ ?x12 a af:AudioFeature . ?x12 af:temporalscale "intraframe" . ?x12 af:complexity "medium" . ?x12 af:level "physical" } => { ?x12 af:dimensionality "multi-dimensional" } . -{ ?x13 a af:AudioFeature . ?x13 af:temporalscale "intraframe" . ?x13 af:dimensionality "one-dimensional" . ?x13 af:level "physical" } => { ?x13 af:complexity "low" } . -{ ?x14 a af:AudioFeature . ?x14 af:model "psychoacoustic" } => { ?x14 af:domain "frequency" . ?x14 af:temporalscale "intraframe" } . -{ ?x15 a af:AudioFeature . ?x15 af:domain "frequency" . ?x15 af:temporalscale "intraframe" . ?x15 af:complexity "medium" . ?x15 af:model "psychoacoustic" } => { ?x15 af:dimensionality "one-dimensional" . ?x15 af:level "perceptual" } . -{ ?x16 a af:AudioFeature . ?x16 af:domain "frequency" . ?x16 af:temporalscale "intraframe" . ?x16 af:dimensionality "one-dimensional" . ?x16 af:model "psychoacoustic" } => { ?x16 af:complexity "medium" . ?x16 af:level "perceptual" } . -{ ?x17 a af:AudioFeature . ?x17 af:domain "frequency" . ?x17 af:temporalscale "intraframe" . ?x17 af:level "perceptual" . ?x17 af:model "psychoacoustic" } => { ?x17 af:complexity "medium" . ?x17 af:dimensionality "one-dimensional" } . -{ ?x18 a af:AudioFeature . ?x18 af:domain "time" } => { ?x18 af:temporalscale "intraframe" } . -{ ?x19 a af:AudioFeature . ?x19 af:temporalscale "intraframe" . ?x19 af:complexity "low" . ?x19 af:domain "time" } => { ?x19 af:dimensionality "one-dimensional" } . -{ ?x20 a af:AudioFeature . ?x20 af:temporalscale "intraframe" . ?x20 af:complexity "medium" . ?x20 af:domain "time" } => { ?x20 af:dimensionality "multi-dimensional" } . -{ ?x21 a af:AudioFeature . ?x21 af:domain "frequency" . ?x21 af:temporalscale "intraframe" . ?x21 af:complexity "medium" . ?x21 af:dimensionality "multi-dimensional" . ?x21 af:domain "time" } => { ?x21 af:level "perceptual" } . -{ ?x22 a af:AudioFeature . ?x22 af:temporalscale "intraframe" . ?x22 af:dimensionality "one-dimensional" . ?x22 af:domain "time" } => { ?x22 af:complexity "low" } . -{ ?x23 a af:AudioFeature . ?x23 af:domain "frequency" . ?x23 af:temporalscale "intraframe" . ?x23 af:complexity "low" . ?x23 af:dimensionality "one-dimensional" . ?x23 af:domain "time" } => { ?x23 af:level "perceptual" } . -{ ?x24 a af:AudioFeature . ?x24 af:domain "frequency" . ?x24 af:temporalscale "intraframe" . ?x24 af:dimensionality "multi-dimensional" . ?x24 af:level "perceptual" . ?x24 af:domain "time" } => { ?x24 af:complexity "medium" } . -{ ?x25 a af:AudioFeature . ?x25 af:domain "frequency" . ?x25 af:temporalscale "intraframe" . ?x25 af:level "physical" . ?x25 af:domain "time" } => { ?x25 af:domain "cepstral" . ?x25 af:complexity "high" . ?x25 af:dimensionality "multi-dimensional" . ?x25 af:model "psychoacoustic" } . -{ ?x26 a af:AudioFeature . ?x26 af:temporalscale "intraframe" . ?x26 af:dimensionality "multi-dimensional" . ?x26 af:level "physical" . ?x26 af:domain "time" } => { ?x26 af:domain "cepstral" } . -{ ?x27 a af:AudioFeature . ?x27 af:temporalscale "intraframe" . ?x27 af:complexity "low" . ?x27 af:dimensionality "one-dimensional" . ?x27 af:level "physical" . ?x27 af:domain "time" } => { ?x27 af:domain "temporal" } . -{ ?x28 a af:AudioFeature . ?x28 af:domain "frequency" . ?x28 af:temporalscale "intraframe" . ?x28 af:model "psychoacoustic" . ?x28 af:domain "time" } => { ?x28 af:domain "cepstral" . ?x28 af:complexity "high" . ?x28 af:dimensionality "multi-dimensional" . ?x28 af:level "physical" } . -{ ?x29 a af:AudioFeature . ?x29 af:domain "cepstral" } => { ?x29 af:temporalscale "intraframe" . ?x29 af:dimensionality "multi-dimensional" . ?x29 af:level "physical" . ?x29 af:domain "time" } . -{ ?x32 a af:AudioFeature . ?x32 af:complexity "high" . ?x32 af:temporalscale "intraframe" . ?x32 af:dimensionality "multi-dimensional" } => { ?x32 af:domain "cepstral" . ?x32 af:domain "frequency" . ?x32 af:level "physical" . ?x32 af:model "psychoacoustic" . ?x32 af:domain "time" } . -{ ?x37 a af:AudioFeature . ?x37 af:domain "frequency" . ?x37 af:temporalscale "intraframe" . ?x37 af:dimensionality "multi-dimensional" . ?x37 af:model "psychoacoustic" } => { ?x37 af:domain "cepstral" . ?x37 af:complexity "high" . ?x37 af:level "physical" . ?x37 af:domain "time" } . -{ ?x38 a af:AudioFeature . ?x38 af:domain "frequency" . ?x38 af:temporalscale "intraframe" . ?x38 af:level "physical" . ?x38 af:model "psychoacoustic" } => { ?x38 af:domain "cepstral" . ?x38 af:complexity "high" . ?x38 af:dimensionality "multi-dimensional" . ?x38 af:domain "time" } . -{ ?x39 a af:AudioFeature . ?x39 af:domain "temporal" } => { ?x39 af:temporalscale "intraframe" . ?x39 af:complexity "low" . ?x39 af:dimensionality "one-dimensional" . ?x39 af:level "physical" . ?x39 af:domain "time" } . +{ ?x01 a af:AudioFeature . ?x01 af:domain af:Frequency } => { ?x01 af:temporalscale af:Intraframe } . +{ ?x02 a af:AudioFeature . ?x02 af:complexity af:High } => { ?x02 af:dimensionality af:MultiDimensional } . +{ ?x03 a af:AudioFeature . ?x03 af:temporalscale af:Interframe } => { ?x03 af:domain af:ModulationFrequency . ?x03 af:dimensionality af:MultiDimensional . ?x03 af:level af:Perceptual } . +{ ?x04 a af:AudioFeature . ?x04 af:complexity af:Low } => { ?x04 af:temporalscale af:Intraframe } . +{ ?x05 a af:AudioFeature . ?x05 af:domain af:ModulationFrequency } => { ?x05 af:temporalscale af:Interframe . ?x05 af:dimensionality af:MultiDimensional . ?x05 af:level af:Perceptual } . +{ ?x06 a af:AudioFeature . ?x06 af:temporalscale af:Intraframe . ?x06 af:complexity af:Low . ?x06 af:dimensionality af:MultiDimensional } => { ?x06 af:domain af:Frequency } . +{ ?x07 a af:AudioFeature . ?x07 af:dimensionality af:OneDimensional } => { ?x07 af:temporalscale af:Intraframe } . +{ ?x08 a af:AudioFeature . ?x08 af:temporalscale af:Intraframe . ?x08 af:complexity af:Medium . ?x08 af:dimensionality af:OneDimensional } => { ?x08 af:domain af:Frequency . ?x08 af:level af:Perceptual } . +{ ?x09 a af:AudioFeature . ?x09 af:temporalscale af:Intraframe . ?x09 af:level af:Perceptual } => { ?x09 af:domain af:Frequency } . +{ ?x10 a af:AudioFeature . ?x10 af:complexity af:High . ?x10 af:dimensionality af:MultiDimensional . ?x10 af:level af:Perceptual } => { ?x10 af:temporalscale af:Interframe . ?x10 af:domain af:ModulationFrequency } . +{ ?x11 a af:AudioFeature . ?x11 af:level af:Physical } => { ?x11 af:temporalscale af:Intraframe } . +{ ?x12 a af:AudioFeature . ?x12 af:temporalscale af:Intraframe . ?x12 af:complexity af:Medium . ?x12 af:level af:Physical } => { ?x12 af:dimensionality af:MultiDimensional } . +{ ?x13 a af:AudioFeature . ?x13 af:temporalscale af:Intraframe . ?x13 af:dimensionality af:OneDimensional . ?x13 af:level af:Physical } => { ?x13 af:complexity af:Low } . +{ ?x14 a af:AudioFeature . ?x14 af:model af:Psychoacoustic } => { ?x14 af:domain af:Frequency . ?x14 af:temporalscale af:Intraframe } . +{ ?x15 a af:AudioFeature . ?x15 af:domain af:Frequency . ?x15 af:temporalscale af:Intraframe . ?x15 af:complexity af:Medium . ?x15 af:model af:Psychoacoustic } => { ?x15 af:dimensionality af:OneDimensional . ?x15 af:level af:Perceptual } . +{ ?x16 a af:AudioFeature . ?x16 af:domain af:Frequency . ?x16 af:temporalscale af:Intraframe . ?x16 af:dimensionality af:OneDimensional . ?x16 af:model af:Psychoacoustic } => { ?x16 af:complexity af:Medium . ?x16 af:level af:Perceptual } . +{ ?x17 a af:AudioFeature . ?x17 af:domain af:Frequency . ?x17 af:temporalscale af:Intraframe . ?x17 af:level af:Perceptual . ?x17 af:model af:Psychoacoustic } => { ?x17 af:complexity af:Medium . ?x17 af:dimensionality af:OneDimensional } . +{ ?x18 a af:AudioFeature . ?x18 af:domain af:Time } => { ?x18 af:temporalscale af:Intraframe } . +{ ?x19 a af:AudioFeature . ?x19 af:temporalscale af:Intraframe . ?x19 af:complexity af:Low . ?x19 af:domain af:Time } => { ?x19 af:dimensionality af:OneDimensional } . +{ ?x20 a af:AudioFeature . ?x20 af:temporalscale af:Intraframe . ?x20 af:complexity af:Medium . ?x20 af:domain af:Time } => { ?x20 af:dimensionality af:MultiDimensional } . +{ ?x21 a af:AudioFeature . ?x21 af:domain af:Frequency . ?x21 af:temporalscale af:Intraframe . ?x21 af:complexity af:Medium . ?x21 af:dimensionality af:MultiDimensional . ?x21 af:domain af:Time } => { ?x21 af:level af:Perceptual } . +{ ?x22 a af:AudioFeature . ?x22 af:temporalscale af:Intraframe . ?x22 af:dimensionality af:OneDimensional . ?x22 af:domain af:Time } => { ?x22 af:complexity af:Low } . +{ ?x23 a af:AudioFeature . ?x23 af:domain af:Frequency . ?x23 af:temporalscale af:Intraframe . ?x23 af:complexity af:Low . ?x23 af:dimensionality af:OneDimensional . ?x23 af:domain af:Time } => { ?x23 af:level af:Perceptual } . +{ ?x24 a af:AudioFeature . ?x24 af:domain af:Frequency . ?x24 af:temporalscale af:Intraframe . ?x24 af:dimensionality af:MultiDimensional . ?x24 af:level af:Perceptual . ?x24 af:domain af:Time } => { ?x24 af:complexity af:Medium } . +{ ?x25 a af:AudioFeature . ?x25 af:domain af:Frequency . ?x25 af:temporalscale af:Intraframe . ?x25 af:level af:Physical . ?x25 af:domain af:Time } => { ?x25 af:domain af:Cepstral . ?x25 af:complexity af:High . ?x25 af:dimensionality af:MultiDimensional . ?x25 af:model af:Psychoacoustic } . +{ ?x26 a af:AudioFeature . ?x26 af:temporalscale af:Intraframe . ?x26 af:dimensionality af:MultiDimensional . ?x26 af:level af:Physical . ?x26 af:domain af:Time } => { ?x26 af:domain af:Cepstral } . +{ ?x27 a af:AudioFeature . ?x27 af:temporalscale af:Intraframe . ?x27 af:complexity af:Low . ?x27 af:dimensionality af:OneDimensional . ?x27 af:level af:Physical . ?x27 af:domain af:Time } => { ?x27 af:domain af:Temporal } . +{ ?x28 a af:AudioFeature . ?x28 af:domain af:Frequency . ?x28 af:temporalscale af:Intraframe . ?x28 af:model af:Psychoacoustic . ?x28 af:domain af:Time } => { ?x28 af:domain af:Cepstral . ?x28 af:complexity af:High . ?x28 af:dimensionality af:MultiDimensional . ?x28 af:level af:Physical } . +{ ?x29 a af:AudioFeature . ?x29 af:domain af:Cepstral } => { ?x29 af:temporalscale af:Intraframe . ?x29 af:dimensionality af:MultiDimensional . ?x29 af:level af:Physical . ?x29 af:domain af:Time } . +{ ?x32 a af:AudioFeature . ?x32 af:complexity af:High . ?x32 af:temporalscale af:Intraframe . ?x32 af:dimensionality af:MultiDimensional } => { ?x32 af:domain af:Cepstral . ?x32 af:domain af:Frequency . ?x32 af:level af:Physical . ?x32 af:model af:Psychoacoustic . ?x32 af:domain af:Time } . +{ ?x37 a af:AudioFeature . ?x37 af:domain af:Frequency . ?x37 af:temporalscale af:Intraframe . ?x37 af:dimensionality af:MultiDimensional . ?x37 af:model af:Psychoacoustic } => { ?x37 af:domain af:Cepstral . ?x37 af:complexity af:High . ?x37 af:level af:Physical . ?x37 af:domain af:Time } . +{ ?x38 a af:AudioFeature . ?x38 af:domain af:Frequency . ?x38 af:temporalscale af:Intraframe . ?x38 af:level af:Physical . ?x38 af:model af:Psychoacoustic } => { ?x38 af:domain af:Cepstral . ?x38 af:complexity af:High . ?x38 af:dimensionality af:MultiDimensional . ?x38 af:domain af:Time } . +{ ?x39 a af:AudioFeature . ?x39 af:domain af:Temporal } => { ?x39 af:temporalscale af:Intraframe . ?x39 af:complexity af:Low . ?x39 af:dimensionality af:OneDimensional . ?x39 af:level af:Physical . ?x39 af:domain af:Time } .
--- a/fuxi/af-base-ontology.n3 Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/af-base-ontology.n3 Tue Apr 16 14:14:09 2013 +0100 @@ -5,6 +5,9 @@ af:CepstralDomain a owl:Class ; rdfs:subClassOf af:Domain . +af:CorrelationDomain a owl:Class ; + rdfs:subClassOf af:Domain . + af:EigendomainDomain a owl:Class ; rdfs:subClassOf af:Domain . @@ -50,29 +53,32 @@ af:PsychoacousticModel a owl:Class ; rdfs:subClassOf af:Model . +af:TemporalDomain a owl:Class ; + rdfs:subClassOf af:Domain . + af:complexity a owl:ObjectProperty ; rdfs:domain af:AudioFeature ; - rdfs:range af:Complexity . + rdfs:range <http://www.w3.org/2001/XMLSchema#string> . af:dimensionality a owl:ObjectProperty ; rdfs:domain af:AudioFeature ; - rdfs:range af:Dimensionality . + rdfs:range <http://www.w3.org/2001/XMLSchema#string> . af:domain a owl:ObjectProperty ; rdfs:domain af:AudioFeature ; - rdfs:range af:Domain . + rdfs:range <http://www.w3.org/2001/XMLSchema#string> . af:level a owl:ObjectProperty ; rdfs:domain af:AudioFeature ; - rdfs:range af:Level . + rdfs:range <http://www.w3.org/2001/XMLSchema#string> . af:model a owl:ObjectProperty ; rdfs:domain af:AudioFeature ; - rdfs:range af:Model . + rdfs:range <http://www.w3.org/2001/XMLSchema#string> . af:temporalscale a owl:ObjectProperty ; rdfs:domain af:AudioFeature ; - rdfs:range af:Temporalscale . + rdfs:range <http://www.w3.org/2001/XMLSchema#string> . af:Model a owl:Class .
--- a/fuxi/af-base-ontology.rdf Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/af-base-ontology.rdf Tue Apr 16 14:14:09 2013 +0100 @@ -3,94 +3,111 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#dimensionality"> - <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> - <rdfs:range rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Dimensionality"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> - </rdf:Description> <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#ModulationFrequencyDomain"> <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#InterframeTemporalscale"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#CorrelationDomain"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#complexity"> + <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> + <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Model"> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#TemporalDomain"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#temporalscale"> + <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> + <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#level"> + <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> + <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> + </rdf:Description> <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PhysicalLevel"> <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Level"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#model"> + <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> + <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Level"> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#dimensionality"> + <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> + <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#FrequencyDomain"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PhaseSpaceDomain"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#GlobalTemporalscale"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#MediumComplexity"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#domain"> + <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> + <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#LowComplexity"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"/> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Dimensionality"> + <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> + </rdf:Description> <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#CepstralDomain"> <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PerceptualLevel"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Level"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PhaseSpaceDomain"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#model"> - <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> - <rdfs:range rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Model"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#level"> - <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> - <rdfs:range rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Level"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> - </rdf:Description> <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#HighComplexity"> <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#FrequencyDomain"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Level"> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#OnedimensionalDimensionality"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Dimensionality"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#IntraframeTemporalscale"> <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PsychoacousticModel"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Model"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Dimensionality"> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#GlobalTemporalscale"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#InterframeTemporalscale"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#complexity"> - <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> - <rdfs:range rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#OnedimensionalDimensionality"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Dimensionality"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#EigendomainDomain"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#temporalscale"> - <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> - <rdfs:range rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> - </rdf:Description> <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Temporalscale"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> @@ -98,24 +115,15 @@ <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Dimensionality"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Model"> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#LowComplexity"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"/> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PsychoacousticModel"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Model"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#domain"> - <rdfs:domain rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#AudioFeature"/> - <rdfs:range rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#PerceptualLevel"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Level"/> - <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> - </rdf:Description> - <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#MediumComplexity"> - <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Complexity"/> + <rdf:Description rdf:about="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#EigendomainDomain"> + <rdfs:subClassOf rdf:resource="http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#Domain"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/> </rdf:Description> </rdf:RDF>
--- a/fuxi/af-base-rules.n3 Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/af-base-rules.n3 Tue Apr 16 14:14:09 2013 +0100 @@ -1,36 +1,36 @@ @prefix af: <http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . -@forSome :x . { :x af:domain af:Frequency } => { :x af:temporalscale af:Intraframe } . -@forSome :x . { :x af:complexity af:High } => { :x af:dimensionality af:MultiDimensional } . -@forSome :x . { :x af:temporalscale af:Interframe } => { :x af:domain af:ModulationFrequency . :x af:dimensionality af:MultiDimensional . :x af:level af:Perceptual } . -@forSome :x . { :x af:complexity af:Low } => { :x af:temporalscale af:Intraframe } . -@forSome :x . { :x af:domain af:ModulationFrequency } => { :x af:temporalscale af:Interframe . :x af:dimensionality af:MultiDimensional . :x af:level af:Perceptual } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:complexity af:Low . :x af:dimensionality af:MultiDimensional } => { :x af:domain af:Frequency } . -@forSome :x . { :x af:dimensionality af:OneDimensional } => { :x af:temporalscale af:Intraframe } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:complexity af:Medium . :x af:dimensionality af:OneDimensional } => { :x af:domain af:Frequency . :x af:level af:Perceptual } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:level af:Perceptual } => { :x af:domain af:Frequency } . -@forSome :x . { :x af:complexity af:High . :x af:dimensionality af:MultiDimensional . :x af:level af:Perceptual } => { :x af:temporalscale af:Interframe . :x af:domain af:ModulationFrequency } . -@forSome :x . { :x af:level af:Physical } => { :x af:temporalscale af:Intraframe } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:complexity af:Medium . :x af:level af:Physical } => { :x af:dimensionality af:MultiDimensional } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:dimensionality af:OneDimensional . :x af:level af:Physical } => { :x af:complexity af:Low } . -@forSome :x . { :x af:model af:Psychoacoustic } => { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:complexity af:Medium . :x af:model af:Psychoacoustic } => { :x af:dimensionality af:OneDimensional . :x af:level af:Perceptual } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:dimensionality af:OneDimensional . :x af:model af:Psychoacoustic } => { :x af:complexity af:Medium . :x af:level af:Perceptual } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:level af:Perceptual . :x af:model af:Psychoacoustic } => { :x af:complexity af:Medium . :x af:dimensionality af:OneDimensional } . -@forSome :x . { :x af:domain af:Time } => { :x af:temporalscale af:Intraframe } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:complexity af:Low . :x af:domain af:Time } => { :x af:dimensionality af:OneDimensional } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:complexity af:Medium . :x af:domain af:Time } => { :x af:dimensionality af:MultiDimensional } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:complexity af:Medium . :x af:dimensionality af:MultiDimensional . :x af:domain af:Time } => { :x af:level af:Perceptual } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:dimensionality af:OneDimensional . :x af:domain af:Time } => { :x af:complexity af:Low } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:complexity af:Low . :x af:dimensionality af:OneDimensional . :x af:domain af:Time } => { :x af:level af:Perceptual } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:dimensionality af:MultiDimensional . :x af:level af:Perceptual . :x af:domain af:Time } => { :x af:complexity af:Medium } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:level af:Physical . :x af:domain af:Time } => { :x af:domain af:Cepstral . :x af:complexity af:High . :x af:dimensionality af:MultiDimensional . :x af:model af:Psychoacoustic } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:dimensionality af:MultiDimensional . :x af:level af:Physical . :x af:domain af:Time } => { :x af:domain af:Cepstral } . -@forSome :x . { :x af:temporalscale af:Intraframe . :x af:complexity af:Low . :x af:dimensionality af:OneDimensional . :x af:level af:Physical . :x af:domain af:Time } => { :x af:domain af:Temporal } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:model af:Psychoacoustic . :x af:domain af:Time } => { :x af:domain af:Cepstral . :x af:complexity af:High . :x af:dimensionality af:MultiDimensional . :x af:level af:Physical } . -@forSome :x . { :x af:domain af:Cepstral } => { :x af:temporalscale af:Intraframe . :x af:dimensionality af:MultiDimensional . :x af:level af:Physical . :x af:domain af:Time } . -@forSome :x . { :x af:complexity af:High . :x af:temporalscale af:Intraframe . :x af:dimensionality af:MultiDimensional } => { :x af:domain af:Cepstral . :x af:domain af:Frequency . :x af:level af:Physical . :x af:model af:Psychoacoustic . :x af:domain af:Time } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:dimensionality af:MultiDimensional . :x af:model af:Psychoacoustic } => { :x af:domain af:Cepstral . :x af:complexity af:High . :x af:level af:Physical . :x af:domain af:Time } . -@forSome :x . { :x af:domain af:Frequency . :x af:temporalscale af:Intraframe . :x af:level af:Physical . :x af:model af:Psychoacoustic } => { :x af:domain af:Cepstral . :x af:complexity af:High . :x af:dimensionality af:MultiDimensional . :x af:domain af:Time } . -@forSome :x . { :x af:domain af:Temporal } => { :x af:temporalscale af:Intraframe . :x af:complexity af:Low . :x af:dimensionality af:OneDimensional . :x af:level af:Physical . :x af:domain af:Time } . +{ ?x01 a af:AudioFeature . ?x01 af:domain af:Frequency } => { ?x01 af:temporalscale af:Intraframe } . +{ ?x02 a af:AudioFeature . ?x02 af:complexity af:High } => { ?x02 af:dimensionality af:MultiDimensional } . +{ ?x03 a af:AudioFeature . ?x03 af:temporalscale af:Interframe } => { ?x03 af:domain af:ModulationFrequency . ?x03 af:dimensionality af:MultiDimensional . ?x03 af:level af:Perceptual } . +{ ?x04 a af:AudioFeature . ?x04 af:complexity af:Low } => { ?x04 af:temporalscale af:Intraframe } . +{ ?x05 a af:AudioFeature . ?x05 af:domain af:ModulationFrequency } => { ?x05 af:temporalscale af:Interframe . ?x05 af:dimensionality af:MultiDimensional . ?x05 af:level af:Perceptual } . +{ ?x06 a af:AudioFeature . ?x06 af:temporalscale af:Intraframe . ?x06 af:complexity af:Low . ?x06 af:dimensionality af:MultiDimensional } => { ?x06 af:domain af:Frequency } . +{ ?x07 a af:AudioFeature . ?x07 af:dimensionality af:OneDimensional } => { ?x07 af:temporalscale af:Intraframe } . +{ ?x08 a af:AudioFeature . ?x08 af:temporalscale af:Intraframe . ?x08 af:complexity af:Medium . ?x08 af:dimensionality af:OneDimensional } => { ?x08 af:domain af:Frequency . ?x08 af:level af:Perceptual } . +{ ?x09 a af:AudioFeature . ?x09 af:temporalscale af:Intraframe . ?x09 af:level af:Perceptual } => { ?x09 af:domain af:Frequency } . +{ ?x10 a af:AudioFeature . ?x10 af:complexity af:High . ?x10 af:dimensionality af:MultiDimensional . ?x10 af:level af:Perceptual } => { ?x10 af:temporalscale af:Interframe . ?x10 af:domain af:ModulationFrequency } . +{ ?x11 a af:AudioFeature . ?x11 af:level af:Physical } => { ?x11 af:temporalscale af:Intraframe } . +{ ?x12 a af:AudioFeature . ?x12 af:temporalscale af:Intraframe . ?x12 af:complexity af:Medium . ?x12 af:level af:Physical } => { ?x12 af:dimensionality af:MultiDimensional } . +{ ?x13 a af:AudioFeature . ?x13 af:temporalscale af:Intraframe . ?x13 af:dimensionality af:OneDimensional . ?x13 af:level af:Physical } => { ?x13 af:complexity af:Low } . +{ ?x14 a af:AudioFeature . ?x14 af:model af:Psychoacoustic } => { ?x14 af:domain af:Frequency . ?x14 af:temporalscale af:Intraframe } . +{ ?x15 a af:AudioFeature . ?x15 af:domain af:Frequency . ?x15 af:temporalscale af:Intraframe . ?x15 af:complexity af:Medium . ?x15 af:model af:Psychoacoustic } => { ?x15 af:dimensionality af:OneDimensional . ?x15 af:level af:Perceptual } . +{ ?x16 a af:AudioFeature . ?x16 af:domain af:Frequency . ?x16 af:temporalscale af:Intraframe . ?x16 af:dimensionality af:OneDimensional . ?x16 af:model af:Psychoacoustic } => { ?x16 af:complexity af:Medium . ?x16 af:level af:Perceptual } . +{ ?x17 a af:AudioFeature . ?x17 af:domain af:Frequency . ?x17 af:temporalscale af:Intraframe . ?x17 af:level af:Perceptual . ?x17 af:model af:Psychoacoustic } => { ?x17 af:complexity af:Medium . ?x17 af:dimensionality af:OneDimensional } . +{ ?x18 a af:AudioFeature . ?x18 af:domain af:Time } => { ?x18 af:temporalscale af:Intraframe } . +{ ?x19 a af:AudioFeature . ?x19 af:temporalscale af:Intraframe . ?x19 af:complexity af:Low . ?x19 af:domain af:Time } => { ?x19 af:dimensionality af:OneDimensional } . +{ ?x20 a af:AudioFeature . ?x20 af:temporalscale af:Intraframe . ?x20 af:complexity af:Medium . ?x20 af:domain af:Time } => { ?x20 af:dimensionality af:MultiDimensional } . +{ ?x21 a af:AudioFeature . ?x21 af:domain af:Frequency . ?x21 af:temporalscale af:Intraframe . ?x21 af:complexity af:Medium . ?x21 af:dimensionality af:MultiDimensional . ?x21 af:domain af:Time } => { ?x21 af:level af:Perceptual } . +{ ?x22 a af:AudioFeature . ?x22 af:temporalscale af:Intraframe . ?x22 af:dimensionality af:OneDimensional . ?x22 af:domain af:Time } => { ?x22 af:complexity af:Low } . +{ ?x23 a af:AudioFeature . ?x23 af:domain af:Frequency . ?x23 af:temporalscale af:Intraframe . ?x23 af:complexity af:Low . ?x23 af:dimensionality af:OneDimensional . ?x23 af:domain af:Time } => { ?x23 af:level af:Perceptual } . +{ ?x24 a af:AudioFeature . ?x24 af:domain af:Frequency . ?x24 af:temporalscale af:Intraframe . ?x24 af:dimensionality af:MultiDimensional . ?x24 af:level af:Perceptual . ?x24 af:domain af:Time } => { ?x24 af:complexity af:Medium } . +{ ?x25 a af:AudioFeature . ?x25 af:domain af:Frequency . ?x25 af:temporalscale af:Intraframe . ?x25 af:level af:Physical . ?x25 af:domain af:Time } => { ?x25 af:domain af:Cepstral . ?x25 af:complexity af:High . ?x25 af:dimensionality af:MultiDimensional . ?x25 af:model af:Psychoacoustic } . +{ ?x26 a af:AudioFeature . ?x26 af:temporalscale af:Intraframe . ?x26 af:dimensionality af:MultiDimensional . ?x26 af:level af:Physical . ?x26 af:domain af:Time } => { ?x26 af:domain af:Cepstral } . +{ ?x27 a af:AudioFeature . ?x27 af:temporalscale af:Intraframe . ?x27 af:complexity af:Low . ?x27 af:dimensionality af:OneDimensional . ?x27 af:level af:Physical . ?x27 af:domain af:Time } => { ?x27 af:domain af:Temporal } . +{ ?x28 a af:AudioFeature . ?x28 af:domain af:Frequency . ?x28 af:temporalscale af:Intraframe . ?x28 af:model af:Psychoacoustic . ?x28 af:domain af:Time } => { ?x28 af:domain af:Cepstral . ?x28 af:complexity af:High . ?x28 af:dimensionality af:MultiDimensional . ?x28 af:level af:Physical } . +{ ?x29 a af:AudioFeature . ?x29 af:domain af:Cepstral } => { ?x29 af:temporalscale af:Intraframe . ?x29 af:dimensionality af:MultiDimensional . ?x29 af:level af:Physical . ?x29 af:domain af:Time } . +{ ?x32 a af:AudioFeature . ?x32 af:complexity af:High . ?x32 af:temporalscale af:Intraframe . ?x32 af:dimensionality af:MultiDimensional } => { ?x32 af:domain af:Cepstral . ?x32 af:domain af:Frequency . ?x32 af:level af:Physical . ?x32 af:model af:Psychoacoustic . ?x32 af:domain af:Time } . +{ ?x37 a af:AudioFeature . ?x37 af:domain af:Frequency . ?x37 af:temporalscale af:Intraframe . ?x37 af:dimensionality af:MultiDimensional . ?x37 af:model af:Psychoacoustic } => { ?x37 af:domain af:Cepstral . ?x37 af:complexity af:High . ?x37 af:level af:Physical . ?x37 af:domain af:Time } . +{ ?x38 a af:AudioFeature . ?x38 af:domain af:Frequency . ?x38 af:temporalscale af:Intraframe . ?x38 af:level af:Physical . ?x38 af:model af:Psychoacoustic } => { ?x38 af:domain af:Cepstral . ?x38 af:complexity af:High . ?x38 af:dimensionality af:MultiDimensional . ?x38 af:domain af:Time } . +{ ?x39 a af:AudioFeature . ?x39 af:domain af:Temporal } => { ?x39 af:temporalscale af:Intraframe . ?x39 af:complexity af:Low . ?x39 af:dimensionality af:OneDimensional . ?x39 af:level af:Physical . ?x39 af:domain af:Time } .
--- a/fuxi/convertImplicationstoN3.py Sun Apr 14 18:10:04 2013 +0100 +++ b/fuxi/convertImplicationstoN3.py Tue Apr 16 14:14:09 2013 +0100 @@ -13,10 +13,10 @@ basedir = '/Users/alo/MusicOntology/features/' readpath = basedir + 'fcadata/baseImplicationsv2.txt' -writepath = basedir + 'fuxi/af-base-literal-rules.n3' -factpath = basedir + 'fuxi/af-base-literal-facts.n3' -#ontopath = basedir + 'fuxi/af-base-ontology.rdf' -ontopath = basedir + 'fuxi/af-base-properties.rdf' +writepath = basedir + 'fuxi/af-base-rules.n3' +factpath = basedir + 'fuxi/af-base-facts.n3' +ontopath = basedir + 'fuxi/af-base-ontology.rdf' +#ontopath = basedir + 'fuxi/af-base-properties.rdf' cataloguePath = '/Users/alo/MusicOntology/features/af-catalogue.rdf' baseuri = 'http://sovarr.c4dm.eecs.qmul.ac.uk/features/af-ontology#' @@ -53,22 +53,16 @@ for pre in premise: prop = "af:"+pre.split("-")[-1] - #value = "af:"+(" ".join(pre.split("-")[0:-1]).title().replace(" ", "").replace("-", "")) - value = " ".join(pre.split("-")[0:-1]) - if value.find('dimensional'): - value = value.replace(" ", "-") - n3 += ' ?x' + var + ' ' + prop + ' "' + value + '"' + value = "af:"+(" ".join(pre.split("-")[0:-1]).title().replace(" ", "").replace("-", "")) + n3 += ' ?x' + var + ' ' + prop + ' ' + value n3 += " . " n3 = n3[:-2] + " } => { " for con in conclusion: prop = "af:"+con.split("-")[-1] - #value = "af:"+(" ".join(con.split("-")[0:-1]).title().replace(" ", "").replace("-", "")) - value = " ".join(con.split("-")[0:-1]) - if value.find('dimensional'): - value = value.replace(" ", "-") - n3 += ' ?x' + var + ' ' + prop + ' "' + value + '"' + value = "af:"+(" ".join(con.split("-")[0:-1]).title().replace(" ", "").replace("-", "")) + n3 += ' ?x' + var + ' ' + prop + ' ' + value n3 += " . " n3 = n3[:-2] + " } . \n" @@ -93,7 +87,6 @@ )) for obj in cat: - ''' objID = af+obj.title() graph.add(( URIRef(objID), @@ -114,7 +107,6 @@ URIRef(objID) )) oneof.append(subID) - ''' # add object properties propID = af+obj graph.add(( @@ -160,9 +152,10 @@ for pr, ob in source.predicate_objects(su): if cat.count(pr.split('/')[-1]) == 1: afpr = URIRef(af + pr.split('/')[-1]) - graph.add((afid, afpr, ob - #af[ob.replace("-", "").title().replace(" ", "") + pr.split('/')[-1].title()] + graph.add((afid, afpr, + af[ob.replace("-", "").title().replace(" ", "") + pr.split('/')[-1].title()] )) + graph.add((afid, af['computation'], af[su.split('/')[-1] + '_computation'] )) graph.serialize(path, format='n3')