Difference between revisions of "Q1.2"

From BITPlan cr Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{Query
 
{{Query
 
|id=2
 
|id=2
|title=Number of Papers in Workshop
+
|name=NumberOfPapersInWorkshop
 +
|title=Number of Papers in Workshop(Volume W)
 
|description=Count the number of papers in workshop W .
 
|description=Count the number of papers in workshop W .
 
|sparql=SELECT ?proceedings (COUNT(DISTINCT ?paper) as ?number_of_papers)
 
|sparql=SELECT ?proceedings (COUNT(DISTINCT ?paper) as ?number_of_papers)
Line 17: Line 18:
 
GROUP BY ?proceedings
 
GROUP BY ?proceedings
 
|tryiturl=9e3zUz
 
|tryiturl=9e3zUz
|wdqsurl=https://query.wikidata.org/#PREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0APREFIX%20p%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2F%3E%0APREFIX%20pq%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fqualifier%2F%3E%0ASELECT%20%3Fproceedings%20%28COUNT%28DISTINCT%20%3Fpaper%29%20as%20%3Fnumber_of_papers%29%0AWHERE%7B%0A%20%20VALUES%20%3Fvolume_number%20%7B%223262%22%7D%0A%20%20%3Fproceedings%20wdt%3AP31%20wd%3AQ1143604%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP179%20wd%3AQ27230297%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20p%3AP179%2Fpq%3AP478%20%3Fvolume_number.%0A%20%20%3Fpaper%20wdt%3AP31%20wd%3AQ13442814%3B%0A%20%20%20%20%20%20%20%20%20wdt%3AP1433%20%3Fproceedings.%0A%7D%0AGROUP%20BY%20%3Fproceedings
+
|wdqsurl=6UAd
 
|relevance=3
 
|relevance=3
 
|task=Task1
 
|task=Task1

Latest revision as of 13:26, 21 March 2023

Query

Query
edit
id  2
name  NumberOfPapersInWorkshop
title  Number of Papers in Workshop(Volume W)
description  Count the number of papers in workshop W .
sparql  
SELECT ?proceedings (COUNT(DISTINCT ?paper) as ?number_of_papers)
WHERE{
  VALUES ?volume_number {"3262"}
  ?proceedings wdt:P31 wd:Q1143604;
               wdt:P179 wd:Q27230297;
               p:P179/pq:P478 ?volume_number.
  
  ?paper wdt:P31 wd:Q13442814;
         wdt:P1433 ?proceedings.
}
GROUP BY ?proceedings
tryiturl  9e3zUz→9e3zUz
wdqsurl  6UAd→6UAd
scholia  →
relevance  3
comment  
task  Task1→Task1

Freitext