PREFIX : SELECT * WHERE { ?fld a :Field . ?well :inField ?fld ; :hasWellbore ?w . ?w a :Wellbore ; :hasWellboreInterval ?int . ?int a :StratigraphicZone ; :hasUnit ?c1 . ?w :hasWellboreInterval ?litho_zone . ?litho_zone :hasUnit ?litho_unit ; :overlapsWellboreInterval ?int . ?w :hasWellboreInterval ?f ; :name ?wellbore . ?f :overlapsWellboreInterval ?int ; :fluidZoneContent ?content . ?w :hasWellboreInterval ?other_hc . ?other_hc :fluidZoneContent ?other_content }