PREFIX : SELECT * WHERE { ?w a :Wellbore ; :wellboreDocument ?doc . ?doc :hasURL ?document_hyperlink }