Hi Magnus. I'm trying to recreate some Wikipedia tables using listeria and wikidata (W:List of Pixar films in User:Escudero/Disney#Pixar Animation Studios or W:Marvel Cinematic Universe in User:Escudero/Marvel). Sometimes the table shows two or three dates in the "U.S. release date" column, because the statement has dates with qualifier place of publication (P291). It's currently possible in listeria show only dates with place of publication (P291) = United States of America (Q30)?
Topic on User talk:Magnus Manske
Jump to navigation
Jump to search
Reply to "Only one date on listeria"
It is (see here, under colums:"Pxxx/Qyyy/Pzzz"), but that will then not show dates without a qualifier.
Yes, but Pxxx/Qyyy/Pzzz returns the value of Pzzz when Pxxx is Qyyy ("for Pxxx linking to an item Qyyy and having a Pzzz qualifier, the value of Pzzz"). My question is different: The value of Pxxx (the main property) when Pzzz (the qualifier) is Qyyy (the value of the qualifier).
With SPARQL you should be able to have (almost) total control over what you include. See here for selecting the wanted date and even including sample date formatting.
@Nono314: I'm really impressed. Thank you!