@base . @prefix rdf: . @prefix rdfs: . @prefix xsd: . @prefix owl: . @prefix dct: . @prefix foaf: . @prefix void: . @prefix skos: . @prefix doap: . @prefix http: . @prefix opmv: . @prefix common: . @prefix gridworks: . <#gridworks-export> a gridworks:ExportUsingTemplate , opmv:Process ; rdfs:label "Process for Exporting Windsor & Maidenhead data as Turtle" ; gridworks:project ; gridworks:template <#gridworks-template> . a gridworks:Project , opmv:Artifact ; rdfs:label "Windsor & Maidenhead Supplier Payments April 2010 - June 2010 Gridworks Project"@en ; gridworks:wasCreatedFrom ; opmv:wasGeneratedBy <#gridworks-processing> . <#gridworks-processing> a gridworks:Process , opmv:Process ; rdfs:label "Processing on the Gridworks Project"@en ; common:usedData ; gridworks:ignore 1 ; gridworks:operationDescription . a gridworks:OperationDescription , opmv:Artifact ; rdfs:label "Dump of the Processing carried out by Gridworks on Windsor & Maidenhead Supplier Payments April 2010 - June 2010 data"@en ; gridworks:wasExportedFrom ; gridworks:wasExportedBy <#gridworks-operation-description-extraction> . <#gridworks-operation-description-extraction> a gridworks:ExtractOperationDescription , opmv:Process ; rdfs:label "Extraction of the operation description from the Windsor & Maidenhead Supplier Payments April 2010 - June 2010 Project from Gridworks"@en ; gridworks:project . <#gridworks-template> a gridworks:Template ; rdfs:label "Template for exporting data about Windsor & Maidenhead Supplier Payments April 2010 - June 2010" . gridworks:prefix """ @base . @prefix rdf: . @prefix rdfs: . @prefix xsd: . @prefix dct: . @prefix foaf: . @prefix void: . @prefix interval: . @prefix time: . @prefix opmv: . @prefix gridworks: . @prefix qb: . @prefix org: . @prefix skos: . @prefix payment: . @prefix rbwm: . a void:Dataset ; void:subset . a payment:PaymentDataset , void:Dataset , opmv:Artifact ; # basic metadata rdfs:label "Windsor & Maidenhead Supplier Payments where charge to specific cost centre is >= £500 for period April 2010 - June 2010"@en ; dct:license ; dct:temporal [ # this time is retrieved from the Last-Modified date on the original spreadsheet time:hasBeginning ] ; dct:source ; gridworks:wasExportedBy ; gridworks:wasExportedFrom ; # statistical metadata qb:structure payment:payments-with-expenditure-structure ; qb:sliceKey payment:payment-slice ; payment:currency ; # linked data metadata void:exampleResource , ; void:vocabulary payment: , qb: , rbwm: ; void:subset [ a void:Linkset ; void:linkPredicate qb:slice ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate payment:payer ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate payment:payee ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate payment:date ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate payment:expenditureLine ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate payment:expenditureCode ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate rbwm:service ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate rbwm:providedBy ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate rbwm:provides ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate org:hasUnit ; void:subjectsTarget ; void:objectsTarget ; ] , [ a void:Linkset ; void:linkPredicate org:unitOf ; void:subjectsTarget ; void:objectsTarget ; ] . """^^xsd:string ; gridworks:rowTemplate """ <> qb:slice <${Transaction URI}> . <${Transaction URI}> a payment:Payment , qb:Slice ; rdfs:label "Transaction ${TransNo}"@en ; qb:sliceStructure payment:payment-slice ; payment:transactionReference "${TransNo}" ; payment:payer ; payment:payee <${Supplier URI}> ; payment:date <${Date URI}> ; payment:expenditureLine <${Line URI}> . <${Line URI}> a payment:ExpenditureLine , qb:Observation ; rdfs:label "Expenditure Line {{rowIndex}}"@en ; qb:dataSet ; payment:expenditureCode <${Cost Centre URI}> ; payment:amountExcludingVAT {{cells['Amount excl vat £'].value + 0}} . <${Supplier URI}> a org:Organization ; rdfs:label "${Supplier Name}"@en . <${Date URI}> a interval:CalendarDay ; rdfs:label "${Date}" ; time:hasBeginning ; interval:ordinalYear {{substring(cells['Date'].value, 0, 4)}} ; interval:ordinalMonthOfYear {{substring(cells['Date'].value, 5, 7)}} ; interval:ordinalDayOfMonth {{substring(cells['Date'].value, 8, 10)}} . a time:Instant ; time:inXSDDateTime "${Date}T00:00:00"^^xsd:dateTime . <${Cost Centre URI}> a rbwm:CostCentre , skos:Concept ; rdfs:label "Cost Centre ${Cost Centre}"@en ; rbwm:costCentreCode "${Cost Centre}"^^rbwm:CostCentreCode ; rbwm:service <${Service URI}> . <${Service URI}> a rbwm:Service ; rdfs:label "${Service}"@en ; rbwm:providedBy <${Directorate URI}> . <${Directorate URI}> a rbwm:Directorate ; rdfs:label "${Directorate}"@en ; org:unitOf ; rbwm:provides <${Service URI}> . org:hasUnit <${Directorate URI}> . """^^xsd:string .