Mercurial > hg > dbtune-rdf-services
annotate 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 |
rev | line source |
---|---|
Chris@0 | 1 @prefix map: <file:/home/moustaki/work/workspace/opendata/d2r-server-0.3.1/mapping.n3#> . |
Chris@0 | 2 @prefix db: <> . |
Chris@0 | 3 @prefix foaf: <http://xmlns.com/foaf/0.1/> . |
Chris@0 | 4 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
Chris@0 | 5 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
Chris@0 | 6 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
Chris@0 | 7 @prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> . |
Chris@0 | 8 |
Chris@0 | 9 |
Chris@0 | 10 map:pldb a d2rq:PrologDatabase. |
Chris@0 | 11 |
Chris@0 | 12 map:person a d2rq:ClassMap; |
Chris@0 | 13 d2rq:dataStorage map:database; |
Chris@0 | 14 d2rq:uriPattern "people/@@people:person/1.1@@"; |
Chris@0 | 15 d2rq:class foaf:Person; |
Chris@0 | 16 . |
Chris@0 | 17 |
Chris@0 | 18 map:person_label a d2rq:PropertyBridge; |
Chris@0 | 19 d2rq:belongsToClassMap map:person; |
Chris@0 | 20 d2rq:property rdfs:label; |
Chris@0 | 21 d2rq:pattern "automatically generated person @@people:person.1@@"; |
Chris@0 | 22 . |
Chris@0 | 23 |
Chris@0 | 24 map:person_name a d2rq:PropertyBridge; |
Chris@0 | 25 d2rq:belongsToClassMap map:person; |
Chris@0 | 26 d2rq:property foaf:name; |
Chris@0 | 27 d2rq:argument "people:person.1"; |
Chris@0 | 28 d2rq:datatype xsd:string; |
Chris@0 | 29 . |
Chris@0 | 30 |