Skip to main content

Setting Up Namespaces

09/03/2026

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

The URIs of the namespaces defined here are listed only once in the header of an export file. For namespaces not defined in this file, 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

  • Docker: Within the poolparty_data volume at: /var/lib/poolparty/data/resourceRoot/

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

Note

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