Integers and Datetime literals in RDF XML

Vert

New Member
I've started to toy around with triplestores and RDF to store image metadata, but I can't understand how to put integer values in XML.\[code\]<?xml version="1.0"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:exif="http://penkov.me/exif/"> <rdf:Description rdf:about="http://penkov.me/images/0"> <exif:SourceFile>./205CANON/_MG_0538.CR2</exif:SourceFile> <exif:Make>Canon</exif:Make> <exif:FocalLength>50</exif:FocalLength> </rdf:Description></rdf:RDF>\[/code\]I guess "50" in \[code\]<exif:FocalLength>\[/code\] tag will be treated as a string by triplestore and it wouldn't be possible to make range queries about this predicate.
 
Back
Top