what is the {point in time} for {South Carolina} has {population} as {3.12182e+06} ?
When was South Carolina's population at 31,218,206?
When did South Carolina have a population of 3.12182e+06?
SELECT ?j WHERE { FILTER ( CONTAINS ( ?g , '3.12182e+06' ) ) . ?z property:point_in_time ?j . ?z property:population ?g . resource:South_Carolina property:population ?z }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1456> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1082> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <3.12182e+06> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q1456 p:P1082 ?s . ?s ps:P1082 ?x filter(contains(?x , '3.12182e+06')) . ?s pq:P585 ?value}