diff --git a/script.js b/script.js index c437605..a751bac 100644 --- a/script.js +++ b/script.js @@ -125,7 +125,7 @@ locationSelect.addEventListener('change', displaySelectedPanchayat); WHERE { ?wards wdt:P31 wd:Q1195098; p:P31 ?id. - ?id pq:P642 <${selectedPanchayatURI}>. + ?id pq:P131 <${selectedPanchayatURI}>. } LIMIT 150 } @@ -234,4 +234,4 @@ window.addEventListener("DOMContentLoaded", function() { // Set panchayatSelect as disabled initially panchayatSelect.disabled = true; panchayatTable.style.display = 'block'; -populationTable.style.display = 'none'; \ No newline at end of file +populationTable.style.display = 'none';