query-5b18531176e279547dd37ed3bace41db

rq turtle/ttl

Constraint - BHL page id ]reply[02:52, 13 August 2023 (UTC)) talk (Maculosae tegmine lyncisHello, I propose to remove this constraint. Where the original species description is in the BHL page provided, that is presumably a good identifier and a useful addition to the taxon bars in use in other projects such as enwiki and wikispecies, thanks, ]reply[03:47, 13 August 2023 (UTC)) talk (Christian Ferrer. [3]Hello, I don't think it's a good idea. You can use it in reference(s), see a good way to use "BHL page" → . The data can then used into querries, e.g. in the following one where the "PlaziI ID" are used but when available it could be the "BHL page ID"there or others [6], see also the folowing discussions: [5] and [4]To use "BHL page ID" in reference along with "reference has role" allow interesting things e.g. ]reply[05:39, 13 August 2023 (UTC)) talk (Maculosae tegmine lyncis as above), the taxon bar now includes as "Taxon identifiers" not only wikidata and wikispecies (unfortunately with typos in the taxon name and the taxon authority) but also the first valid description. If not this way, do we need a new identifier "BHL qua first description", or how do we deliver this reference across projects? Q12009011 - after the addition of the BHL page (Varanus marathonensisEg enwiki ]reply[05:28, 13 August 2023 (UTC)) talk (Maculosae tegmine lyncis has an identifier which seems to amount to a google search, presumably the original scientific description in the BHL page (I added, meeting with the constraint issue) helps identify the species. If not appropriate as an identifier, do we need a new identifier that can also be picked up by the taxon bars, "first valid description" or something like that, which can then be completed with the doi/bhl page/etc, thanks, Q12009011, there are already 26 references for the name and more will be added by bots with each new checklist release; the original scientific description would then be lost amongst them all; should we have extra lines under the taxon author & taxon year, for taxon publication (& link)? Also, how do you propose we deliver the original description/BHL link (or equivalent) to the taxon boxes across the projects? Q25882 Anser anserThank you, in the taxon name box, that looks good; however as eg

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?referenceHasRole ?referenceHasRoleLabel ?Pages ?BHL_URL ?PlaziID ?PlaziID_URL 
WHERE
{
    ?item p:P225 ?statement .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P248 wd:Q113756664.
  OPTIONAL { ?item p:P225 ?statement .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P248 ?publication.
              OPTIONAL { ?item p:P225 ?statement .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P248 ?publication.
    ?reference pr:P6184 ?referenceHasRole}
               OPTIONAL { ?item p:P225 ?statement .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P248 ?publication.
    ?reference pr:P1992 ?PlaziID
  BIND(IRI(CONCAT("http://treatment.plazi.org/id/",?PlaziID)) as ?PlaziID_URL)}
               OPTIONAL { ?item p:P225 ?statement .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P248 ?publication.
    ?reference pr:P304 ?Pages}
               OPTIONAL { ?item p:P225 ?statement .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P248 ?publication.
    ?reference pr:P687 ?BHLpageID
  BIND(IRI(CONCAT("https://biodiversitylibrary.org/page/",?BHLpageID)) as ?BHL_URL)}
}
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v10("?BHL_URL"):::projected v9("?BHLpageID") v8("?Pages"):::projected v6("?PlaziID"):::projected v7("?PlaziID_URL"):::projected v1("?item"):::projected v4("?publication") v3("?reference") v5("?referenceHasRole"):::projected v2("?statement") c10(["bd:serviceParam"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q113756664"]):::iri v1 --"p:P225"--> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:P225".-> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> v4 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:P225".-> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> v4 v3 --"p:reference/P6184"--> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:P225".-> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> v4 v3 --"p:reference/P1992"--> v6 bind0[/"concat('http://treatment.plazi.org/id/',?PlaziID)"/] v6 --o bind0 bind0 --as--o v7 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:P225".-> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> v4 v3 --"p:reference/P304"--> v8 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:P225".-> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> v4 v3 --"p:reference/P687"--> v9 bind1[/"concat('https://biodiversitylibrary.org/page/',?BHLpageID)"/] v9 --o bind1 bind1 --as--o v10 end end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end