From c737a26d001fc4db52a5b1db73bb59db89c0acec Mon Sep 17 00:00:00 2001 From: Jinoy Tom Jacob <38123141+gnoeee@users.noreply.github.com> Date: Sat, 14 Dec 2024 23:51:06 +0530 Subject: [PATCH] updating the query updating the query to fix the issue --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';