find_individuals.toml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. group = "Individuals"
  2. name = "Find Individuals"
  3. prefix = '''
  4. PREFIX dtf: <https://ontology.rys.app/dt/function/>
  5. PREFIX owl: <http://www.w3.org/2002/07/owl#>
  6. PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
  7. PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
  8. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  9. PREFIX dc: <http://purl.org/dc/elements/1.1/>
  10. PREFIX vim4: <http://bipm.org/jcgm/vim4#>
  11. PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
  12. PREFIX dart: <http://ua.be/drivetrain/description/artifacts/artifacts#>
  13. PREFIX dftg: <http://ua.be/drivetrain/description/ftg#>
  14. PREFIX acyclic: <http://ua.be/sdo2l/vocabulary/base/acyclic#>
  15. PREFIX base: <http://ua.be/sdo2l/vocabulary/base/base#>
  16. PREFIX file: <http://ua.be/sdo2l/vocabulary/formalisms/file#>
  17. PREFIX ftg: <http://ua.be/sdo2l/vocabulary/formalisms/ftg#>
  18. PREFIX traces: <http://ua.be/sdo2l/vocabulary/formalisms/processtraces#>
  19. PREFIX shaclproperty: <http://ua.be/sdo2l/vocabulary/formalisms/shaclproperty#>
  20. PREFIX system: <http://ua.be/sdo2l/vocabulary/formalisms/system#>
  21. PREFIX violation: <http://ua.be/sdo2l/vocabulary/formalisms/violation#>
  22. PREFIX code: <http://ua.be/sdo2l/vocabulary/formalisms/code#>
  23. PREFIX component: <http://ua.be/sdo2l/vocabulary/formalisms/component#>
  24. PREFIX csas: <http://ua.be/sdo2l/vocabulary/formalisms/cs_as#>
  25. PREFIX dict: <http://ua.be/sdo2l/vocabulary/formalisms/dict#>
  26. PREFIX drawio: <http://ua.be/sdo2l/vocabulary/formalisms/drawio#>
  27. PREFIX object_diagram: <http://ua.be/sdo2l/vocabulary/formalisms/object_diagram#>
  28. PREFIX pm: <http://ua.be/sdo2l/vocabulary/formalisms/pm#>
  29. PREFIX requirement: <http://ua.be/sdo2l/vocabulary/formalisms/requirement#>
  30. PREFIX richtext: <http://ua.be/sdo2l/vocabulary/formalisms/richtext#>
  31. PREFIX script: <http://ua.be/sdo2l/vocabulary/formalisms/script#>
  32. PREFIX tabular: <http://ua.be/sdo2l/vocabulary/formalisms/tabular#>
  33. PREFIX text: <http://ua.be/sdo2l/vocabulary/formalisms/text#>
  34. PREFIX traceability_model: <http://ua.be/sdo2l/vocabulary/formalisms/traceability_model#>
  35. PREFIX xopp: <http://ua.be/sdo2l/vocabulary/formalisms/xopp#>
  36. PREFIX federation: <http://ua.be/sdo2l/vocabulary/federation#>
  37. '''
  38. query = '''
  39. SELECT DISTINCT ?individual ?name WHERE {
  40. ?individual a {{ class }} .
  41. ?individual {{ relation }} ?name .
  42. }
  43. '''
  44. description = "Find all individuals."
  45. visual_support = true
  46. [[replacements]]
  47. placeholder = "class"
  48. suggestion = "ftg:Formalism"
  49. description = "What class of individual are you looking for?"
  50. [[replacements]]
  51. placeholder = "relation"
  52. suggestion = "rdf:type"
  53. description = "What is the relation you are looking for?"