more test cases, work on mrp tables and magic properties continues for MPRG
Showing
8 changed files
with
62 additions
and
4 deletions
This diff is collapsed. Click to expand it.
... | @@ -13,6 +13,54 @@ | ... | @@ -13,6 +13,54 @@ |
13 | @prefix spl: <http://spinrdf.org/spl#> . | 13 | @prefix spl: <http://spinrdf.org/spl#> . |
14 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 14 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
15 | 15 | ||
16 | +<http://www.reportinghub.no/ep/schema/flow#flowInOutFacility> | ||
17 | + rdf:type spin:MagicProperty , owl:DatatypeProperty ; | ||
18 | + rdfs:domain <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
19 | + rdfs:label "flow inout facility name"^^xsd:string ; | ||
20 | + rdfs:range xsd:string ; | ||
21 | + rdfs:subClassOf spin:MagicProperties ; | ||
22 | + spin:body | ||
23 | + [ rdf:type sp:Select ; | ||
24 | + sp:resultVariables ([ sp:varName "name"^^xsd:string | ||
25 | + ]) ; | ||
26 | + sp:where ([ sp:object | ||
27 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
28 | + ] ; | ||
29 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
30 | + sp:subject spin:_arg1 | ||
31 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
32 | + sp:predicate rdf:type ; | ||
33 | + sp:subject | ||
34 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
35 | + ] | ||
36 | + ] [ sp:object | ||
37 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
38 | + ] ; | ||
39 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
40 | + sp:subject | ||
41 | + [ sp:varName "productionFlowWhole"^^xsd:string | ||
42 | + ] | ||
43 | + ] [ rdf:type sp:TriplePath ; | ||
44 | + sp:object | ||
45 | + [ sp:varName "name"^^xsd:string | ||
46 | + ] ; | ||
47 | + sp:path [ rdf:type sp:AltPath ; | ||
48 | + sp:path1 <http://www.reportinghub.no/np/schema/npd#name> ; | ||
49 | + sp:path2 <http://www.reportinghub.no/ep/schema/core#name> | ||
50 | + ] ; | ||
51 | + sp:subject | ||
52 | + [ sp:varName "productionFlowFacility"^^xsd:string | ||
53 | + ] | ||
54 | + ]) | ||
55 | + ] ; | ||
56 | + spin:constraint | ||
57 | + [ rdf:type spl:Argument ; | ||
58 | + rdfs:comment "the flow that has part the material"^^xsd:string ; | ||
59 | + spl:predicate sp:arg1 ; | ||
60 | + spl:valueType <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> | ||
61 | + ] ; | ||
62 | + spin:returnType xsd:string . | ||
63 | + | ||
16 | <http://www.reportinghub.no/ep/schema/flow#networkInFacilityName> | 64 | <http://www.reportinghub.no/ep/schema/flow#networkInFacilityName> |
17 | rdf:type spin:MagicProperty ; | 65 | rdf:type spin:MagicProperty ; |
18 | rdfs:domain <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | 66 | rdfs:domain <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ... | ... |
... | @@ -179,8 +179,6 @@ OPTIONAL { | ... | @@ -179,8 +179,6 @@ OPTIONAL { |
179 | 179 | ||
180 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> | 180 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> |
181 | 181 | ||
182 | - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" /> | ||
183 | - | ||
184 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" /> | 182 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" /> |
185 | 183 | ||
186 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> | 184 | <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> | ... | ... |
... | @@ -39,8 +39,6 @@ WHERE { | ... | @@ -39,8 +39,6 @@ WHERE { |
39 | <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" /> | 39 | <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" /> |
40 | 40 | ||
41 | <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> | 41 | <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> |
42 | - | ||
43 | - <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" /> | ||
44 | 42 | ||
45 | <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" /> | 43 | <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" /> |
46 | 44 | ... | ... |
This diff is collapsed. Click to expand it.
1 | +# baseURI: http://www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/BA_ASGARD/test-results/triples/ASGARD-ONLY-MONTH_2012-01-01_final-mprg | ||
2 | +# imports: http://www.reportinghub.no/data/erh | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production | ||
4 | + | ||
5 | +@prefix ASGARD-ONLY-MONTH_2012-01-01_final-mprg: <http://www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/BA_ASGARD/test-results/triples/ASGARD-ONLY-MONTH_2012-01-01_final-mprg#> . | ||
6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
10 | + | ||
11 | +<http://www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/BA_ASGARD/test-results/triples/ASGARD-ONLY-MONTH_2012-01-01_final-mprg> | ||
12 | + rdf:type owl:Ontology ; | ||
13 | + owl:imports <http://www.reportinghub.no/data/erh> , <http://www.reportinghub.no/ep/schema/1.0/production> ; | ||
14 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment