Anonymous

NeoVoc/language/el: Difference between revisions

From eneoli wikibase
recreate wiki page using upload_lang_page.py
(recreate wiki page using upload_lang_page.py)
(recreate wiki page using upload_lang_page.py)
Line 43: Line 43:
} order by lcase(?label_mylang)
} order by lcase(?label_mylang)
</sparql>
</sparql>
=== NeoVoc entries with labels for Modern Greek that still have warnings ===
=== NeoVoc entries with equivalents for Modern Greek that still have warnings ===
<sparql tryit="1">
<sparql tryit="1">
#title: NeoVoc concepts with warnings on Modern Greek labels.
#title: NeoVoc concepts with warnings on Modern Greek labels.
Line 61: Line 61:
   optional {?concept rdfs:label ?label_fr. filter(lang(?label_fr)="fr")}
   optional {?concept rdfs:label ?label_fr. filter(lang(?label_fr)="fr")}
   ?concept enp:P57 ?label_st. ?label_st enps:P57 ?label_mylang. filter(lang(?label_mylang)="el")
   ?concept enp:P57 ?label_st. ?label_st enps:P57 ?label_mylang. filter(lang(?label_mylang)="el")
           optional {?label_st enpq:P58 ?warning.}
           ?label_st enpq:P58 ?warning.
  optional {?concept schema:description ?descript_en. filter(lang(?descript_en)="en")}
  optional {?concept schema:description ?descript_fr. filter(lang(?descript_fr)="fr")}
  optional {?concept schema:description ?descript_mylang. filter(lang(?descript_mylang)="el")}
 
} order by lcase(?label_mylang)
</sparql>
=== Only those NeoVoc entries with equivalents in Modern Greek (without warnings) ===
<sparql tryit="1">
#title: NeoVoc concepts validated Modern Greek equivalents.
 
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
PREFIX enp: <https://eneoli.wikibase.cloud/prop/>
PREFIX enps: <https://eneoli.wikibase.cloud/prop/statement/>
PREFIX enpq: <https://eneoli.wikibase.cloud/prop/qualifier/>
 
select ?concept ?label_mylang ?warning ?descript_mylang (iri(concat(str(wd:),?wd)) as ?wikidata) ?label_en ?descript_en ?label_fr ?descript_fr
 
where {
  ?concept endp:P5 enwb:Q12. # instances of "NeoVoc Concept"
  optional {?concept endp:P1 ?wd.}
  optional {?concept rdfs:label ?label_en. filter(lang(?label_en)="en")}
  optional {?concept rdfs:label ?label_fr. filter(lang(?label_fr)="fr")}
  ?concept enp:P57 ?label_st. ?label_st enps:P57 ?label_mylang. filter(lang(?label_mylang)="el")
          filter not exists {?label_st enpq:P58 ?warning.}
   optional {?concept schema:description ?descript_en. filter(lang(?descript_en)="en")}
   optional {?concept schema:description ?descript_en. filter(lang(?descript_en)="en")}
   optional {?concept schema:description ?descript_fr. filter(lang(?descript_fr)="fr")}
   optional {?concept schema:description ?descript_fr. filter(lang(?descript_fr)="fr")}
Bots, emailconfirmed
8,882

edits