Talk:Q637866
Jump to navigation
Jump to search
Autodescription — book review (Q637866)
description: form of literary criticism in which a book is analyzed based on content, style, and merit
- Useful links:
- View it! – Images depicting the item on Commons
- Report on constraint conformation of “book review” claims and statements. Constraints report for items data
For help about classification, see Wikidata:Classification.
- Parent classes (classes of items which contain this one item)
- book review (Q637866)
- literary criticism (Q58854)
- review (Q265158)
- literary work (Q7725634)
- book review (Q637866)
- Subclasses (classes which contain special kinds of items of this class)
- ⟨
book review
⟩ on wikidata tree visualisation (external tool)(depth=1) - Generic queries for classes
- See also
- This documentation is generated using
{{Item documentation}}
.
Maintenance queries
[edit]count number of book reviews
[edit]SELECT (COUNT(*) as ?ct) WHERE { ?item wdt:P136 wd:Q637866 ; wdt:P31 wd:Q13442814 }
SELECT (COUNT(*) as ?ct) WHERE { ?item wdt:P136 wd:Q637866 }
find more book reviews
[edit]SELECT DISTINCT ?item ?itemLabel ?title ("P??" as ?pr) ("Q637866" as ?value)
{
hint:Query hint:optimizer "None".
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch "\"book review\" haswbstatement:P31=Q13442814 -haswbstatement:P921=Q33057 -haswbstatement:P921=Q637866 -haswbstatement:P136=Q637866 -haswbstatement:P31=Q637866 -haswbstatement:P6977".
?title wikibase:apiOutput mwapi:title.
}
BIND(IRI(CONCAT(STR(wd:), ?title)) AS ?item)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
One may want to differentiate:
- genre (P136) = book review (Q637866) - a book review. Use review of (P6977) to link to the item about the work being reviewed
- main subject (P921) = book review (Q637866) - a work about book reviews
- named after (P138) = book review (Q637866) - something that is called "book review", but isn't necessarily the review of a book
find more book reviews (cont)
[edit]SELECT DISTINCT ?item ?itemLabel ?title ("P??" as ?pr) ("Q637866" as ?value)
{
hint:Query hint:optimizer "None".
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch "ISBN haswbstatement:P31=Q13442814 -haswbstatement:P921=Q33057 -haswbstatement:P921=Q637866 -haswbstatement:P136=Q637866 -haswbstatement:P31=Q637866 -haswbstatement:P6977".
?title wikibase:apiOutput mwapi:title.
}
BIND(IRI(CONCAT(STR(wd:), ?title)) AS ?item)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
One may want to differentiate:
- genre (P136) = book review (Q637866) - a book review. Use review of (P6977) to link to the item about the work being reviewed
- main subject (P921) = International Standard Book Number (Q33057) - a work about ISBN
Reference queries
[edit]articles about book reviews
[edit]- Items used: book review (Q637866) , scholarly article (Q13442814)
- Properties used: main subject (P921) , instance of (P31) , author name string (P2093) , author (P50) , publication date (P577)
SELECT
?item ?itemLabel ?itemDescription
(SAMPLE(?d) as ?d) (SAMPLE(?tp) as ?tp)
(GROUP_CONCAT(DISTINCT ?an; separator=", ") as ?ann) (GROUP_CONCAT(DISTINCT ?al; separator=", ") as ?all)
WHERE
{
?item wdt:P921 wd:Q637866 ; wdt:P31 wd:Q13442814
OPTIONAL { ?item p:P577 / psv:P577 [ wikibase:timeValue ?d ; wikibase:timePrecision ?tp ] }
OPTIONAL { ?item wdt:P2093 ?an }
OPTIONAL { ?item wdt:P50 / rdfs:label ?al . FILTER( lang(?al)="en" ) }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
GROUP BY ?item ?itemLabel ?itemDescription
ORDER BY DESC(?d)
articles about ISBN
[edit]- Properties used: main subject (P921) , instance of (P31) , author name string (P2093) , author (P50) , publication date (P577)
SELECT
?item ?itemLabel ?itemDescription
(SAMPLE(?d) as ?d) (SAMPLE(?tp) as ?tp)
(GROUP_CONCAT(DISTINCT ?an; separator=", ") as ?ann) (GROUP_CONCAT(DISTINCT ?al; separator=", ") as ?all)
WHERE
{
?item wdt:P921 wd:Q33057 ; wdt:P31 wd:Q13442814
OPTIONAL { ?item p:P577 / psv:P577 [ wikibase:timeValue ?d ; wikibase:timePrecision ?tp ] }
OPTIONAL { ?item wdt:P2093 ?an }
OPTIONAL { ?item wdt:P50 / rdfs:label ?al . FILTER( lang(?al)="en" ) }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
GROUP BY ?item ?itemLabel ?itemDescription
ORDER BY DESC(?d)