Skip to main content

Web Service Method: Export and Download Custom Schemes and Ontologies

Abstract

Web Service Method: Export and Download Custom Schemes and Ontologies

Description

Export and download ontologies and custom scheme data in RDF format.

Note

This service is the equivalent to the PoolParty frontend functionalityImport, Export & Publish Schemes and Ontologies

URL: /PoolParty/api/schema/export

Request

Supported Methods

GET

HTTP Parameters

Parameter

Comment

Type

Required

uri

URI of the ontology or custom scheme you want to export.

URI

true

format

The RDF format in which the returned data should be serialized.

You can use these RDF serialization formats as parameter value.

String

true

compress

If set to true the data will be exported in ZIP format.

boolean

false

Note

In version 6 of PoolParty the parameter 'language' was removed. Custom Schemes and Ontologies are now based on the OWL standard and so no custom parameters are available here.

Response

Data of selected ontology or custom scheme in RDF format.

URL Pattern

Basic Pattern

http://<server-url>/PoolParty/api/schema/export?uri=<ontology/customScheme-url>&language<dataLanguage>&format=<serializationFormat>

Examples

Example Request

http://vocabulary.semantic-web.at/PoolParty/api/schema/export?uri=http://vocabulary.semantic-web.at/PoolParty/schema/Artists/CustomScheme&language=OWL&format=turtle

Example Response

@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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/promoted_by>
 a owl:ObjectProperty ;
 rdfs:domain <http://www.w3.org/2004/02/skos/core#Concept> ;
 rdfs:label "promoted by" ;
 rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/patron_of> .

<http://vocabulary.semantic-web.at/Artists/birthDate>
 a owl:FunctionalProperty , owl:DatatypeProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Artist> ;
 rdfs:label "birthDate" ;
 rdfs:range xsd:date .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/unce_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 rdfs:label "unce of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/nephew_of> .
<http://www.w3.org/2004/02/skos/core#Concept>
 a owl:Class .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/family_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Family> ;
 rdfs:label "family of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/part_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/successor_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Pope> ;
 rdfs:label "successor of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Pope> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/predecessor_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Artist>
 a owl:Class ;
 rdfs:label "Artist" ;
 rdfs:subClassOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Patron>
 a owl:Class ;
 rdfs:label "Patron" ;
 rdfs:subClassOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/commissioned>
 a owl:ObjectProperty ;
 rdfs:domain <http://www.w3.org/2004/02/skos/core#Concept> ;
 rdfs:label "commissioned" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/commissioned_by> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/nephew_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 rdfs:label "nephew of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/unce_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/rival_of>
 a owl:SymmetricProperty ;
 rdfs:domain <http://www.w3.org/2004/02/skos/core#Concept> ;
 rdfs:label "rival of" ;
 rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> .
<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/CustomScheme>
 a owl:Ontology ;
 rdfs:label "Artists" .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/part_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 rdfs:label "part of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Family> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/family_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/was_influenced_by>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Artist> ;
 rdfs:label "was influenced by" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Artist> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/influenced> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/predecessor_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Pope> ;
 rdfs:label "predecessor of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Pope> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/successor_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/collaboration_with>
 a owl:SymmetricProperty ;
 rdfs:domain <http://www.w3.org/2004/02/skos/core#Concept> ;
 rdfs:label "collaboration with" ;
 rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/influenced>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Artist> ;
 rdfs:label "influenced" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Artist> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/was_influenced_by> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/child_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 rdfs:label "child of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/parent_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/parent_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 rdfs:label "parent of" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/child_of> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/commissioned_by>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work> ;
 rdfs:label "commissioned by" ;
 rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/commissioned> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Google_Street_View>
 a owl:DatatypeProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work> ;
 rdfs:label "Google Street View" ;
 rdfs:range rdfs:Resource .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work>
 a owl:Class ;
 rdfs:label "Work" .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Google_Maps>
 a owl:FunctionalProperty , owl:DatatypeProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work> ;
 rdfs:label "Google Maps" ;
 rdfs:range rdfs:Resource .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Cardinal>
 a owl:Class ;
 rdfs:label "Cardinal" ;
 rdfs:subClassOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person>
 a owl:Class ;
 rdfs:label "Person" .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/created_by>
 a owl:ObjectProperty ;
 rdfs:domain <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work> ;
 rdfs:label "created by" ;
 rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/created> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Family>
 a owl:Class ;
 rdfs:label "Family" .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/patron_of>
 a owl:ObjectProperty ;
 rdfs:domain <http://www.w3.org/2004/02/skos/core#Concept> ;
 rdfs:label "patron of" ;
 rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/promoted_by> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Pope>
 a owl:Class ;
 rdfs:label "Pope" ;
 rdfs:subClassOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Person> .

<http://vocabulary.semantic-web.at/PoolParty/schema/Artists/created>
 a owl:ObjectProperty ;
 rdfs:domain <http://www.w3.org/2004/02/skos/core#Concept> ;
 rdfs:label "created" ;
 rdfs:range <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/Work> ;
 owl:inverseOf <http://vocabulary.semantic-web.at/PoolParty/schema/Artists/created_by> .