query-0a184c0c8c42273b162ba26bdcb242e0
Distinct values synonyms abd their referencesHello, if either you intend to improve your tool alec-demo.herokuapp.com you should think to retrieve the list of synonym(s) of a taxon, but also, and very important the reference linked to those synonym. ]reply[08:32, 9 May 2021 (UTC)) talk (Christian Ferrer, that have a given reference for the first description. It would be great if the both pages could be linked one each other and if below the section "reference" we could have a kind of section "reference for the synonyms" automatically generated. Regards, Q106771298 as a replacement name for Q106771265E.g. I just created .https://github.com/rdmpage/alec/issues/12: I've fixed (I think) the bug concerning the type specimen (my SPARQL was broken). The missing reference is because I exclude everything that isn't a scholarly article. I will look into this Christian Ferrer@ it seems there is a kind of bug, as this item has a reference for his taxon name but the reference don't appears. Q21870070 though I don't understand why one value is stored in the section "types" (how can a species name be the type of another species name?). Also within the same item Q21870070I just noticed that you already tried to retrieve the synonymy with a section "Related names", that is a good concept, e.g. .(P225)taxon name as a qualifier of (P248)stated in For the references, IMO the best way is the current way as you seems to do with alec-demo.herokuapp, i.e. ]reply[11:06, 9 May 2021 (UTC)) talk (Rdmpage and will investigate. I suspect the query will require some finessing given the numerous ways we have to represent synonyms and links to references. --https://github.com/rdmpage/alec/issues/9: Good idea, I've created an issue for this Christian Ferrer@(P2868)subject has role All the taxa items using Just by curiosity look at those both queries:
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?roleValue ?roleValueLabel WHERE {
?item wdt:P2868 ?roleValue; wdt:P31 wd:Q16521 .
SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
}
Query found at
- https://www.wikidata.org/wiki/User_talk:Rdmpage
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2021/05