Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Price
2012-12-01 21:38:58 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fb53d45e858c06300d97de71866f6e56a35f11ef
fb53d45e
1 parent
95ff4583
SPIN to add RD links label=designation
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
0 deletions
www.reportinghub.no/refdata/transform/match-designation.ttl
www.reportinghub.no/refdata/transform/match-designation.ttl.tbc
www.reportinghub.no/refdata/transform/match-designation.ttl
0 → 100644
View file @
fb53d45
# baseURI: http://www.reportinghub.no/refdata/transform/match-designation
# imports: file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/core
@prefix
:
<http://www.reportinghub.no/refdata/transform/match-designation#>
.
@prefix
fn:
<http://www.w3.org/2005/xpath-functions#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/schema/core#PropertySpace>
spin:
rule
[
rdf:
type
sp:
Construct
;
sp:
templates
([
sp:
object
[
sp:
varName
"uri"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#seeReferenceData>
;
sp:
subject
spin:
_this
])
;
sp:
where
([
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#seeReferenceData>
;
sp:
subject
spin:
_this
])
]
[
sp:
object
[
sp:
varName
"label"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
upper-case
;
sp:
arg1
[
sp:
varName
"label"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"thisdes"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"thisdes"
^^
xsd:
string
]
;
sp:
predicate
<file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls#des>
;
sp:
subject
[
sp:
varName
"rd"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uri"
^^
xsd:
string
]
;
sp:
predicate
<file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls#uRI>
;
sp:
subject
[
sp:
varName
"rd"
^^
xsd:
string
]
])
]
.
<http://www.reportinghub.no/refdata/transform/match-designation>
rdf:
type
owl:
Ontology
;
owl:
imports
<file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
www.reportinghub.no/refdata/transform/match-designation.ttl.tbc
0 → 100644
View file @
fb53d45
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
@prefix
forms:
<http://www.topbraid.org/2007/01/forms.owl#>
.
@prefix
inference:
<http://www.topbraid.org/2007/06/inference.owl#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
visual:
<http://topbraid.org/visual#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"0"
^^
xsd:
int
]
.
Please
register
or
login
to post a comment