Ziterauzi KM: Difference between revisions

From Inguma Wikibase
Line 146: Line 146:


=== Aipuen grafoa ===
=== Aipuen grafoa ===
1. Aipuak aipuaren xedeari dagokion OOCC-ko itemera "birbidalita"
<sparql tryit="1">
<sparql tryit="1">
#defaultView:Graph
#defaultView:Graph
Line 153: Line 154:
select ?aipu_iturri ?aipu_iturriLabel ?rgb ?edgeLabel ?aipu_xede ?aipu_xedeLabel  
select ?aipu_iturri ?aipu_iturriLabel ?rgb ?edgeLabel ?aipu_xede ?aipu_xedeLabel  
where { ?aipu_iturri idp:P62 [idp:P88* ?aipu_xede] . # P88: OOCC
where { ?aipu_iturri idp:P62 [idp:P88* ?aipu_xede] . # P88: OOCC
      bind("FFFF99" as ?rgb) bind("aipu" as ?edgeLabel)
      SERVICE wikibase:label { bd:serviceParam wikibase:language "en,eu". }
      }
</sparql>
2. Aipuak, OOCC-ko itemera birbidali gabe
<sparql tryit="1">
#defaultView:Graph
PREFIX iwb: <https://wikibase.inguma.eus/entity/>
PREFIX idp: <https://wikibase.inguma.eus/prop/direct/>
select ?aipu_iturri ?aipu_iturriLabel ?rgb ?edgeLabel ?aipu_xede ?aipu_xedeLabel
where { ?aipu_iturri idp:P62 ?aipu_xede .
       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 "en,eu". }
Bureaucrats, emailconfirmed, Administrators
58,048

edits