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-11-30 01:28:25 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
528259dafef0ad11585e9994da62b44cc3e86680
528259da
1 parent
fa4194c3
Created a check on labels in XSD thru proxy ontology
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
126 additions
and
0 deletions
www.reportinghub.no/refdata/transform/match-xsd-label.ttl
www.reportinghub.no/refdata/transform/match-xsd-label.ttl.tbc
www.reportinghub.no/refdata/transform/match-xsd-label.ttl
0 → 100644
View file @
528259d
# baseURI: http://www.reportinghub.no/refdata/transform/match-xsd-label
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.witsml.org/schemas/1series
@prefix
:
<http://www.reportinghub.no/refdata/transform/match-xsd-label#>
.
@prefix
afn:
<http://jena.hpl.hp.com/ARQ/function#>
.
@prefix
fn:
<http://www.w3.org/2005/xpath-functions#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
p1series:
<http://www.witsml.org/schemas/1series#>
.
@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#ClassificationFunctionOverTime>
rdfs:
subClassOf
:
DDR-Thing
.
<http://www.reportinghub.no/ep/schema/core#Pair>
rdfs:
subClassOf
:
DDR-Thing
.
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdfs:
subClassOf
:
DDR-Thing
.
<http://www.reportinghub.no/ep/schema/material#MaterialPair>
rdfs:
subClassOf
:
DDR-Thing
.
<http://www.reportinghub.no/ep/schema/report#Report>
rdfs:
subClassOf
:
DDR-Thing
.
<http://www.reportinghub.no/refdata/transform/match-xsd-label>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.witsml.org/schemas/1series>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
:
DDR-Thing
rdf:
type
owl:
Class
;
rdfs:
subClassOf
owl:
Thing
.
owl:
Class
spin:
rule
[
rdf:
type
sp:
Construct
;
sp:
templates
([
sp:
object
[
sp:
varName
"s1"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
seeAlso
;
sp:
subject
[
sp:
varName
"s2"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"label1"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"s1"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
eq
;
sp:
arg1
[
rdf:
type
afn:
namespace
;
sp:
arg1
[
sp:
varName
"s1"
^^
xsd:
string
]
]
;
sp:
arg2
"http://www.witsml.org/schemas/1series#"
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
upper-case
;
sp:
arg1
[
sp:
varName
"label1"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"ulabel1"
^^
xsd:
string
]
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
:
DDR-Thing
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
[
sp:
varName
"s2"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
upper-case
;
sp:
arg1
[
rdf:
type
afn:
localname
;
sp:
arg1
[
sp:
varName
"s2"
^^
xsd:
string
]
]
]
;
sp:
variable
[
sp:
varName
"localname"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
eq
;
sp:
arg1
[
sp:
varName
"localname"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"ulabel1"
^^
xsd:
string
]
]
])
]
.
www.reportinghub.no/refdata/transform/match-xsd-label.ttl.tbc
0 → 100644
View file @
528259d
# 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>
;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass"
;
composite:
index
"0"
^^
xsd:
int
]
.
Please
register
or
login
to post a comment