platform-supplier-classification.rq 1.2 KB

12345678910111213141516171819202122232425262728
  1. PREFIX gesli: <https://gesli.example/ontology#>
  2. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  3. SELECT ?supplierName ?supplierNature ?platformSupplierType
  4. ?serviceCountry ?serviceRegion ?serviceCity ?servicePort ?serviceScope
  5. ?branchRole ?parentSupplierName ?authorizedBrandName
  6. WHERE {
  7. ?supplier a/rdfs:subClassOf* gesli:Supplier ;
  8. rdfs:label ?supplierName .
  9. OPTIONAL { ?supplier gesli:supplierNature ?supplierNature . }
  10. OPTIONAL { ?supplier gesli:platformSupplierType ?platformSupplierType . }
  11. OPTIONAL { ?supplier gesli:serviceCountry ?serviceCountry . }
  12. OPTIONAL { ?supplier gesli:serviceRegion ?serviceRegion . }
  13. OPTIONAL { ?supplier gesli:serviceCity ?serviceCity . }
  14. OPTIONAL { ?supplier gesli:servicePort ?servicePort . }
  15. OPTIONAL { ?supplier gesli:serviceScope ?serviceScope . }
  16. OPTIONAL { ?supplier gesli:branchRole ?branchRole . }
  17. OPTIONAL {
  18. ?supplier gesli:localUnitOf ?parentSupplier .
  19. ?parentSupplier rdfs:label ?parentSupplierName .
  20. }
  21. OPTIONAL {
  22. ?supplier gesli:authorizedForServiceBrand ?brand .
  23. ?brand gesli:brandName ?authorizedBrandName .
  24. }
  25. }
  26. ORDER BY ?supplierNature ?platformSupplierType ?serviceCountry ?serviceRegion ?supplierName