File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 33PREFIX target: <http://www.wikidata.org/entity/{{ q }}>
44
55# List of works that is cited by the specified work
6- SELECT ?citations ?publication_date ?cited_work ?cited_workLabel
6+ SELECT ?citations ?publication_date ?cited_work ?cited_workLabel
7+ (GROUP _CONCAT (DISTINCT ?intentionLabel ;separator=", ") AS ?intentions )
78WITH {
89 SELECT (MIN (?date ) AS ?publication_date ) (COUNT (DISTINCT ?citing_cited_work ) AS ?citations ) ?cited_work
910 WHERE {
@@ -18,6 +19,12 @@ WITH {
1819} AS %result
1920WHERE {
2021 INCLUDE %result
22+ OPTIONAL {
23+ target: p:P2860 ?citationStatement .
24+ ?citationStatement pq:P3712 ?intention ;
25+ ps:P2860 ?cited_work .
26+ ?intention rdfs:label ?intentionLabel . FILTER (lang(?intentionLabel) = " en" )
27+ }
2128 SERVICE wikibase:label { bd:serviceParam wikibase:language " [AUTO_LANGUAGE],mul,en" . }
22- }
29+ } GROUP BY ?citations ?publication_date ?cited_work ?cited_workLabel
2330ORDER BY DESC(?citations) DESC(?date)
You can’t perform that action at this time.
0 commit comments