PREFIX ocds: PREFIX dct: PREFIX xsd: SELECT ?hasten ?qtitle ?qdescription ?qstatus WHERE { ?id ocds:hasTender ?hasten . OPTIONAL { ?hasten dct:title ?qtitle } . OPTIONAL { ?hasten dct:description ?qdescription } . OPTIONAL { ?hasten ocds:tenderStatus ?qstatus } . FILTER ( ?status = xsd:string("_empty_") || regex( ?qstatus, ?status, "i") ) . FILTER ( ?title = xsd:string("_empty_") || regex( ?qtitle, ?title, "i") ) . FILTER ( ?description = xsd:string("_empty_") || regex( ?qdescription, ?description, "i") ) . }