view tests/test-summaries/expected/summaries-from-rdf.n3 @ 399:a3912193ce69 tip

Default branch is now named default on git as well as hg, in case we ever want to switch to mirroring in the other direction
author Chris Cannam
date Thu, 27 Aug 2020 15:57:37 +0100
parents 795d67a5e266
children
line wrap: on
line source
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix mo: <http://purl.org/ontology/mo/> .
@prefix af: <http://purl.org/ontology/af/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix tl: <http://purl.org/NET/c4dm/timeline.owl#> .
@prefix vamp: <http://purl.org/ontology/vamp/> .
@prefix : <> .

:transform_0_onsets
    vamp:block_size "1024"^^xsd:int ;
    vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_onsets> ;
    vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
    vamp:sample_rate "44100"^^xsd:float ;
    vamp:step_size "512"^^xsd:int ;
    a vamp:Transform .

<file://example.wav>
    mo:encodes :signal_1 ;
    a mo:AudioFile .

:signal_1
    mo:time [
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Interval
    ] ;
    a mo:Signal .

:signal_timeline_1
    a tl:Timeline .

:event_2
    event:time [
        tl:at "PT0.777868481S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Instant
    ] ;
    vamp:computed_by :transform_0_onsets ;
    a af:Onset .

:event_3
    event:time [
        tl:at "PT1.648616780S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Instant
    ] ;
    vamp:computed_by :transform_0_onsets ;
    a af:Onset .

:event_4
    event:time [
        tl:at "PT2.414875283S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Instant
    ] ;
    vamp:computed_by :transform_0_onsets ;
    a af:Onset .

:transform_5_detectionfunction
    vamp:block_size "4096"^^xsd:int ;
    vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
    vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
    vamp:sample_rate "44100"^^xsd:float ;
    vamp:step_size "2048"^^xsd:int ;
    vamp:summary_type "mean" ;
    a vamp:Transform .

:event_type_6
    dc:description "Broadband energy rise detection function" ;
    dc:format "" ;
    dc:title "Detection Function" ;
    rdfs:subClassOf event:Event .

:event_7
    event:time [
        tl:beginsAt "PT0.000000000S"^^xsd:duration ;
        tl:duration "PT4.992290248S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Interval
    ] ;
    af:feature "703.191" ;
    vamp:computed_by :transform_5_detectionfunction ;
    a :event_type_6 ;
    rdfs:label "(mean value, continuous-time average)" .

:transform_8_detectionfunction
    vamp:block_size "1024"^^xsd:int ;
    vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
    vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
    vamp:sample_rate "44100"^^xsd:float ;
    vamp:step_size "512"^^xsd:int ;
    vamp:summary_type "mean" ;
    a vamp:Transform .

:event_type_9
    dc:description "Broadband energy rise detection function" ;
    dc:format "" ;
    dc:title "Detection Function" ;
    rdfs:subClassOf event:Event .

:event_10
    event:time [
        tl:beginsAt "PT0.000000000S"^^xsd:duration ;
        tl:duration "PT4.992290248S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Interval
    ] ;
    af:feature "169.391" ;
    vamp:computed_by :transform_8_detectionfunction ;
    a :event_type_9 ;
    rdfs:label "(mean value, continuous-time average)" .

:transform_11_detectionfunction
    vamp:block_size "1024"^^xsd:int ;
    vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
    vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
    vamp:sample_rate "44100"^^xsd:float ;
    vamp:step_size "512"^^xsd:int ;
    vamp:summary_type "median" ;
    a vamp:Transform .

:event_type_12
    dc:description "Broadband energy rise detection function" ;
    dc:format "" ;
    dc:title "Detection Function" ;
    rdfs:subClassOf event:Event .

:event_13
    event:time [
        tl:beginsAt "PT0.000000000S"^^xsd:duration ;
        tl:duration "PT4.992290248S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Interval
    ] ;
    af:feature "169" ;
    vamp:computed_by :transform_11_detectionfunction ;
    a :event_type_12 ;
    rdfs:label "(median value, continuous-time average)" .

:transform_14_detectionfunction
    vamp:block_size "1024"^^xsd:int ;
    vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
    vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
    vamp:sample_rate "44100"^^xsd:float ;
    vamp:step_size "512"^^xsd:int ;
    vamp:summary_type "mode" ;
    a vamp:Transform .

:event_type_15
    dc:description "Broadband energy rise detection function" ;
    dc:format "" ;
    dc:title "Detection Function" ;
    rdfs:subClassOf event:Event .

:event_16
    event:time [
        tl:beginsAt "PT0.000000000S"^^xsd:duration ;
        tl:duration "PT4.992290248S"^^xsd:duration ;
        tl:onTimeLine :signal_timeline_1 ;
        a tl:Interval
    ] ;
    af:feature "164" ;
    vamp:computed_by :transform_14_detectionfunction ;
    a :event_type_15 ;
    rdfs:label "(modal value, continuous-time average)" .