catch exceptions for missing info in SPARQL