Difference between revisions of "User:Genferei/Exemples"

From Wikibase Personal data
Jump to navigation Jump to search
Line 7: Line 7:
  
 
===Reference management ===
 
===Reference management ===
 +
{{SPARQL|label=liste des articles scientifiques
 +
|query=
 +
#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 miniscules12
 +
}}
 +
 +
 
[https://query.personaldata.io/index.html#PREFIX%20pdio%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0APREFIX%20pdiop%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2F%3E%0APREFIX%20pdiops%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fstatement%2F%3E%0APREFIX%20pdiopq%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fqualifier%2F%3E%0A%23liste%20des%20articles%20scientifiques%0A%23Property%3AP3%20item%3A210%20scholarly%20article%0A%23Property%3AP212%20arxiv%0A%23Property%3AP62%20doi%0A%23defaultView%3A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3Farxiv%20%3Fdoi%20WHERE%20%7B%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ210.%20%20%20%23%20scholarly%20article%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP212%20%20%3Farxiv.%7D%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP62%20%3Fdoi.%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%20miniscules12%0A list of scolarly articles with  +doi or arxiv id]  
 
[https://query.personaldata.io/index.html#PREFIX%20pdio%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0APREFIX%20pdiop%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2F%3E%0APREFIX%20pdiops%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fstatement%2F%3E%0APREFIX%20pdiopq%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fqualifier%2F%3E%0A%23liste%20des%20articles%20scientifiques%0A%23Property%3AP3%20item%3A210%20scholarly%20article%0A%23Property%3AP212%20arxiv%0A%23Property%3AP62%20doi%0A%23defaultView%3A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3Farxiv%20%3Fdoi%20WHERE%20%7B%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ210.%20%20%20%23%20scholarly%20article%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP212%20%20%3Farxiv.%7D%0A%20%20OPTIONAL%20%7B%3Fitem%20pdiot%3AP62%20%3Fdoi.%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%20miniscules12%0A list of scolarly articles with  +doi or arxiv id]  
  

Revision as of 10:06, 4 January 2020

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

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" .

liste des articles scientifiques (embedded)

ORDER BY ASC(UCASE(str(?itemLabel))) #permet de ne pas différencier majuscules et miniscules12

}}


list of scolarly articles with +doi or arxiv id

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

book 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