Steps to Reproduce:
Search an image regardless of value. You will get a results like this one.
Look at the element properties and do a new search with image and the property. Example point in time (P585).
Actual Results:
No results are shown.
The generated SparqlQuery is incorrect.
SELECT ?item ?itemLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } ?item (p:P18/ps:P18) _:anyValue. ?item (p:P585/ps:P585) _:anyValue. }
Expected Results:
We should get at least the result we found in the first search.
SELECT ?item ?itemLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } ?item (p:P18/ps:P18) _:anyValue123 . ?item (p:P585/ps:P585) _:anyValue234 . }
The anyValue term should be different in every triple.