Filter by language only if the object is a literal
问题 I've written the following query: SELECT DISTINCT ?predicate ?object ?label WHERE { VALUES ?subject { <http://dbpedia.org/resource/Hercules_(1997_film)> } ?subject ?predicate ?object . ?predicate rdfs:label ?label . FILTER(langMatches(lang(?object), "EN")) } LIMIT 100 When I write the FILTER line this way, I've essentially filtered out all non-literals ( side question: are literals the only type that can have a language tag? ) So, how do I keep all of my results and filter out non-english