123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- endpoint_sparql = "http://127.0.0.1:3030/Drivetrain/sparql" # Fuseki SPARQL endpoint for the drivetrain
- #endpoint_sparql = "http://127.0.0.1:8000/"
- #endpoint_sparql = "https://fuseki.rys.app/example/"
- example_prefix = '''
- PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX dtf: <https://ontology.rys.app/dt/function/>
- PREFIX owl: <http://www.w3.org/2002/07/owl#>
- '''
- example_query = '''
- SELECT ?outlier ?outlier_relation ?outlier_value WHERE {
- SERVICE <http://127.0.0.1:8000/> {
- SELECT ?outlier ?outlier_relation ?outlier_value WHERE {
- BIND(dtf:outlier("rotation.csv", "2", "<http://ua.be/drivetrain/description/artifacts/artifacts#drivetrain-sensor-data-v1>") AS ?outlier)
- }
- }
- }
- '''
- # Functions and services
- [[prefixes]]
- name = "dtf"
- namespace = "https://ontology.rys.app/dt/function/"
- # Generic
- [[prefixes]]
- name = "owl"
- namespace = "http://www.w3.org/2002/07/owl#"
- [[prefixes]]
- name = "rdf"
- namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- [[prefixes]]
- name = "xsd"
- namespace = "http://www.w3.org/2001/XMLSchema#"
- [[prefixes]]
- name = "rdfs"
- namespace = "http://www.w3.org/2000/01/rdf-schema#"
- [[prefixes]]
- name = "dc"
- namespace = "http://purl.org/dc/elements/1.1/"
- [[prefixes]]
- name = "vim4"
- namespace = "http://bipm.org/jcgm/vim4#"
- # Digital Twin Design
- [[prefixes]]
- name = "art"
- namespace = "http://ua.be/drivetrain/description/artifacts/artifacts#"
- [[prefixes]]
- name = "tabular"
- namespace = "http://ua.be/sdo2l/vocabulary/base/tabular#"
- [[prefixes]]
- name = "ftg"
- namespace = "http://ua.be/sdo2l/vocabulary/ftg#"
- [[prefixes]]
- name = "base"
- namespace = "http://ua.be/sdo2l/vocabulary/base#"
- [[prefixes]]
- name = "comp"
- namespace = "http://ua.be/sdo2l/vocabulary/component#"
- [[prefixes]]
- name = "code"
- namespace = "http://ua.be/sdo2l/vocabulary/base/code#"
- [[prefixes]]
- name = "script"
- namespace = "http://ua.be/sdo2l/vocabulary/base/script#"
- [[prefixes]]
- name = "file"
- namespace = "http://ua.be/sdo2l/vocabulary/base/file#"
- [[prefixes]]
- name = "swrl"
- namespace = "http://www.w3.org/2003/11/swrl#"
- [[prefixes]]
- name = "traces"
- namespace = "http://ua.be/sdo2l/vocabulary/processtraces#"
- [[prefixes]]
- name = "wf"
- namespace = "http://ua.be/sdo2l/vocabulary/workflow#"
- [[prefixes]]
- name = "text"
- namespace = "http://ua.be/sdo2l/vocabulary/base/text#"
- [[prefixes]]
- name = "federation"
- namespace = "http://ua.be/sdo2l/vocabulary/federation#"
- [[prefixes]]
- name = "dftg"
- namespace = "http://ua.be/drivetrain/description/ftg#"
|