Changes

Jump to navigation Jump to search
no edit summary
Line 183: Line 183:  
    // Now check via sparql (much slower but includes subtypes)
 
    // Now check via sparql (much slower but includes subtypes)
 
    const endpointUrl = 'https://query.personaldata.io/proxy/wdqs/bigdata/namespace/wdq/sparql',
 
    const endpointUrl = 'https://query.personaldata.io/proxy/wdqs/bigdata/namespace/wdq/sparql',
sparqlQuery = 'Ask { wd:Q' + qid + ' wdt:P3/wdt:P4* wd:Q' + typeqid +
+
sparqlQuery = 'Ask { pdio:Q' + qid + ' pdiot:P3/pdiot:P4* pdio:Q' + typeqid +
 
'. hint:Prior hint:gearing "forwards" }',
 
'. hint:Prior hint:gearing "forwards" }',
 
fullUrl = endpointUrl + '?query=' + encodeURIComponent( sparqlQuery ),
 
fullUrl = endpointUrl + '?query=' + encodeURIComponent( sparqlQuery ),

Navigation menu