Closed faulhaber closed 1 month ago
SPARQL query to get all cnum
related to a given texid
(in this example Q43297):
PREFIX wd:<https://philobiblon.cog.berkeley.edu/entity/>
PREFIX wdt:<https://philobiblon.cog.berkeley.edu/prop/direct/>
SELECT ?item_cnum {
?item_cnum wdt:P476 ?item_cnum_pbid .
FILTER regex(?item_cnum_pbid, '(.*) cnum ') .
?item_cnum wdt:P590 wd:Q43297 .
}
That's what I wanted! I tested it on a couple of other Qid as well. The next step is to figure out how to show the texid in PBUI and then have some way of showing the related CNUMs in some sort of a popup. This would presumably be under Advanced Searches, with a search field called "Textual witnesses", "Testimonios textuales",'Testimonis textuals", etc.
Already implemented in #142 and #73
To test the problem of searching UNI and ANA, see: BETA texid 1029 (Alfonso X, Siete partidas) BETA texid 1029 (pb.cog) linked to BETA cnum 130 (pb.cog)
Update of issue#89