Ziterauzi KM: Difference between revisions

Line 148: Line 148:
==== Aipuak aipuaren xedeari dagokion OOCC-ko itemera "birbidalita" ====
==== Aipuak aipuaren xedeari dagokion OOCC-ko itemera "birbidalita" ====
<sparql tryit="1">
<sparql tryit="1">
#defaultView:Graph
#defaultView:Graph
#defaultView:Graph
PREFIX iwb: <https://wikibase.inguma.eus/entity/>
PREFIX iwb: <https://wikibase.inguma.eus/entity/>
PREFIX idp: <https://wikibase.inguma.eus/prop/direct/>
PREFIX idp: <https://wikibase.inguma.eus/prop/direct/>


select ?aipu_iturri ?aipu_iturriLabel ?rgb ?edgeLabel ?aipu_xede ?aipu_xedeLabel  
select distinct ?aipu_iturri ?aipu_iturriLabel ?rgb ?edgeLabel ?aipu_xede ?aipu_xedeLabel  
where { ?aipu_xede idp:P89 ?oocc_id. ?aipu_iturri idp:P62 [idp:P88* ?aipu_xede] . # P88: OOCC
where { ?aipu_xede idp:P89 ?oocc_id. ?aipu_iturri idp:P62 [idp:P88* ?aipu_xede] . # P88: OOCC
       bind("FFFF99" as ?rgb) bind("aipu" as ?edgeLabel)
       bind("FFFF99" as ?rgb) bind("aipu" as ?edgeLabel)
       SERVICE wikibase:label { bd:serviceParam wikibase:language "en,eu". }
       SERVICE wikibase:label { bd:serviceParam wikibase:language "eu, es, en, fr". }
       }
       }
</sparql>
</sparql>
Line 168: Line 169:
where { ?aipu_iturri idp:P62 ?aipu_xede . ?aipu_xede idp:P17 iwb:Q201.
where { ?aipu_iturri idp:P62 ?aipu_xede . ?aipu_xede idp:P17 iwb:Q201.
       bind("FFFF99" as ?rgb) bind("aipu" as ?edgeLabel)
       bind("FFFF99" as ?rgb) bind("aipu" as ?edgeLabel)
       SERVICE wikibase:label { bd:serviceParam wikibase:language "en,eu". }
       SERVICE wikibase:label { bd:serviceParam wikibase:language "eu, es, en, fr". }
       }
       }
</sparql>
</sparql>
Bureaucrats, emailconfirmed, Administrators
58,049

edits