Copyright © 2015 Open Geospatial Consortium.
73
12.1.4.2 Response 12.1.4.3 Examples
http:ows.usersmarts.commediatormappingstypes default Turtle format.
http:ows.usersmarts.commediatormappingstypes.jsonld model in JSON-LD using jsonld file
extension. The mapping types can be searched by label using the label
parameter: http:ows.usersmarts.commediatormappingstypes?label=ClassMapping
12.1.5 Endpoint: alignmentsmodel
Description: Get the model contains all the alignments defined in the registry. The model can be returned in TTL, N3, RDFXML or JSON-lD formats using content negotiation
or file extension. Note the current versions merge the alignments with the taxonomies used to perform taxonomy mediation using skosMatch functions.
12.1.5.1 Request
HTTP Method: GET
This method does not take any query parameters.
12.1.5.2 Response
The response returns the RDF model containing all the alignments definitions including their supporting taxonomies and mappings. The model can be returned in TTL, N3,
RDFXML or JSON-LD formats using content negotiation or file extension.
12.1.5.3 Example
http:ows.usersmarts.commediatoralignmentsmodel
12.1.6 Endpoint: alignmentssparql
Description: SPARQL endpoint performing search on the model containing the alignments
12.1.6.1 Request
The query parameters for the endpoint are summarized in Table 28 . They are aligned with standard SPARQL protocol. The SPARQL query is executed against the alignment
model.
Table 28 Query parameters for alignmentssparql endpoint
Name Definition
Type Multiplicity
74
Copyright © 2015 Open Geospatial Consortium.
query SPARQL query to execute
against the model string
1
12.1.6.2 Response
The response format depends of the types of query. SPARQL-Results in XML and JSON format , CSV, TSV, RDF,TTL, N3,JSON-LD are supported.
12.1.6.3 Example
http:ows.usersmarts.commediatoralignmentssparql
12.1.7 Endpoint: alignmentsinstances
Description: List the instances of the alignment available at present only one for HSWG to EMS
12.1.7.1 Request
HTTP Method: GET
Table 29 summarizes the query parameters supported by the endpoint.
Table 29 Query Parameters for alignmentsinstances endpoint
Name Definition
Type Multiplicity
srcOntology The url of the source ontology
url encoded 0..1
targetOntology The url of the target ontology
url encoded 0..1
name name of the alignment to search
String 0..1
12.1.7.2 Response
The response returns instances of mediation:Alignment in RDFXML, TTL, N3 and JSON-LD format.
12.1.7.3 Examples
The following query returns all the alignment instances supported by the service.
http:ows.usersmarts.commediatoralignmentsinstances