Previous topic  Top  Next topic  Print this Topic
 

Data types

 

ObjectLogic supports various data types from the XML schema definition language

The old Flogic syntax:

xsd#string, xsd#int,…

 

ObjectLogic abbreviations:

_string, _int,…

 

Date and time:

_dateTime     http://www.w3.org/2001/XMLSchema#dateTime

_date                http://www.w3.org/2001/XMLSchema#date

_time                http://www.w3.org/2001/XMLSchema#time

_duration        http://www.w3.org/2001/XMLSchema#duration

 

Numbers:

_double        http://www.w3.org/2001/XMLSchema#double

_decimal        http://www.w3.org/2001/XMLSchema#decimal

_integer        http://www.w3.org/2001/XMLSchema#integer (any number)

_long                http://www.w3.org/2001/XMLSchema#long

_int                http://www.w3.org/2001/XMLSchema#int (32-bit)

 

Strings and text:

_string        http://www.w3.org/2001/XMLSchema#string

_PlainLiteral        http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral

_XMLLiteral        http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral

 

Others:

_boolean        http://www.w3.org/2001/XMLSchema#boolean

_iri                http://www.w3.org/2007/rif#iri