query: SELECT ?item ?group ?district ?start 
    WHERE { 
      ?item p:P39 ?ps . 
      ?ps ps:P39 wd:Q14850694 ; pq:P2937 wd:Q90759969 .
      OPTIONAL { ?ps pq:P580 ?start }
      OPTIONAL { ?ps pq:P582 ?end }
      OPTIONAL { ?item p:P102 ?partyS .
               ?partyS ps:P102 ?group. 
             MINUS { ?group wdt:P576 ?dissolved } #정당 소멸 제외
             MINUS { ?partyS pq:P582 ?exitParty } #탈당
             }
      OPTIONAL { ?ps pq:P4100 ?group }
      OPTIONAL { ?ps pq:P768 ?district }
      FILTER(!BOUND(?end)