PREFIX ocds: PREFIX rov: PREFIX owl: PREFIX dbp: PREFIX bgh: PREFIX schema: SELECT ?qjurisdiction ?qlegalname ?qstreet ?qpostalcode ?qlocality ?qcountry ?qname ?qemail ?qtelephone ?qurl ?qfax WHERE { ?s a ocds:Organisation . ?s ocds:isBuyerFor ?id . ?s ocds:legalName ?qlegalname . OPTIONAL { ?s owl:sameAs ?sas . ?sas rov:legalName ?qlegalname ; dbp:jurisdiction ?qjurisdiction } . OPTIONAL { ?s ocds:hasAddress ?haddress . OPTIONAL { ?haddress schema:streetAddress ?qstreet . ?haddress schema:postalCode ?qpostalcode . ?haddress schema:addressLocality ?qlocality . ?haddress schema:addressCountry ?qcountry }} . OPTIONAL { ?s ocds:hasContactPoint ?hcp . OPTIONAL { ?hcp schema:name ?qname . ?hcp schema:email ?qemail . ?hcp schema:telephone ?qtelephone . OPTIONAL { ?hcp schema:URL ?qurl . ?hcp schema:faxNumber ?qfax }}} . # So far, no buyer has correspondance with euBG # OPTIONAL { ?s owl:sameAs ?sas . # OPTIONAL { ?sas rov:legalName ?qname . # ?sas dbp:jurisdiction ?qjurisdiction }} . }