Holger Knublauch

Start of ReportingHub app/ontology project

1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<projectDescription>
3 + <name>www.reportinghub.no</name>
4 + <comment></comment>
5 + <projects>
6 + </projects>
7 + <buildSpec>
8 + </buildSpec>
9 + <natures>
10 + </natures>
11 +</projectDescription>
1 +# Saved by TopBraid on Thu Jul 21 13:12:45 EST 2011
2 +# baseURI: http://www.reportinghub.no/spin/rh
3 +# imports: http://spinrdf.org/spin
4 +
5 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
6 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
7 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
9 +@prefix sp: <http://spinrdf.org/sp#> .
10 +@prefix spin: <http://spinrdf.org/spin#> .
11 +@prefix spl: <http://spinrdf.org/spl#> .
12 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
13 +
14 +<http://www.reportinghub.no/spin/rh>
15 + rdf:type owl:Ontology ;
16 + rdfs:comment "A collection of SPIN functions to support working with the ReportingHub schemas."^^xsd:string ;
17 + owl:imports <http://spinrdf.org/spin> ;
18 + owl:versionInfo "0.1.0"^^xsd:string .
19 +
20 +rhspin:userName
21 + rdf:type spin:Function ;
22 + rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ;
23 + rdfs:label "user name"^^xsd:string ;
24 + rdfs:subClassOf spin:Functions ;
25 + spin:returnType xsd:string .
1 +# Saved by TopBraid on Thu Jul 21 13:12:45 EST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .
1 +<div>
2 + <h1>ReportingHub</h1>
3 + <div>You are logged in as: <b>{= rhspin:userName() }</b></div>
4 +</div>
...\ No newline at end of file ...\ No newline at end of file
1 +# Saved by TopBraid on Thu Jul 21 13:16:56 EST 2011
2 +# baseURI: http://www.reportinghub.no/swp/rh
3 +# imports: http://uispin.org/tui
4 +# imports: http://www.reportinghub.no/spin/rh
5 +
6 +@prefix let: <http://uispin.org/let#> .
7 +@prefix letrs: <http://uispin.org/letrs#> .
8 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 +@prefix rhswp: <http://www.reportinghub.no/swp/rh#> .
12 +@prefix sp: <http://spinrdf.org/sp#> .
13 +@prefix spin: <http://spinrdf.org/spin#> .
14 +@prefix spl: <http://spinrdf.org/spl#> .
15 +@prefix ui: <http://uispin.org/ui#> .
16 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
17 +
18 +<http://www.reportinghub.no/swp/rh>
19 + rdf:type owl:Ontology ;
20 + rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ;
21 + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/spin/rh> ;
22 + owl:versionInfo "0.1.0"^^xsd:string .
23 +
24 +rhswp:Elements
25 + rdf:type ui:NodeClass ;
26 + rdfs:label "Elements"^^xsd:string ;
27 + rdfs:subClassOf ui:Element ;
28 + ui:abstract "true"^^xsd:boolean .
29 +
30 +rhswp:Header
31 + rdf:type ui:NodeClass ;
32 + rdfs:label "Header"^^xsd:string ;
33 + rdfs:subClassOf rhswp:Elements ;
34 + ui:prototype <http://www.reportinghub.no/swp/header.uispin.html> .
1 +@CHARSET "UTF-8";
2 +
3 +body {
4 + font-family: sans-serif;
5 +}
...\ No newline at end of file ...\ No newline at end of file
1 +<html>
2 + <head>
3 + <title>ReportingHub - Upload DDR</title>
4 + <link href="lib/reportinghub/reportinghub.css" rel="stylesheet" type="text/css" />
5 + </head>
6 + <body>
7 + <h3>Upload a Daily Drilling Report</h3>
8 + <p>
9 + Please select a DDR XML file:
10 + </p>
11 + <form action="ddrFileUpload" enctype="multipart/form-data" method="post">
12 + <div>
13 + <input name="file" type="file" />
14 + </div>
15 + <br />
16 + <input type="submit" value="Upload" />
17 + </form>
18 + </body>
19 +</html>
...\ No newline at end of file ...\ No newline at end of file