Project:Adtech/Cleanup

From Wikibase Personal data
Jump to navigation Jump to search
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item WHERE 
{
   ?item pdiot:P3 pdio:Q110.      # instance of - adtech company
   ?item pdiot:P110 pdio:Q117.    # concern - adtech
}

adtech companies with concern adtech (embedded)


PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item ?itemLabel WHERE
{
   ?item pdiot:P3 pdio:Q110.      # instance of - adtech company
   ?item pdiot:P110 pdio:Q117.    # concern - adtech
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

instance of - adtech company AND concern - adtech (embedded)


PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item ?itemLabel WHERE
{
   ?item pdiot:P3 pdio:Q110.      # instance of - adtech company
   MINUS {
       ?item pdiot:P110 pdio:Q117.    # concern - adtech
   }.
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

instance of - adtech company MINUS concern - adtech (embedded)