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
Holger Knublauch
2012-01-10 10:22:11 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1da86e1b56d5cb50cab730bbb8d1b873081f2001
1da86e1b
1 parent
a008f818
Introduced metaclass for report types, simplified autocomplete code
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
29 deletions
appschema.org/app.ui.ttl
appschema.org/imports/autoCompleteCallback.json.swp
www.reportinghub.no/system/schema/SCHEMA-logging.ttl
www.reportinghub.no/system/schema/SCHEMA-reporting.ttl
appschema.org/app.ui.ttl
View file @
1da86e1
This diff is collapsed. Click to expand it.
appschema.org/imports/autoCompleteCallback.json.swp
deleted
100644 → 0
View file @
a008f81
<ui:group
let:type="{= ui:param('type', rdfs:Class) }"
let:prefix="{= ui:param('term') }">
[
<ui:forEach ui:resultSet="{#
SELECT ?resource ?label
WHERE {
(?type ?prefix) ui:autoComplete (?resource ?label) .
}
}" ui:indexVar="index">
<ui:if ui:condition="{= ?index > 0 }">,</ui:if>
{
"label" : "{= ?label }",
"resource" : "{= ui:encodeNode(?resource) }",
"value" : "{= ?label }"
}
</ui:forEach>
]
</ui:group>
\ No newline at end of file
www.reportinghub.no/system/schema/SCHEMA-logging.ttl
View file @
1da86e1
...
...
@@ -140,7 +140,7 @@ log:reportType
rdf:
type
owl:
ObjectProperty
;
rdfs:
domain
log:
ReportEvent
;
rdfs:
label
"report type"
^^
xsd:
string
;
rdfs:
range
rdfs:
Class
.
rdfs:
range
<http://www.reportinghub.no/system/schema/reporting#ReportClass>
.
log:
url
rdf:
type
owl:
DatatypeProperty
;
...
...
www.reportinghub.no/system/schema/SCHEMA-reporting.ttl
View file @
1da86e1
...
...
@@ -21,7 +21,7 @@ sioc:id
owl:
versionInfo
"0.2.0"
^^
xsd:
string
.
report:
AbstractDR
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
comment
"Abstract base class for various types of daily reports."
^^
xsd:
string
;
rdfs:
label
"Daily report"
^^
xsd:
string
;
rdfs:
subClassOf
foaf:
Document
;
...
...
@@ -57,12 +57,12 @@ report:AbstractDR
]
.
report:
AbstractMPR
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
label
"Abstract MPR"
^^
xsd:
string
;
rdfs:
subClassOf
foaf:
Document
.
report:
DDR
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
comment
"The metadata about a Daily Drilling Report."
^^
xsd:
string
;
rdfs:
label
"DDR"
^^
xsd:
string
;
rdfs:
subClassOf
report:
AbstractDR
;
...
...
@@ -78,7 +78,7 @@ report:DDR
]
.
report:
DPR
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
comment
"The metadata about a Daily Production Report."
^^
xsd:
string
;
rdfs:
label
"DPR"
^^
xsd:
string
;
rdfs:
subClassOf
report:
AbstractDR
;
...
...
@@ -98,22 +98,22 @@ report:HTMLFormat
rdfs:
label
"HTMLFormat"
^^
xsd:
string
.
report:
MPRD
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
label
"MPRD"
^^
xsd:
string
;
rdfs:
subClassOf
report:
AbstractMPR
.
report:
MPRG
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
label
"MPRG"
^^
xsd:
string
;
rdfs:
subClassOf
report:
AbstractMPR
.
report:
MPRP
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
label
"MPRP"
^^
xsd:
string
;
rdfs:
subClassOf
report:
AbstractMPR
.
report:
NPTR
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
comment
"Metadata about a Non-Productive Time Report."
^^
xsd:
string
;
rdfs:
label
"NPTR"
^^
xsd:
string
;
rdfs:
subClassOf
foaf:
Document
.
...
...
@@ -122,8 +122,14 @@ report:PDFFormat
rdf:
type
report:
Format
;
rdfs:
label
"PDFFormat"
^^
xsd:
string
.
report:
ReportClass
rdf:
type
rdfs:
Class
;
rdfs:
comment
"Metaclass for the various report types."
^^
xsd:
string
;
rdfs:
label
"Report class"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
report:
WDR
rdf:
type
owl:
Class
;
rdf:
type
report:
Report
Class
;
rdfs:
comment
"Metadata about a Weekly Drilling Report"
^^
xsd:
string
;
rdfs:
label
"WDR"
^^
xsd:
string
;
rdfs:
subClassOf
foaf:
Document
.
...
...
Please
register
or
login
to post a comment