123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152(*********************************************************************************)(* OCaml-RDF *)(* *)(* Copyright (C) 2012-2024 Institut National de Recherche en Informatique *)(* et en Automatique. All rights reserved. *)(* *)(* This program is free software; you can redistribute it and/or modify *)(* it under the terms of the GNU Lesser General Public License version *)(* 3 as published by the Free Software Foundation. *)(* *)(* This program is distributed in the hope that it will be useful, *)(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)(* GNU General Public License for more details. *)(* *)(* You should have received a copy of the GNU General Public License *)(* along with this program; if not, write to the Free Software *)(* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA *)(* 02111-1307 USA *)(* *)(* Contact: Maxence.Guesdon@inria.fr *)(* *)(*********************************************************************************)letrdf_str="http://www.w3.org/1999/02/22-rdf-syntax-ns#";;letrdf=Iri.of_stringrdf_str;;letrdf_s=Iri.of_string(rdf_str^s);;letxsd_str="http://www.w3.org/2001/XMLSchema#";;letxsd=Iri.of_stringxsd_str;;letxsd_s=Iri.of_string(xsd_str^s);;letabout=rdf_"about";;letid=rdf_"ID";;letnodeID=rdf_"nodeID";;letdatatype=rdf_"datatype";;letdescription=rdf_"Description";;letli=rdf_"li";;let_RDF=rdf_"RDF";;letparseType=rdf_"parseType";;letresource=rdf_"resource";;letjson=rdf_"JSON";;letc_Alt=rdf_"Alt";;letc_Bag=rdf_"Bag";;letfirst=rdf_"first";;letdt_HTML=rdf_"HTML";;letdt_JSON=rdf_"JSON";;letdt_langString=rdf_"langString";;letlanguage=rdf_"language";;letc_List=rdf_"List";;letobject_=rdf_"object";;letdt_PlainLiteral=rdf_"PlainLiteral";;letpredicate=rdf_"predicate";;letc_CompoundLiteral=rdf_"CompoundLiteral";;letc_Property=rdf_"Property";;letrest=rdf_"rest";;letc_Seq=rdf_"Seq";;letc_Statement=rdf_"Statement";;letsubject=rdf_"subject";;lettype_=rdf_"type";;letvalue=rdf_"value";;letdt_XMLLiteral=rdf_"XMLLiteral";;letdirection=rdf_"direction";;letnn=rdf_("_"^(string_of_intn));;letnil=rdf_"nil"letxsd_int=xsd_"int";;letxsd_integer=xsd_"integer";;letxsd_byte=xsd_"byte";;letxsd_long=xsd_"long";;letxsd_negativeInteger=xsd_"negativeInteger";;letxsd_nonNegativeInteger=xsd_"nonNegativeInteger";;letxsd_nonPositiveInteger=xsd_"nonPositiveInteger";;letxsd_positiveInteger=xsd_"positiveInteger";;letxsd_short=xsd_"short";;letxsd_unsignedLong=xsd_"unsignedLong";;letxsd_unsignedInt=xsd_"unsignedInt";;letxsd_unsignedShort=xsd_"unsignedShort";;letxsd_unsignedByte=xsd_"unsignedByte";;letxsd_double=xsd_"double";;letxsd_decimal=xsd_"decimal";;letxsd_boolean=xsd_"boolean";;letxsd_string=xsd_"string";;letxsd_datetime=xsd_"dateTime";;letxsd_hexBinary=xsd_"hexBinary";;letxsd_JSON=xsd_"JSON";;letinteger_types=Iri.Set.of_list[xsd_integer;xsd_int;xsd_byte;xsd_long;xsd_negativeInteger;xsd_nonNegativeInteger;xsd_nonPositiveInteger;xsd_positiveInteger;xsd_short;xsd_unsignedLong;xsd_unsignedInt;xsd_unsignedShort;xsd_unsignedByte;]moduleOpen=structletrdf_about=aboutletrdf_id=idletrdf_datatype=datatypeletrdf_description=descriptionletrdf_li=liletrdf_nodeID=nodeIDletrdf_RDF=rdfletrdf_parseType=parseTypeletrdf_resource=resourceletrdf_json=jsonletrdf_c_Alt=c_Altletrdf_c_Bag=c_Bagletrdf_c_CompoundLiteral=c_CompoundLiteralletrdf_first=firstletrdf_dt_HTML=dt_HTMLletrdf_dt_JSON=dt_JSONletrdf_dt_langString=dt_langStringletrdf_language=languageletrdf_c_List=c_Listletrdf_object=object_letrdf_dt_PlainLiteral=dt_PlainLiteralletrdf_predicate=predicateletrdf_c_Property=c_Propertyletrdf_rest=restletrdf_c_Seq=c_Seqletrdf_c_Statement=c_Statementletrdf_subject=subjectletrdf_type=type_letrdf_value=valueletrdf_dt_XMLLiteral=dt_XMLLiteralletrdf_direction=directionletrdf_n=nletrdf_nil=nilletxsd_integer=xsd_integerletxsd_double=xsd_doubleletxsd_decimal=xsd_decimalletxsd_boolean=xsd_booleanletxsd_string=xsd_stringletxsd_datetime=xsd_datetimeletxsd_hexBinary=xsd_hexBinaryletxsd_JSON=xsd_JSONend