| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- PREFIX gesli: <https://gesli.example/ontology#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- SELECT ?quote ?quoteNo ?validFrom ?validTo ?currency ?supplierCostAmount
- ?offering ?offeringCode ?offeringChannel ?agencyLevel ?capacityCommitment
- ?capacityAvailable ?spotSpaceStatus ?spotSpaceTeu ?supportsDangerousGoods ?dangerousGoodsOnly ?bookingSuccessRate ?spaceReleaseSuccessRate
- ?solutionAssuranceScore ?serviceSupportScore ?relationshipTier ?relationshipStrength
- ?lowPriceAccessProbability ?prioritySpaceProbability ?relationshipEvidence
- ?supplier ?supplierName ?supplierActive
- ?product ?productCode ?productName ?brandName ?transportMode ?serviceForm ?routeType
- ?originLocation ?destinationLocation ?estimatedTransitDays
- ?schedule ?scheduleCode ?documentCutoffTime ?estimatedDepartureTime ?estimatedArrivalTime
- ?etdAtdOnTimeRate ?etaAtaOnTimeRate
- WHERE {
- ?quote a gesli:SupplierQuote ;
- gesli:quoteNo ?quoteNo ;
- gesli:quotedForOffering ?offering ;
- gesli:supplierCostAmount ?supplierCostAmount ;
- gesli:currency ?currency .
- ?offering gesli:offeredBySupplier ?supplier ;
- gesli:offeringProduct ?product .
- ?supplier rdfs:label ?supplierName .
- ?product gesli:productCode ?productCode ;
- gesli:productName ?productName ;
- gesli:transportMode ?transportMode .
- OPTIONAL { ?quote gesli:validFrom ?validFrom . }
- OPTIONAL { ?quote gesli:validTo ?validTo . }
- OPTIONAL { ?offering gesli:offeringCode ?offeringCode . }
- OPTIONAL { ?offering gesli:offeringChannel ?offeringChannel . }
- OPTIONAL { ?offering gesli:agencyLevel ?agencyLevel . }
- OPTIONAL { ?offering gesli:capacityCommitment ?capacityCommitment . }
- OPTIONAL { ?offering gesli:capacityAvailable ?capacityAvailable . }
- OPTIONAL { ?offering gesli:spotSpaceStatus ?spotSpaceStatus . }
- OPTIONAL { ?offering gesli:spotSpaceTeu ?spotSpaceTeu . }
- OPTIONAL { ?offering gesli:supportsDangerousGoods ?supportsDangerousGoods . }
- OPTIONAL { ?offering gesli:dangerousGoodsOnly ?dangerousGoodsOnly . }
- OPTIONAL { ?offering gesli:bookingSuccessRate ?bookingSuccessRate . }
- OPTIONAL { ?offering gesli:spaceReleaseSuccessRate ?spaceReleaseSuccessRate . }
- OPTIONAL { ?offering gesli:solutionAssuranceScore ?solutionAssuranceScore . }
- OPTIONAL { ?offering gesli:serviceSupportScore ?serviceSupportScore . }
- OPTIONAL { ?offering gesli:relationshipTier ?relationshipTier . }
- OPTIONAL { ?offering gesli:relationshipStrength ?relationshipStrength . }
- OPTIONAL { ?offering gesli:lowPriceAccessProbability ?lowPriceAccessProbability . }
- OPTIONAL { ?offering gesli:prioritySpaceProbability ?prioritySpaceProbability . }
- OPTIONAL { ?offering gesli:relationshipEvidence ?relationshipEvidence . }
- OPTIONAL { ?supplier gesli:isActivePartner ?directSupplierActive . }
- OPTIONAL {
- ?supplier gesli:hasBusinessPartnerBasicInfo ?supplierBasic .
- ?supplierBasic gesli:isActivePartner ?basicSupplierActive .
- }
- BIND(COALESCE(?directSupplierActive, ?basicSupplierActive, true) AS ?supplierActive)
- OPTIONAL { ?product gesli:serviceForm ?serviceForm . }
- OPTIONAL { ?product gesli:routeType ?routeType . }
- OPTIONAL { ?product gesli:originLocation ?originLocation . }
- OPTIONAL { ?product gesli:destinationLocation ?destinationLocation . }
- OPTIONAL { ?product gesli:estimatedTransitDays ?estimatedTransitDays . }
- OPTIONAL {
- ?product gesli:hasServiceBrand ?brand .
- ?brand gesli:brandName ?brandName .
- }
- OPTIONAL {
- ?product gesli:hasProductPerformanceProfile ?performance .
- OPTIONAL { ?performance gesli:etdAtdOnTimeRate ?etdAtdOnTimeRate . }
- OPTIONAL { ?performance gesli:etaAtaOnTimeRate ?etaAtaOnTimeRate . }
- }
- OPTIONAL {
- ?quote gesli:quoteAppliesToSchedule ?schedule .
- OPTIONAL { ?schedule gesli:scheduleCode ?scheduleCode . }
- OPTIONAL { ?schedule gesli:documentCutoffTime ?documentCutoffTime . }
- OPTIONAL { ?schedule gesli:estimatedDepartureTime ?estimatedDepartureTime . }
- OPTIONAL { ?schedule gesli:estimatedArrivalTime ?estimatedArrivalTime . }
- }
- }
- ORDER BY ?supplierCostAmount ?supplierName
|