12345678910111213141516171819202122232425262728293031323334353637 |
- group = "Service"
- name = "Example Function"
- prefix = '''
- PREFIX dtf: <https://ontology.rys.app/dt/function/>
- PREFIX owl: <http://www.w3.org/2002/07/owl#>
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX art: <http://ua.be/drivetrain/description/artifacts/artifacts#>
- PREFIX tabular: <http://ua.be/sdo2l/vocabulary/base/tabular#>
- PREFIX dc: <http://purl.org/dc/elements/1.1/>
- PREFIX ftg: <http://ua.be/sdo2l/vocabulary/ftg#>
- PREFIX base: <http://ua.be/sdo2l/vocabulary/base#>
- PREFIX vim4: <http://bipm.org/jcgm/vim4#>
- PREFIX comp: <http://ua.be/sdo2l/vocabulary/component#>
- PREFIX code: <http://ua.be/sdo2l/vocabulary/base/code#>
- PREFIX script: <http://ua.be/sdo2l/vocabulary/base/script#>
- PREFIX file: <http://ua.be/sdo2l/vocabulary/base/file#>
- PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
- PREFIX traces: <http://ua.be/sdo2l/vocabulary/processtraces#>
- PREFIX wf: <http://ua.be/sdo2l/vocabulary/workflow#>
- PREFIX text: <http://ua.be/sdo2l/vocabulary/base/text#>
- PREFIX federation: <http://ua.be/sdo2l/vocabulary/federation#>
- PREFIX dftg: <http://ua.be/drivetrain/description/ftg#>
- '''
- query = '''
- SELECT ?outlier ?outlier_value WHERE {
- SERVICE <http://localhost:8000/> {
- SELECT ?outlier ?outlier_value WHERE {
- BIND(dtf:example("data2.csv", "1") AS ?outlier)
- }
- }
- }
- '''
- description = "Example query calling the example function."
- visual_support = true
|