configuration.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. endpoint_sparql = "http://127.0.0.1:3030/Drivetrain/sparql" # Fuseki SPARQL endpoint for the drivetrain
  2. #endpoint_sparql = "http://127.0.0.1:8000/"
  3. #endpoint_sparql = "https://fuseki.rys.app/example/"
  4. example_prefix = '''
  5. PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
  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 dtf: <https://ontology.rys.app/dt/function/>
  9. PREFIX owl: <http://www.w3.org/2002/07/owl#>
  10. '''
  11. example_query = '''
  12. SELECT ?outlier ?outlier_relation ?outlier_value WHERE {
  13. SERVICE <http://127.0.0.1:8000/> {
  14. SELECT ?outlier ?outlier_relation ?outlier_value WHERE {
  15. BIND(dtf:outlier("rotation.csv", "2", "<http://ua.be/drivetrain/description/artifacts/artifacts#drivetrain-sensor-data-v1>") AS ?outlier)
  16. }
  17. }
  18. }
  19. '''
  20. # Functions and services
  21. [[prefixes]]
  22. name = "dtf"
  23. namespace = "https://ontology.rys.app/dt/function/"
  24. # Generic
  25. [[prefixes]]
  26. name = "owl"
  27. namespace = "http://www.w3.org/2002/07/owl#"
  28. [[prefixes]]
  29. name = "rdf"
  30. namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  31. [[prefixes]]
  32. name = "xsd"
  33. namespace = "http://www.w3.org/2001/XMLSchema#"
  34. [[prefixes]]
  35. name = "rdfs"
  36. namespace = "http://www.w3.org/2000/01/rdf-schema#"
  37. [[prefixes]]
  38. name = "dc"
  39. namespace = "http://purl.org/dc/elements/1.1/"
  40. [[prefixes]]
  41. name = "vim4"
  42. namespace = "http://bipm.org/jcgm/vim4#"
  43. # Digital Twin Design
  44. [[prefixes]]
  45. name = "art"
  46. namespace = "http://ua.be/drivetrain/description/artifacts/artifacts#"
  47. [[prefixes]]
  48. name = "tabular"
  49. namespace = "http://ua.be/sdo2l/vocabulary/base/tabular#"
  50. [[prefixes]]
  51. name = "ftg"
  52. namespace = "http://ua.be/sdo2l/vocabulary/ftg#"
  53. [[prefixes]]
  54. name = "base"
  55. namespace = "http://ua.be/sdo2l/vocabulary/base#"
  56. [[prefixes]]
  57. name = "comp"
  58. namespace = "http://ua.be/sdo2l/vocabulary/component#"
  59. [[prefixes]]
  60. name = "code"
  61. namespace = "http://ua.be/sdo2l/vocabulary/base/code#"
  62. [[prefixes]]
  63. name = "script"
  64. namespace = "http://ua.be/sdo2l/vocabulary/base/script#"
  65. [[prefixes]]
  66. name = "file"
  67. namespace = "http://ua.be/sdo2l/vocabulary/base/file#"
  68. [[prefixes]]
  69. name = "swrl"
  70. namespace = "http://www.w3.org/2003/11/swrl#"
  71. [[prefixes]]
  72. name = "traces"
  73. namespace = "http://ua.be/sdo2l/vocabulary/processtraces#"
  74. [[prefixes]]
  75. name = "wf"
  76. namespace = "http://ua.be/sdo2l/vocabulary/workflow#"
  77. [[prefixes]]
  78. name = "text"
  79. namespace = "http://ua.be/sdo2l/vocabulary/base/text#"
  80. [[prefixes]]
  81. name = "federation"
  82. namespace = "http://ua.be/sdo2l/vocabulary/federation#"
  83. [[prefixes]]
  84. name = "dftg"
  85. namespace = "http://ua.be/drivetrain/description/ftg#"