What is {employees} of {SpaceX} that is {point in time} is {2017-4-0} ?
Spacex had how many employees in 2017?
How many employees worked at SpaceX in 2017?
SELECT ?k WHERE { ?n property:employees ?k . FILTER ( CONTAINS ( YEAR ( ?m ) , '2017' ) ) . ?n property:point_in_time ?m . resource:SpaceX property:employees ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q193701> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1128> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <2017-4-0>
} 

SELECT ?obj WHERE { wd:Q193701 p:P1128 ?s . ?s ps:P1128 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2017')) }