Hi! Thank you for correcting my edit. I added the ordinal because Q80087856 is stated as part (episode 10) of season 4 (Q80032847). Admittedly I may be out of my depth in my additions here, and I will certainly watch for other errors, but seems this one ought to be fixed further?
Topic on User talk:Queryzo
Jump to navigation
Jump to search
Reply to "Bidirectional series ordinals"
Yes, I just fixed it: https://www.wikidata.org/w/index.php?title=Q80032847&diff=prev&oldid=1305163271
Oh, great! I intend to do some writeup of what/how I'm doing, and should probably add some checks before proceeding... Another similar error was spotted which I commented at User_talk:Kam_Solusar#Bidirectional_series_ordinals - if you're more experienced here than I am (I'm learning to explore WDQS), do you have any advice for how I could proceed?
With WDQS you mean Wikidata Quick Statements or Wikidata Query Service? Usually you create lists of items with Query Service which then should be updated then with Quick Statements. In this case you can add colums for Property:P361, which was former used instead of Property:P4908. Those P361 values can be deleted after adding P4908 statements. But: It should be considered that parts of double episodes have P361 AND P4908. A simple way to do this is Pet Scan, which also can use Query Service.
SELECT ?item ?itemLabel ?season ?seasonLabel ?number WHERE {
?item wdt:P31 wd:Q21191270 .
MINUS { ?item wdt:P31 wd:Q21664088 .}
?item p:P4908 ?season_statement.
?season_statement ps:P4908 ?season .
?season_statement pq:P1545 ?number.
?item p:P361 ?is_part_of_statement.
?is_part_of_statement ps:P361 ?season .
?is_part_of_statement pq:P1545 ?number.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} ORDER BY ?item