Skip to main content

Setting Up Namespaces

You can define the namespaces used in PoolParty within a configuration file called namespaces.ttl.

The URI of the namespaces defined here are listed only once in the header of an export file. For namespaces not defined here, the full URI is used for every exported class or property, thereby increasing the size of the exported file.

The following example shows the default definition for namespace.ttl for a PoolParty Server:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix csw: <http://semantic-web.at/ontologies/csw.owl#> .
@prefix tags: <http://www.holygoat.co.uk/owl/redwood/0.1/tags/> .
@prefix ctag: <http://commontag.org/ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dbpedia: <http://dbpedia.org/resource/> .
@prefix freebase: <http://rdf.freebase.com/ns/> .
@prefix opencyc: <http://sw.opencyc.org/concept/> .
@prefix cyc: <http://sw.cyc.com/concept/> .
@prefix cycAnnot: <http://sw.cyc.com/CycAnnotations_v1#> .

The configuration file can be found here:

  • Linux: /opt/poolparty/data/resourceRoot/namespaces.ttl

  • Windows: C:/Users/poolparty/PoolParty/data/resourceRoot/namespaces.ttl

To add a namespace, just add a definition to the file. You have to restart the PoolParty server for the changes to take effect.

Note

You should add only namespace definitions to the config file. Custom triple definitions could affect the export function of PoolParty.