What is {price} of {gold} that is {point in time} is {2018-7-26} ?
In 2018-7-26, what was the price of gold?
What was the price of gold in 2018-7-26?
SELECT ?z WHERE { FILTER ( CONTAINS ( YEAR ( ?u ) , '2018' ) ) . ?a property:point_in_time ?u . ?a property:price ?z . resource:gold property:price ?a }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q897> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2284> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <2018-7-26>
} 

SELECT ?obj WHERE { wd:Q897 p:P2284 ?s . ?s ps:P2284 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2018')) }