       unless lit.lang or lit.datatype
         lit.value
       else
-        {"@value": lit.value, "@language": lit.lang, "@datatype": lit.datatype}
+        {"@value": lit.value, "@language": lit.lang, "@type": lit.datatype}
 
     getLinks: ->
       if @rels

          nextObj = getOrCreate(res, o)

      if types
        typed = if desc.about then current else nextObj
        for type in types
          addPropToObj(typed, "@type", type)



    getDatatype: ->
      if @attrs.datatype?
        return @state.expandTermOrCurieOrIRI(@attrs.datatype.value)
      else if @state.profile is 'html' and @tagName is 'time'
        value = @getContent()
        # TODO: use full iri unless compact..
        if value[0] is 'P'
          return @state.expandTermOrCurieOrIRI('xsd:duration')
        if value.indexOf('T') > -1
          return @state.expandTermOrCurieOrIRI('xsd:dateTime')
        else if value.indexOf(':') > -1
          return @state.expandTermOrCurieOrIRI('xsd:time')
        else
          return @state.expandTermOrCurieOrIRI('xsd:date')
      return null

    isInlist: ->
