view magnatune/sparql-archived/SeRQL/mapping.n3 @ 27:d95e683fbd35 tip

Enable CORS on urispace redirects as well
author Chris Cannam
date Tue, 20 Feb 2018 14:52:02 +0000
parents df9685986338
children
line wrap: on
line source
@prefix map: <file:/home/moustaki/work/workspace/opendata/d2r-server-0.3.1/mapping.n3#> .
@prefix db: <> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> .


map:pldb a d2rq:PrologDatabase.

map:person a d2rq:ClassMap;
	d2rq:dataStorage map:database;
	d2rq:uriPattern "people/@@people:person/1.1@@";
	d2rq:class foaf:Person;
	.

map:person_label a d2rq:PropertyBridge;
	d2rq:belongsToClassMap map:person;
	d2rq:property rdfs:label;
	d2rq:pattern "automatically generated person @@people:person.1@@";
	.

map:person_name a d2rq:PropertyBridge;
	d2rq:belongsToClassMap map:person;
	d2rq:property foaf:name;
	d2rq:argument "people:person.1";
	d2rq:datatype xsd:string;
	.