EMMA Syntaxes


Open Issue

The Multimodal Interaction Working Group is currently considering the role of RDF in EMMA syntax and processing...

Example

"inline" syntax:

<emma:emma emma:version="1.0"
 xmlns:emma="http://www.w3.org/2003/04/emma#"> 
  <emma:one-of emma:id="r1" 
      emma:start="2003-03-26T0:00:00.15"
      emma:end="2003-03-26T0:00:00.2">
    <emma:interpretation emma:id="int1" emma:confidence="0.75" > 
      <origin>Boston</origin>
      <destination>Denver</destination>
      <date> 
         <emma:absolute-timestamp
          emma:start="2003-03-26T0:00:00.15"
          emma:end="2003-03-26T0:00:00.2"/> 
         03112003 
      </date>  
    </emma:interpretation>
    <emma:interpretation emma:id="int2" emma:confidence="0.68" >
      <origin>Austin</origin>
      <destination>Denver</destination>
      <date>03112003</date>
    </emma:interpretation>
  </emma:one-of>
</emma:emma>

RDF Syntax

<emma:emma emma:version="1.0"
 xmlns:emma="http://www.w3.org/2003/04/emma#"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 
  <emma:one-of emma:id="r1">
    <emma:interpretation emma:id="int1">
      <origin>Boston</origin>
      <destination>Denver</destination>
      <date>03112003</date>
    </emma:interpretation>
    <emma:interpretation emma:id="int2">
      <origin>Austin</origin>
      <destination>Denver</destination>
      <date>03112003</date>
    </emma:interpretation>
  </emma:one-of>

  <rdf:RDF>
    <!-- time stamp for result -->
    <rdf:Description rdf:about="#r1" 
      emma:start="2003-03-26T0:00:00.15"
      emma:end="2003-03-26T0:00:00.2"/>

    <!-- confidence score for first interpretation -->
    <rdf:Description rdf:about="#int1" emma:confidence="0.75"/>

    <!-- confidence score for second interpretation -->
    <rdf:Description rdf:about="#int2" emma:confidence="0.68"/>

    <!-- time stamps for date in first interpretation -->
     <rdf:Description rdf:about="#emma(id('int1')/date)"> 
        <emma:absolute-timestamp
         emma:start="2003-03-26T0:00:00.15"
         emma:end="2003-03-26T0:00:00.2"/> 
     </rdf:Description>  
  </rdf:RDF>
</emma:emma>