# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. # License: Apache License, Version 2.0 module RTM PSI = {} PSI[:type_instance] = "http://psi.topicmaps.org/iso13250/model/type-instance" PSI[:type] = "http://psi.topicmaps.org/iso13250/model/type" PSI[:instance] = "http://psi.topicmaps.org/iso13250/model/instance" PSI[:supertype_subtype] = "http://psi.topicmaps.org/iso13250/model/supertype-subtype" PSI[:supertype] = "http://psi.topicmaps.org/iso13250/model/supertype" PSI[:subtype] = "http://psi.topicmaps.org/iso13250/model/subtype" PSI[:sort] = "http://psi.topicmaps.org/iso13250/model/sort" PSI[:name_type] = "http://psi.topicmaps.org/iso13250/model/topic-name" PSI[:name] = "-#{PSI[:name_type]}" # maybe put that somewhere else PSI[:String] = "http://www.w3.org/2001/XMLSchema#string" PSI[:IRI] = "http://www.w3.org/2001/XMLSchema#anyURI" PSI[:XML] = "http://www.w3.org/2001/XMLSchema#anyType" PSI[:anyType] = "http://www.w3.org/2001/XMLSchema#anyType" #PSI[:XTMxx] = "http://www.topicmaps.org/xtm/" #PSI[:XS] = "http://www.w3.org/2001/XMLSchema" #PSI[:DC] = "http://purl.org/dc/elements/1.1/" PSI[:Float] = "http://www.w3.org/2001/XMLSchema#float" PSI[:Double] = "http://www.w3.org/2001/XMLSchema#double" PSI[:Long] = "http://www.w3.org/2001/XMLSchema#long" PSI[:Integer] = "http://www.w3.org/2001/XMLSchema#integer" PSI[:Int] = "http://www.w3.org/2001/XMLSchema#int" PSI[:Decimal] = "http://www.w3.org/2001/XMLSchema#decimal" PSI[:Date] = "http://www.w3.org/2001/XMLSchema#date" PSI[:DateTime] = "http://www.w3.org/2001/XMLSchema#dateTime" PSI[:Time] = "http://www.w3.org/2001/XMLSchema#time" PSI[:XTM] = "http://psi.topicmaps.org/iso13250/glossary/XTM" PSI[:association] = "http://psi.topicmaps.org/iso13250/glossary/association" PSI[:role] = "http://psi.topicmaps.org/iso13250/glossary/association-role" PSI[:association_role] = "http://psi.topicmaps.org/iso13250/glossary/association-role" PSI[:role_type] = "http://psi.topicmaps.org/iso13250/glossary/association-role-type" PSI[:association_role_type] = "http://psi.topicmaps.org/iso13250/glossary/association-role-type" PSI[:association_type] = "http://psi.topicmaps.org/iso13250/glossary/association-type" PSI[:information_resource] = "http://psi.topicmaps.org/iso13250/glossary/information-resource" PSI[:item_identifier] = "http://psi.topicmaps.org/iso13250/glossary/item-identifier" PSI[:locator] = "http://psi.topicmaps.org/iso13250/glossary/locator" PSI[:merging] = "http://psi.topicmaps.org/iso13250/glossary/merging" PSI[:occurrence] = "http://psi.topicmaps.org/iso13250/glossary/occurrence" PSI[:occurrence_type] = "http://psi.topicmaps.org/iso13250/glossary/occurrence-type" PSI[:reification] = "http://psi.topicmaps.org/iso13250/glossary/reification" PSI[:scope] = "http://psi.topicmaps.org/iso13250/glossary/scope" PSI[:statement] = "http://psi.topicmaps.org/iso13250/glossary/statement" PSI[:subject] = "http://psi.topicmaps.org/iso13250/glossary/subject" PSI[:subject_identifier] = "http://psi.topicmaps.org/iso13250/glossary/subject-identifier" PSI[:subject_indicator] = "http://psi.topicmaps.org/iso13250/glossary/subject-indicator" PSI[:subject_locator] = "http://psi.topicmaps.org/iso13250/glossary/subject-locator" PSI[:topic] = "http://psi.topicmaps.org/iso13250/glossary/topic" PSI[:topic_map] = "http://psi.topicmaps.org/iso13250/glossary/topic-map" PSI[:construct] = "http://psi.topicmaps.org/iso13250/glossary/topic-map-construct" PSI[:topic_map_construct] = "http://psi.topicmaps.org/iso13250/glossary/topic-map-construct" PSI[:Topic_Maps] = "http://psi.topicmaps.org/iso13250/glossary/Topic-Maps" PSI[:topic_name] = "http://psi.topicmaps.org/iso13250/glossary/topic-name" PSI[:topic_name_type] = "http://psi.topicmaps.org/iso13250/glossary/topic-name-type" PSI[:topic_type] = "http://psi.topicmaps.org/iso13250/glossary/topic-type" PSI[:unconstrained_scope] = "http://psi.topicmaps.org/iso13250/glossary/unconstrained-scope" PSI[:variant] = "http://psi.topicmaps.org/iso13250/glossary/variant-name" PSI[:variant_name] = "http://psi.topicmaps.org/iso13250/glossary/variant-name" PSI[:subject_representation] = "http://psi.topicmapslab.de/subject-representation" PSI[:represented_subject] = "http://psi.topicmapslab.de/represented-subject" # languages # PSI[:] = "http://psi.oasis-open.org/iso/639/#" PSI[:language] = "http://psi.oasis-open.org/iso/639/#language" PSI[:language_group] = "http://psi.oasis-open.org/iso/639/#language-group" PSI[:code_a2] = "http://psi.oasis-open.org/iso/639/#code-a2" PSI[:code_a3b] = "http://psi.oasis-open.org/iso/639/#code-a3b" PSI[:code_a3t] = "http://psi.oasis-open.org/iso/639/#code-a3t" PSI[:multiple_languages] = "http://psi.oasis-open.org/iso/639/#mul" #PSI[:czech] = "http://psi.oasis-open.org/iso/639/#ces" #PSI[:dutch] = "http://psi.oasis-open.org/iso/639/#nld" #PSI[:english] = "http://psi.oasis-open.org/iso/639/#eng" #PSI[:french] = "http://psi.oasis-open.org/iso/639/#fra" #PSI[:german] = "http://psi.oasis-open.org/iso/639/#deu" #PSI[:italien] = "http://psi.oasis-open.org/iso/639/#ita" #PSI[:japanese] = "http://psi.oasis-open.org/iso/639/#jpn" PSI1 = {} PSI1[:XTM] = "http://www.topicmaps.org/xtm/1.0/core.xtm" PSI1[:topic] = "http://www.topicmaps.org/xtm/1.0/core.xtm#topic" PSI1[:association] = "http://www.topicmaps.org/xtm/1.0/core.xtm#association" PSI1[:occurrence] = "http://www.topicmaps.org/xtm/1.0/core.xtm#occurrence" PSI1[:class_instance] = "http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance" PSI1[:class] = "http://www.topicmaps.org/xtm/1.0/core.xtm#class" PSI1[:instance] = "http://www.topicmaps.org/xtm/1.0/core.xtm#instance" PSI1[:superclass_subclass] = "http://www.topicmaps.org/xtm/1.0/core.xtm#superclass-subclass" PSI1[:superclass] = "http://www.topicmaps.org/xtm/1.0/core.xtm#superclass" PSI1[:subclass] = "http://www.topicmaps.org/xtm/1.0/core.xtm#subclass" PSI1[:sort] = "http://www.topicmaps.org/xtm/1.0/core.xtm#sort" PSI1[:display] = "http://www.topicmaps.org/xtm/1.0/core.xtm#display" PREFIX = {} PREFIX[:tmdm] = "http://psi.topicmaps.org/iso13250/model/" # This is the namespace for the concepts defined by TMDM. PREFIX[:glossary] = "http://psi.topicmaps.org/iso13250/glossary/" PREFIX[:xsd] = "http://www.w3.org/2001/XMLSchema#" # This is the namespace for the XML Schema Datatypes. PREFIX[:tmql] = "http://psi.topicmaps.org/tmql/1.0/" # Under this prefix the concepts of Axes itself are located. PREFIX[:fn] = "http://psi.topicmaps.org/tmql/1.0/functions" # Under this prefix user-callable functions of the predefined Axes environment are located. PREFIX[:xtm1] = "http://www.topicmaps.org/xtm/1.0/core.xtm#" PREFIX[:language] = "http://psi.oasis-open.org/iso/639/#" # This is the namespace for the languae PSIs PREFIX[:tmcl] = "http://psi.topicmaps.org/tmcl/" PREFIX[:iso] = "http://psi.topicmaps.org/iso13250/" end