@prefix audio "http://purl.org/media/audio#"; @prefix comm "http://purl.org/commerce#"; @prefix dc "http://purl.org/dc/terms/"; @prefix foaf "http://xmlns.com/foaf/0.1/"; @prefix media "http://purl.org/media#"; abbr[property][title] { -rdf-content: attr(title); } .haudio { -rdf-typeof: "audio:Recording"; -rdf-about: nearest-ancestor(".haudio"); } .haudio * { -rdf-about: nearest-ancestor(".haudio"); } .haudio .fn { -rdf-property: "dc:title" "rdfs:label"; -rdf-datatype: "xsd:string"; } .haudio .album { -rdf-property: "dc:isPartOf"; -rdf-datatype: "xsd:string"; } .haudio .category { -rdf-property: "dc:type"; -rdf-datatype: "xsd:string"; } .haudio .contributor { -rdf-property: "dc:contributor"; -rdf-datatype: "xsd:string"; } .haudio .description { -rdf-property: "dc:description"; -rdf-datatype: "xsd:string"; } .haudio .position { -rdf-property: "media:position"; -rdf-datatype: "xsd:integer"; } .haudio .photo { -rdf-rel: "media:depiction" "foaf:depiction"; } .haudio .price { -rdf-property: "comm:costs"; -rdf-datatype: "xsd:string"; } .haudio *[rel=~"enclosure"] { -rdf-rel: "media:download"; } .haudio *[rel=~"payment"] { -rdf-rel: "comm:payment"; } .haudio *[rel=~"sample"] { -rdf-rel: "media:sample"; } .haudio .url { -rdf-rel: "foaf:page"; } .haudio .item { -rdf-rel: "media:contains" "dc:hasPart"; -rdf-rev: "dc:isPartOf"; -rdf-about: nearest-ancestor(".haudio .item"); } .haudio .item * { -rdf-about: nearest-ancestor(".haudio .item"); }