Simple Question (Direct)
Simple Question
Q645235
P21
Q290
USER
Which sex does Pieter Borsseler possess ?
(Q645235,P21,c(Q290))
action filter_type
action find
entity Q645235
relation P21
type Q290
['Q645235', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q645235 property:P21 ?n . ?n rdf:type ontology:Q290 }
Pieter Borsseler
action filter_type
action find
entity Pieter Borsseler
relation gender
type sex
['Pieter Borsseler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Pieter_Borsseler property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q645235,P21,c(Q290))
action filter_type
action find
entity Q645235
relation P21
type Q290
Pieter Borsseler possesses un [ANSWER]
['Q645235', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q645235 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Pieter Borsseler possesses un male
male
action filter_type
action find
entity Pieter Borsseler
relation gender
type sex
['Pieter Borsseler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Pieter_Borsseler property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q645235
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q645235
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q645235 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Pieter Borsseler
action filter_type
action find
entity Pieter Borsseler
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Pieter_Borsseler property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q645235
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q645235 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Netherlands
Netherlands is that person a civilian of
Netherlands
action filter_type
action find
entity Pieter Borsseler
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Pieter_Borsseler property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q201658
USER
Which administrative territories are the origins of more number of musical ensembles and film genres than that administrative territory ?
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q2088357
type Q201658
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:P495 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2088357 } UNION { ?r property:P495 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q201658 } } GROUP BY ?j } . FILTER ( ?q > ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P495 resource:Q55 . { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } } } }
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:musical_ensemble } UNION { ?r property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:film_genre } } GROUP BY ?j } . FILTER ( ?q > ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:country_of_origin resource:Netherlands . { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } } } }
[]
designation for an administrative territorial entity musical ensemble film genre
Q145 Q30
SYSTEM
United Kingdom, United States of America
Q145 Q30
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q2088357
type Q201658
[ANSWERS] are the origins of more number of musical ensembles and film genres than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:P495 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2088357 } UNION { ?r property:P495 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q201658 } } GROUP BY ?j } . FILTER ( ?q > ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P495 resource:Q55 . { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } } } }
United Kingdom United States of America
United Kingdom and United States of America are the origins of more number of musical ensembles and film genres than that administrative territory
United Kingdom United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:musical_ensemble } UNION { ?r property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:film_genre } } GROUP BY ?j } . FILTER ( ?q > ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:country_of_origin resource:Netherlands . { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13034254
P27
Q502895
USER
Are Angelique Pretorius a native of those administrative territories ?
(Q13034254,P27,Q145) (Q13034254,P27,Q30)
action is_in
entity prev_answer
action find
entity Q13034254
relation P27
['Q13034254', 'P27', 'Q145'] ['Q13034254', 'P27', 'Q30']
ASK WHERE { VALUES ( ?s ) { ( resource:Q145 ) ( resource:Q30 ) } . resource:Q13034254 property:P27 ?s }
Angelique Pretorius
action is_in
entity prev_answer
action find
entity Angelique Pretorius
relation country of citizenship
['Angelique Pretorius', 'country of citizenship', 'United Kingdom'] ['Angelique Pretorius', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?s ) { ( resource:United_Kingdom ) ( resource:United_States_of_America ) } . resource:Angelique_Pretorius property:country_of_citizenship ?s }
[]
common name
SYSTEM
NO
(Q13034254,P27,Q145) (Q13034254,P27,Q30)
action is_in
entity prev_answer
action find
entity Q13034254
relation P27
[ANSWER]
['Q13034254', 'P27', 'Q145'] ['Q13034254', 'P27', 'Q30']
ASK WHERE { VALUES ( ?s ) { ( resource:Q145 ) ( resource:Q30 ) } . resource:Q13034254 property:P27 ?s }
No
action is_in
entity prev_answer
action find
entity Angelique Pretorius
relation country of citizenship
['Angelique Pretorius', 'country of citizenship', 'United Kingdom'] ['Angelique Pretorius', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?s ) { ( resource:United_Kingdom ) ( resource:United_States_of_America ) } . resource:Angelique_Pretorius property:country_of_citizenship ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q797612 Q778
P47
Q1048835
USER
Is United States of America bordered by Babe and The Bahamas ?
(Q30,P47,Q797612) (Q30,P47,Q778)
action is_in
entity Q30
action intersection
action find_reverse
entity Q797612
relation P47
action find_reverse
entity Q778
relation P47
['Q30', 'P47', 'Q797612'] ['Q30', 'P47', 'Q778']
ASK WHERE { resource:Q30 property:P47 resource:Q797612 . resource:Q30 property:P47 resource:Q778 }
United States of America Babe The Bahamas
action is_in
entity United States of America
action intersection
action find_reverse
entity Babe
relation shares border with
action find_reverse
entity The Bahamas
relation shares border with
['United States of America', 'shares border with', 'Babe'] ['United States of America', 'shares border with', 'The Bahamas']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Babe . resource:United_States_of_America property:shares_border_with resource:The_Bahamas }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q30,P47,Q797612) (Q30,P47,Q778)
action is_in
entity Q30
action intersection
action find_reverse
entity Q797612
relation P47
action find_reverse
entity Q778
relation P47
[ANSWER]
['Q30', 'P47', 'Q797612'] ['Q30', 'P47', 'Q778']
ASK WHERE { resource:Q30 property:P47 resource:Q797612 . resource:Q30 property:P47 resource:Q778 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Babe
relation shares border with
action find_reverse
entity The Bahamas
relation shares border with
['United States of America', 'shares border with', 'Babe'] ['United States of America', 'shares border with', 'The Bahamas']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Babe . resource:United_States_of_America property:shares_border_with resource:The_Bahamas }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P127
Q838948
USER
Which work of art is under posessision of United Kingdom ?
(c(Q838948),P127,Q145)
action filter_type
action find_reverse
entity Q145
relation P127
type Q838948
[{'concept': 'Q838948'}, 'P127', 'Q145']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q145 . ?w rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation owned by
type work of art
[{'concept': 'work of art'}, 'owned by', 'United Kingdom']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:United_Kingdom . ?w rdf:type ontology:work_of_art }
[]
work of art
Q1439502
SYSTEM
Napoleon as Mars the Peacemaker
Q1439502
(c(Q838948),P127,Q145)
action filter_type
action find_reverse
entity Q145
relation P127
type Q838948
[ANSWER] is under posessision of United Kingdom
[{'concept': 'Q838948'}, 'P127', 'Q145']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q145 . ?w rdf:type ontology:Q838948 }
Napoleon as Mars the Peacemaker
Napoleon as Mars the Peacemaker is under posessision of United Kingdom
Napoleon as Mars the Peacemaker
action filter_type
action find_reverse
entity United Kingdom
relation owned by
type work of art
[{'concept': 'work of art'}, 'owned by', 'United Kingdom']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:United_Kingdom . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1439502
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q1439502,P136,c(Q1792379))
action filter_type
action find
entity Q1439502
relation P136
type Q1792379
['Q1439502', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1792379 . resource:Q1439502 property:P136 ?u }
Napoleon as Mars the Peacemaker
action filter_type
action find
entity Napoleon as Mars the Peacemaker
relation genre
type art genre
['Napoleon as Mars the Peacemaker', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:art_genre . resource:Napoleon_as_Mars_the_Peacemaker property:genre ?u }
[]
art genre
Q1400853 Q18783399
SYSTEM
portrait painting, mythology sculpture
Q1400853 Q18783399
(Q1439502,P136,c(Q1792379))
action filter_type
action find
entity Q1439502
relation P136
type Q1792379
The [ANSWERS] can be considered as category for that work of art
['Q1439502', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1792379 . resource:Q1439502 property:P136 ?u }
portrait painting mythology sculpture
The portrait painting and mythology sculpture can be considered as category for that work of art
portrait painting mythology sculpture
action filter_type
action find
entity Napoleon as Mars the Peacemaker
relation genre
type art genre
['Napoleon as Mars the Peacemaker', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:art_genre . resource:Napoleon_as_Mars_the_Peacemaker property:genre ?u }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26266139
P1028
Q502895 Q1792379
USER
How many people made a donation for approximately the same number of art genres as Carlos Carulo ?
(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 Q26266139
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:P1028 ?v . ?v rdf:type ontology:Q502895 . ?z rdf:type ontology:Q1792379 } GROUP BY ?v } . FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q26266139 property:P1028 ?y } } }
Carlos Carulo
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 Carlos Carulo
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:donated_by ?v . ?v rdf:type ontology:common_name . ?z rdf:type ontology:art_genre } GROUP BY ?v } . FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:common_name . resource:Carlos_Carulo property:donated_by ?y } } }
[]
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 Q26266139
relation P1028
type Q502895
[ANSWER]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:P1028 ?v . ?v rdf:type ontology:Q502895 . ?z rdf:type ontology:Q1792379 } GROUP BY ?v } . FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q26266139 property:P1028 ?y } } }
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 Carlos Carulo
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?k ) WHERE { ?z property:donated_by ?v . ?v rdf:type ontology:common_name . ?z rdf:type ontology:art_genre } GROUP BY ?v } . FILTER ( ?k = ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:common_name . resource:Carlos_Carulo property:donated_by ?y } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q62196
P1028
Q502895 Q1792379
USER
And also tell me about Peter Harry Carstensen?
(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 Q62196
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?a ) WHERE { ?s rdf:type ontology:Q502895 . ?z rdf:type ontology:Q1792379 . ?z property:P1028 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q62196 property:P1028 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?a = ?b ) }
Peter Harry Carstensen
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 Peter Harry Carstensen
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?a ) WHERE { ?s rdf:type ontology:common_name . ?z rdf:type ontology:art_genre . ?z property:donated_by ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Peter_Harry_Carstensen property:donated_by ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?a = ?b ) }
[]
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 Q62196
relation P1028
type Q502895
[ANSWER]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?a ) WHERE { ?s rdf:type ontology:Q502895 . ?z rdf:type ontology:Q1792379 . ?z property:P1028 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q62196 property:P1028 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?a = ?b ) }
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 Peter Harry Carstensen
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?a ) WHERE { ?s rdf:type ontology:common_name . ?z rdf:type ontology:art_genre . ?z property:donated_by ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Peter_Harry_Carstensen property:donated_by ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?a = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P710
Q1190554
USER
Which events have United Kingdom as their participant ?
(c(Q1190554),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q145']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q145 . ?u rdf:type ontology:Q1190554 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation participant
type event
[{'concept': 'event'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:United_Kingdom . ?u rdf:type ontology:event }
[]
event
Q218678 Q16470 Q1130507
SYSTEM
North African Campaign, Normandy landings, Hundred Days Offensive
Q4872830 Q4582489 Q2888122 Q1320675 Q4871802 Q4871801 Q13435464 Q3636553 Q1130507 Q218678 Q24467647 Q1402530 Q714223 Q838704 Q2237268 Q856168 Q8342069 Q171416 Q755955 Q4685618 Q16470 Q4872743 Q654374 Q376154 Q4930640 Q7510253 Q41894 Q3636355 Q3636251
(c(Q1190554),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q1190554
[ANSWERS] have United Kingdom as their participant
[{'concept': 'Q1190554'}, 'P710', 'Q145']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q145 . ?u rdf:type ontology:Q1190554 }
Battle of the Argenta Gap Battle of Mount Tumbledown Battle of Basra Battle of Havrincourt Battle of Mount Longdon Battle of Mount Harriet Invasion of Luxembourg Battle of Norfolk Hundred Days Offensive North African Campaign 2016 Sirte offensive Battle of 73 Easting Battle for Brest Battle of Durazzo Battle of Umm Qasr Pastry War Fisheries Case Battle of Trafalgar Battle of Copenhagen Adriatic Campaign of World War II Normandy landings Battle of Wireless Ridge Battle of Cambrai Battle of Copenhagen Bluff Cove Air Attacks Siege of Musa Qala Battle of New Orleans Battle of Broodseinde Battle of Wadi Al-Batin
North African Campaign, Normandy landings and Hundred Days Offensive have United Kingdom as their participant
North African Campaign Normandy landings Hundred Days Offensive
action filter_type
action find_reverse
entity United Kingdom
relation participant
type event
[{'concept': 'event'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:United_Kingdom . ?u rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16470
P361
Q1190554
USER
Which event is that one a component of ?
(Q16470,P361,c(Q1190554))
action filter_type
action find
entity Q16470
relation P361
type Q1190554
['Q16470', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?c WHERE { resource:Q16470 property:P361 ?c . ?c rdf:type ontology:Q1190554 }
Normandy landings
action filter_type
action find
entity Normandy landings
relation part of
type event
['Normandy landings', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?c WHERE { resource:Normandy_landings property:part_of ?c . ?c rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q218678
SYSTEM
Did you mean North African Campaign ?
Q218678 Q16470 Q1130507
(Q218678,P361,c(Q1190554)) (Q16470,P361,c(Q1190554)) (Q1130507,P361,c(Q1190554))
[ANSWER]
['Q218678', 'P361', {'concept': 'Q1190554'}] ['Q16470', 'P361', {'concept': 'Q1190554'}] ['Q1130507', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?c WHERE { resource:Q16470 property:P361 ?c . ?c rdf:type ontology:Q1190554 }
North African Campaign Normandy landings Hundred Days Offensive
Did you mean North African Campaign ?
North African Campaign
['North African Campaign', 'part of', {'concept': 'event'}] ['Normandy landings', 'part of', {'concept': 'event'}] ['Hundred Days Offensive', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?c WHERE { resource:Normandy_landings property:part_of ?c . ?c rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
No, I meant Normandy landings. Could you tell me the answer for that?
(Q16470,P361,c(Q1190554))
Q16470
['Q16470', 'P361', {'concept': 'Q1190554'}]
['Normandy landings', 'part of', {'concept': 'event'}]
[]
Q16471
SYSTEM
Invasion of Normandy
Q16471
(Q16470,P361,c(Q1190554))
action filter_type
action find
entity Q16470
relation P361
type Q1190554
Which event is that one a component of
['Q16470', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?c WHERE { resource:Q16470 property:P361 ?c . ?c rdf:type ontology:Q1190554 }
Invasion of Normandy
Which event is that one a component of
Invasion of Normandy
action filter_type
action find
entity Normandy landings
relation part of
type event
['Normandy landings', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?c WHERE { resource:Normandy_landings property:part_of ?c . ?c rdf:type ontology:event }
[]