- From: Karen Coyle <kcoyle@kcoyle.net>
- Date: Thu, 05 Feb 2015 06:07:21 -0800
- To: "public-data-shapes-wg@w3.org" <public-data-shapes-wg@w3.org>
Here are two real examples from the bibliographic data world in which shapes are not 1-to-1 with classes, but in this case each shape is inferred as >1 class. I put these out here as an FYI, in case this has some bearing on the discussion of shapes and classes. @prefix bf: <http://bibframe.org/vocab/> . @prefix ex: <http://example.org/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . ex:ResourceA ; bf:creator <http://id.loc.gov/authorities/names/n79021164> ; bf:workTitle <http://example.org/AdventuresOfTomSawyer> ; bf:language <http://id.loc.gov/vocabulary/iso639-2/eng> ; bf:instanceTitle <http://example.org/TheAdventuresOfTomSawyer> ; bf:providerDate "1996" ; rdf:type bf:Work, bf:Instance . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix lcna: <http://id.loc.gov/authorities/names/> . @prefix mads: <http://www.loc.gov/mads/rdf/v1#> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . lcna:n79021164 mads:authoritativeLabel "Twain, Mark, 1835-1910"@en ; a mads:Authority, mads:PersonalName>, skos:Concept ; skos:prefLabel "Twain, Mark, 1835-1910"@en . For this latter, a full description can be found at: http://id.loc.gov/authorities/names/n79021164.html which has links to various serializations. The question, I suppose, is whether validation itself can be limited to certain namespaces. The former is a single namespace, but the properties have different domains. (No property has more than one domain.) This is a contrived example, since the current code does create different subject IRIs for the different classes. However, this is a valid graph as the classes are not disjoint. kc -- Karen Coyle kcoyle@kcoyle.net http://kcoyle.net m: 1-510-435-8234 skype: kcoylenet/+1-510-984-3600
Received on Thursday, 5 February 2015 14:07:51 UTC