Difference between revisions of "User:Genferei/Exemples"

From Wikibase Personal data
Jump to navigation Jump to search
Line 1: Line 1:
==wikidata sparql ==
 
https://w.wiki/APb  --> 48 partis politiques CH trouvés
 
https://w.wiki/APp  --> Bières belges avec option image ou pas
 
 
 
 
==wiki.personaldata sparql==
 
==wiki.personaldata sparql==
  
Line 20: Line 15:
 
   SERVICE wikibase:label {
 
   SERVICE wikibase:label {
 
     bd:serviceParam wikibase:language "en" . }
 
     bd:serviceParam wikibase:language "en" . }
   } ORDER BY ASC(UCASE(str(?itemLabel))) #permet de ne pas différencier majuscules et miniscules12
+
   } ORDER BY ASC(UCASE(str(?itemLabel))) #permet de ne pas différencier majuscules et minuscules
 
}}
 
}}
  
 
https://tinyurl.com/yz9oambf  same request Tree Map visualisation
 
https://tinyurl.com/yz9oambf  same request Tree Map visualisation
  
[https://query.personaldata.io/index.html#PREFIX%20pdio%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0APREFIX%20pdiop%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2F%3E%0APREFIX%20pdiops%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fstatement%2F%3E%0APREFIX%20pdiopq%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fqualifier%2F%3E%0A%23book%20list%0A%23defaultView%3A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3Fisbn%20%3Fauthor%20WHERE%20%7B%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ1633.%20%20%20%23%20book%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP216%20%20%3Fisbn.%7D%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP121%20%3Fauthor.%7D%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP126%20%3Fcomment.%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%20%0A%20%20%7D%7D%0A%20%20ORDER%20BY%20ASC%28UCASE%28str%28%3FitemLabel%29%29%29%20%23permet%20de%20ne%20pas%20diff%C3%A9rencier%20majuscules%20et%20miniscules book list]
+
[https://query.personaldata.io/index.html#PREFIX%20pdio%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0APREFIX%20pdiop%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2F%3E%0APREFIX%20pdiops%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fstatement%2F%3E%0APREFIX%20pdiopq%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fqualifier%2F%3E%0A%23book%20list%0A%23defaultView%3A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3Fisbn%20%3Fauthor%20WHERE%20%7B%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ1633.%20%20%20%23%20book%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP216%20%20%3Fisbn.%7D%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP121%20%3Fauthor.%7D%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP126%20%3Fcomment.%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%20%0A%20%20%7D%7D%0A%20%20ORDER%20BY%20ASC%28UCASE%28str%28%3FitemLabel%29%29%29%20%23permet%20de%20ne%20pas%20diff%C3%A9rencier%20majuscules%20et%20minuscules book list]
  
[https://query.personaldata.io/#PREFIX%20pdio%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0APREFIX%20pdiop%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2F%3E%0APREFIX%20pdiops%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fstatement%2F%3E%0APREFIX%20pdiopq%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fqualifier%2F%3E%0A%23defaultView%3A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3Furl%20WHERE%20%7B%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ1206.%20%20%20%23%20news%20item%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP15%20%20%3Furl.%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%20%7D%0A%20%20%7D%20ORDER%20BY%20ASC%28UCASE%28str%28%3Furl%29%29%29%20%23permet%20de%20ne%20pas%20diff%C3%A9rencier%20majuscules%20et%20miniscules media list ]
+
[https://query.personaldata.io/#PREFIX%20pdio%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0APREFIX%20pdiop%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2F%3E%0APREFIX%20pdiops%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fstatement%2F%3E%0APREFIX%20pdiopq%3A%20%3Chttps%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fqualifier%2F%3E%0A%23defaultView%3A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3Furl%20WHERE%20%7B%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ1206.%20%20%20%23%20news%20item%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP15%20%20%3Furl.%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%20%7D%0A%20%20%7D%20ORDER%20BY%20ASC%28UCASE%28str%28%3Furl%29%29%29%20%23permet%20de%20ne%20pas%20diff%C3%A9rencier%20majuscules%20et%20minuscules media list ]
  
 
===Wikibase ===
 
===Wikibase ===

Revision as of 12:16, 7 January 2020

wiki.personaldata sparql

Reference management

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/>
#Property:P3 item:210 scholarly article
#Property:P212 arxiv
#Property:P62 doi
#defaultView:
SELECT ?item ?itemLabel  ?arxiv ?doi WHERE {
  ?item pdiot:P3 pdio:Q210.   # scholarly article
  OPTIONAL {?item pdiot:P212  ?arxiv.}
  OPTIONAL {?item pdiot:P62 ?doi.}
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" . }
  } ORDER BY ASC(UCASE(str(?itemLabel))) #permet de ne pas différencier majuscules et minuscules

list of scholarly articles with +doi or arxiv id (embedded)


https://tinyurl.com/yz9oambf same request Tree Map visualisation

book list

media list

Wikibase

list of properties


Adtech

Adtech list (not sorted) par ordre alphabétique majuscule puis minuscule
https://tinyurl.com/usgrele Adtech list


Sandbox

Basic, voir une propriété https://huit.re/askjust1property
https://tinyurl.com/yxvwfew9 Partis politiques suisses + mail + adresses avec doublon
https://huit.re/PartisCHMailsURL Partis politiques suisses + mail + adresses sans doublon car regroupé sur une meme ligne

Liste des partis politiques basés en Suisse sans l'adresse mail

Pour visualiser toutes les déclarations d'un item ici un ex parti politique UDC "sans que cela bouge"

exemple de PO sur le réseau de Mickey avec une visualisation qui bouge