What is {military branch} of {Strom Thurmond} that is {end time} is {1946-0-0} ?
Storm Thurmond's end time of 1946-0-0 was held in what branch?
What is Storm Thurmond's Military Branch with end time 1946-0-0?
SELECT ?r WHERE { resource:Strom_Thurmond property:military_branch ?o . ?o property:military_branch ?r . ?o property:end_time ?d . FILTER ( CONTAINS ( YEAR ( ?d ) , '1946' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q324719> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P241> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1946-0-0>
} 

SELECT ?obj WHERE { wd:Q324719 p:P241 ?s . ?s ps:P241 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1946')) }