Simple Question (Direct)
Simple Question
Q3282945
P86
Q502895
USER
Who was A Woman at Her Window composed by ?
(Q3282945,P86,c(Q502895))
action filter_type
action find
entity Q3282945
relation P86
type Q502895
['Q3282945', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3282945 property:P86 ?m . ?m rdf:type ontology:Q502895 }
A Woman at Her Window
action filter_type
action find
entity A Woman at Her Window
relation composer
type common name
['A Woman at Her Window', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:A_Woman_at_Her_Window property:composer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1042465
SYSTEM
Carlo Rustichelli
Q1042465
(Q3282945,P86,c(Q502895))
action filter_type
action find
entity Q3282945
relation P86
type Q502895
[ANSWER] by A Woman at Her Window was composed
['Q3282945', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3282945 property:P86 ?m . ?m rdf:type ontology:Q502895 }
Carlo Rustichelli
Carlo Rustichelli by A Woman at Her Window was composed
Carlo Rustichelli
action filter_type
action find
entity A Woman at Her Window
relation composer
type common name
['A Woman at Her Window', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:A_Woman_at_Her_Window property:composer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1042465
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q1042465)
action filter_type
action find_reverse
entity Q1042465
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1042465']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q1042465 . ?m rdf:type ontology:Q502895 }
Carlo Rustichelli
action filter_type
action find_reverse
entity Carlo Rustichelli
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carlo Rustichelli']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Carlo_Rustichelli . ?m rdf:type ontology:common_name }
[]
common name
Q1042427 Q7132243
SYSTEM
Alida Chelli, Paolo Rustichelli
Q1042427 Q7132243
(c(Q502895),P22,Q1042465)
action filter_type
action find_reverse
entity Q1042465
relation P22
type Q502895
[ANSWERS] have that one as father
[{'concept': 'Q502895'}, 'P22', 'Q1042465']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q1042465 . ?m rdf:type ontology:Q502895 }
Alida Chelli Paolo Rustichelli
Alida Chelli and Paolo Rustichelli have that one as father
Alida Chelli Paolo Rustichelli
action filter_type
action find_reverse
entity Carlo Rustichelli
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carlo Rustichelli']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Carlo_Rustichelli . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1042427 Q7132243
P22
Q502895
USER
Who were the dad of Alida Chelli and Paolo Rustichelli ?
(Q1042427,P22,c(Q502895)) (Q7132243,P22,c(Q502895))
action union
action filter_type
action find
entity Q1042427
relation P22
type Q502895
action filter_type
action find
entity Q7132243
relation P22
type Q502895
['Q1042427', 'P22', {'concept': 'Q502895'}] ['Q7132243', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { resource:Q1042427 property:P22 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q7132243 property:P22 ?j . ?j rdf:type ontology:Q502895 } }
Alida Chelli Paolo Rustichelli
action union
action filter_type
action find
entity Alida Chelli
relation father
type common name
action filter_type
action find
entity Paolo Rustichelli
relation father
type common name
['Alida Chelli', 'father', {'concept': 'common name'}] ['Paolo Rustichelli', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { resource:Alida_Chelli property:father ?j . ?j rdf:type ontology:common_name } UNION { resource:Paolo_Rustichelli property:father ?j . ?j rdf:type ontology:common_name } }
[]
common name
Q1042465 Q1042465
SYSTEM
Carlo Rustichelli
Q1042465 Q1042465
(Q1042427,P22,c(Q502895)) (Q7132243,P22,c(Q502895))
action union
action filter_type
action find
entity Q1042427
relation P22
type Q502895
action filter_type
action find
entity Q7132243
relation P22
type Q502895
The dad of Alida Chelli and Paolo Rustichelli were born [ANSWER] and [ANSWER]
['Q1042427', 'P22', {'concept': 'Q502895'}] ['Q7132243', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { resource:Q1042427 property:P22 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q7132243 property:P22 ?j . ?j rdf:type ontology:Q502895 } }
Carlo Rustichelli Carlo Rustichelli
The dad of Alida Chelli and Paolo Rustichelli were born Carlo Rustichelli and Carlo Rustichelli
Carlo Rustichelli Carlo Rustichelli
action union
action filter_type
action find
entity Alida Chelli
relation father
type common name
action filter_type
action find
entity Paolo Rustichelli
relation father
type common name
['Alida Chelli', 'father', {'concept': 'common name'}] ['Paolo Rustichelli', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { resource:Alida_Chelli property:father ?j . ?j rdf:type ontology:common_name } UNION { resource:Paolo_Rustichelli property:father ?j . ?j rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1042465
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1042465,P27,c(Q15617994)) (Q1042465,P27,c(Q15617994))
action filter_type
action find
entity Q1042465
relation P27
type Q15617994
['Q1042465', 'P27', {'concept': 'Q15617994'}] ['Q1042465', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1042465 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Carlo Rustichelli
action filter_type
action find
entity Carlo Rustichelli
relation country of citizenship
type designation for an administrative territorial entity
['Carlo Rustichelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlo Rustichelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Carlo_Rustichelli property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1042465,P27,c(Q15617994)) (Q1042465,P27,c(Q15617994))
action filter_type
action find
entity Q1042465
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q1042465', 'P27', {'concept': 'Q15617994'}] ['Q1042465', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1042465 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Italy
The Italy is that person an inhabitant of
Italy
action filter_type
action find
entity Carlo Rustichelli
relation country of citizenship
type designation for an administrative territorial entity
['Carlo Rustichelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlo Rustichelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Carlo_Rustichelli property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P495
Q38829 Q4407246
USER
How many breeds and armored personnel carriers have Italy as their place of origin ?
(c(Q38829),P495,Q38) (c(Q4407246),P495,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P495
type Q38829
action filter_type
action find_reverse
entity Q38
relation P495
type Q4407246
[{'concept': 'Q38829'}, 'P495', 'Q38'] [{'concept': 'Q4407246'}, 'P495', 'Q38']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q38829 ) ( ontology:Q4407246 ) } . ?p rdf:type ?g }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation country of origin
type breed
action filter_type
action find_reverse
entity Italy
relation country of origin
type armored personnel carrier
[{'concept': 'breed'}, 'country of origin', 'Italy'] [{'concept': 'armored personnel carrier'}, 'country of origin', 'Italy']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:breed ) ( ontology:armored_personnel_carrier ) } . ?p rdf:type ?g }
[]
breed armored personnel carrier
SYSTEM
4 breeds and 3 armored personnel carriers
Q696730 Q3907711 Q45908 Q18713276 Q1784933 Q3686987 Q1165784
(c(Q38829),P495,Q38) (c(Q4407246),P495,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P495
type Q38829
action filter_type
action find_reverse
entity Q38
relation P495
type Q4407246
[ANSWER]
[{'concept': 'Q38829'}, 'P495', 'Q38'] [{'concept': 'Q4407246'}, 'P495', 'Q38']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q38829 ) ( ontology:Q4407246 ) } . ?p rdf:type ?g }
Iveco LMV Polverara chicken Piedmontese North American Piedmontese cattle Freccia (infantry fighting vehicle) Carmagnola Grey Dardo IFV
4 breeds and 3 armored personnel carriers
action count
action union
action filter_type
action find_reverse
entity Italy
relation country of origin
type breed
action filter_type
action find_reverse
entity Italy
relation country of origin
type armored personnel carrier
[{'concept': 'breed'}, 'country of origin', 'Italy'] [{'concept': 'armored personnel carrier'}, 'country of origin', 'Italy']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:breed ) ( ontology:armored_personnel_carrier ) } . ?p rdf:type ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3282945
P136
Q1792379
USER
What can be considered as category for A Woman at Her Window ?
(Q3282945,P136,c(Q1792379))
action filter_type
action find
entity Q3282945
relation P136
type Q1792379
['Q3282945', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3282945 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
A Woman at Her Window
action filter_type
action find
entity A Woman at Her Window
relation genre
type art genre
['A Woman at Her Window', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:A_Woman_at_Her_Window property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q3282945,P136,c(Q1792379))
action filter_type
action find
entity Q3282945
relation P136
type Q1792379
A [ANSWER] can be considered as category for A Woman at Her Window
['Q3282945', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3282945 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
drama film
A drama film can be considered as category for A Woman at Her Window
drama film
action filter_type
action find
entity A Woman at Her Window
relation genre
type art genre
['A Woman at Her Window', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:A_Woman_at_Her_Window property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26207985
P1028
Q502895 Q1792379
USER
How many people donated to around the same number of art genres as Martin and Nancy Melzer ?
(c(Q1792379),P1028,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q26207985
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1028 ?a . ?a rdf:type ontology:Q502895 . ?p rdf:type ontology:Q1792379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q26207985 property:P1028 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?v = ?j ) }
Martin and Nancy Melzer
action count
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Martin and Nancy Melzer
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:donated_by ?a . ?a rdf:type ontology:common_name . ?p rdf:type ontology:art_genre } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Martin_and_Nancy_Melzer property:donated_by ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?v = ?j ) }
[]
common name art genre
SYSTEM
146
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q26207985
relation P1028
type Q502895
[ANSWER]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1028 ?a . ?a rdf:type ontology:Q502895 . ?p rdf:type ontology:Q1792379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q26207985 property:P1028 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?v = ?j ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
146
action count
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Martin and Nancy Melzer
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:donated_by ?a . ?a rdf:type ontology:common_name . ?p rdf:type ontology:art_genre } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Martin_and_Nancy_Melzer property:donated_by ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?v = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4233718
P1028
Q502895 Q1792379
USER
And what about anonymous?
(c(Q1792379),P1028,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q4233718
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1028 ?e . ?e rdf:type ontology:Q502895 . ?u rdf:type ontology:Q1792379 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q4233718 property:P1028 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?z = ?j ) }
anonymous
action count
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity anonymous
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:donated_by ?e . ?e rdf:type ontology:common_name . ?u rdf:type ontology:art_genre } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:anonymous property:donated_by ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?z = ?j ) }
[]
common name art genre
SYSTEM
146
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q4233718
relation P1028
type Q502895
[ANSWER]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1028 ?e . ?e rdf:type ontology:Q502895 . ?u rdf:type ontology:Q1792379 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q4233718 property:P1028 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?z = ?j ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
146
action count
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity anonymous
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:donated_by ?e . ?e rdf:type ontology:common_name . ?u rdf:type ontology:art_genre } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:anonymous property:donated_by ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?z = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q81299
P37
Q34770
USER
How many languages are recognized as the official language of Italy or Organization for Security and Co-operation in Europe ?
(Q38,P37,c(Q34770)) (Q81299,P37,c(Q34770))
action count
action union
action filter_type
action find
entity Q38
relation P37
type Q34770
action filter_type
action find
entity Q81299
relation P37
type Q34770
['Q38', 'P37', {'concept': 'Q34770'}] ['Q81299', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { resource:Q38 property:P37 ?f . ?f rdf:type ontology:Q34770 } UNION { resource:Q81299 property:P37 ?f . ?f rdf:type ontology:Q34770 } }
Italy Organization for Security and Co-operation in Europe
action count
action union
action filter_type
action find
entity Italy
relation official language
type language
action filter_type
action find
entity Organization for Security and Co-operation in Europe
relation official language
type language
['Italy', 'official language', {'concept': 'language'}] ['Organization for Security and Co-operation in Europe', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { resource:Italy property:official_language ?f . ?f rdf:type ontology:language } UNION { resource:Organization_for_Security_and_Co-operation_in_Europe property:official_language ?f . ?f rdf:type ontology:language } }
[]
language
SYSTEM
3
Q652 Q1860 Q1321
(Q38,P37,c(Q34770)) (Q81299,P37,c(Q34770))
action count
action union
action filter_type
action find
entity Q38
relation P37
type Q34770
action filter_type
action find
entity Q81299
relation P37
type Q34770
[ANSWER]
['Q38', 'P37', {'concept': 'Q34770'}] ['Q81299', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { resource:Q38 property:P37 ?f . ?f rdf:type ontology:Q34770 } UNION { resource:Q81299 property:P37 ?f . ?f rdf:type ontology:Q34770 } }
Italian English Spanish
3
action count
action union
action filter_type
action find
entity Italy
relation official language
type language
action filter_type
action find
entity Organization for Security and Co-operation in Europe
relation official language
type language
['Italy', 'official language', {'concept': 'language'}] ['Organization for Security and Co-operation in Europe', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { resource:Italy property:official_language ?f . ?f rdf:type ontology:language } UNION { resource:Organization_for_Security_and_Co-operation_in_Europe property:official_language ?f . ?f rdf:type ontology:language } }
[]