public SparqlResultSet ExecuteQuery(String query) { var results = situation.ExecuteQuery(query); return(results is SparqlResultSet ? (SparqlResultSet)results : null); }