query-ab9512013fe9633c2b0eeffc45de08ee
. COUNT)، في هذه الحالة، نحن مهتمون بعدد اللوحات، الدالة التجميعية لذلك ?painting، ثم دالة تجميعية على المتغير المحدد الآخر (?material على GROUP BYعد ذلك، قم بإضافة عبارة . COUNT). En aquest cas, estem interessats en el nombre de pintures: la funció d'agregació per a això és ?painting i, després, una funció d'agregació a l'altra variable seleccionada (?material al GROUP BYSeguidament, afegim una clàusula . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). במקרה הזה, אנחנו מעוניינים במספר הציורים, פונקציית הכינוס לחישוב הזה היא ?painting, ואז להוסיף פונקציית כינוס על המשתנה השני שנבחר (?material על GROUP BYעכשיו, צריך להוסיף פסוקית . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a を使用します。 COUNT)に集約関数を適用します。ここでは絵画の作品数に関心がありますので、集約関数に?painting句を適用し、さらにSELECT句でそれ以外の変数(GROUP BYに?material次に、 . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In dit geval zijn we geïnteresseerd in het aantal schilderijen; de geaggregeerde functie daarvoor is ?painting en vervolgens een aggregaatfunctie aan de andere geselecteerde variabele (?material clause toe aan het GROUP BYVoeg vervolgens een . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a . COUNT). In this case, we are interested in the number of paintings; the aggregate function for that is ?painting, and then an aggregate function on the other selected variable (?material clause on the GROUP BYNext, add a
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?material (COUNT(?painting) AS ?count)
WHERE
{
?painting wdt:P31/wdt:P279* wd:Q3305213;
p:P186 [ ps:P186 ?material; pq:P518 wd:Q861259 ].
}
GROUP BY ?material
Query found at
- https://www.wikidata.org/wiki/User:TweetsFactsAndQueries/A_Guide_To_WDQS/Staging
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/ar
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/ca
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/da
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/en-gb
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/he
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/lb
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/ru
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/sv
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/szl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/tr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial/zh