Metadata examples

From RIF
Jump to: navigation, search

Long Form

        <formula>
           <Atom>
             <id>
                <Const rif:type="&rif;iri">http://example.com/foo/bar</Const>
             </id>
             <meta>
               <And>
                  <formula>
                    <Frame>
                      <object>
                        <Const rif:type="&rif;iri">http://example.com/foo/bar</Const>                 
                      </object>
                      <slot order="yes">
                          <Const type="&rif;iri">&dc;creator</Const>
                          <Const type="&xs;string">John Smith</Const>
                      </slot>
                     </Frame>
                  </formula>
                  <formula>
                    <Frame>
                      <object>
                        <Const rif:type="&rif;iri">http://example.com/foo/bar</Const>                
                      </object>
                      <slot order="yes">
                          <Const type="&rif;iri">&dc;creator</Const>
                          <Const type="&rif:iri">http://www.w3.org/People/Sandro/data#Sandro_Hawke</Const>
                      </slot>
                     </Frame>
                  </formula>
               </And>
             </meta>
             <op><Const ... /></op>
             ....
           </Atom>
        </formula>

Maybe something more like this...

        <formula>
           <Atom id="http://example.com/foo/bar">
             <dc:author>John Smith</dc:author>
             <dc:author>
                <Const rif:type="&rif;iri">http://www.w3.org/People/Sandro/data#Sandro_Hawke</Const>
             </dc:author>
             <dc:author>
                <Const rif:type="&rif;text">Christian de Sainte Marie</Const>
             </dc:author>
             <op><Const ... /></op>
             ....
           </Atom>
        </formula>