Simple Question (Direct)
Simple Question
Q110413
P20
Q15617994
USER
Where did Otto Schmöle die ?
(Q110413,P20,c(Q15617994))
action filter_type
action find
entity Q110413
relation P20
type Q15617994
['Q110413', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q110413 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Otto Schmöle
action filter_type
action find
entity Otto Schmöle
relation place of death
type designation for an administrative territorial entity
['Otto Schmöle', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Otto_Schmöle property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q665230
SYSTEM
Mondsee
Q665230
(Q110413,P20,c(Q15617994))
action filter_type
action find
entity Q110413
relation P20
type Q15617994
Otto Schmöle died in [ANSWER]
['Q110413', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q110413 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Mondsee
Otto Schmöle died in Mondsee
Mondsee
action filter_type
action find
entity Otto Schmöle
relation place of death
type designation for an administrative territorial entity
['Otto Schmöle', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Otto_Schmöle property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q110413
P161
Q838948
USER
What are the name of works of art staring Otto Schmöle ?
(c(Q838948),P161,Q110413)
action filter_type
action find_reverse
entity Q110413
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q110413']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q110413 . ?a rdf:type ontology:Q838948 }
Otto Schmöle
action filter_type
action find_reverse
entity Otto Schmöle
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Otto Schmöle']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Otto_Schmöle . ?a rdf:type ontology:work_of_art }
[]
work of art
Q2558829 Q698320 Q1198423
SYSTEM
Whom the Gods Love, The Trial, The Good Soldier Schweik
Q21869974 Q19896140 Q1659817 Q19893377 Q16267431 Q19796494 Q2558829 Q1295825 Q163806 Q19058677 Q698320 Q22000684 Q21869531 Q1347914 Q1198423
(c(Q838948),P161,Q110413)
action filter_type
action find_reverse
entity Q110413
relation P161
type Q838948
The name of works of art staring Otto Schmöle are For [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q110413']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q110413 . ?a rdf:type ontology:Q838948 }
A Waltz by Strauss Spring Parade Adorable Julia Invisible Opponent The Curse Everybody's Woman Whom the Gods Love Mysterious Shadows The Last Ten Days Mit besten Empfehlungen The Trial Little Veronica Linen from Ireland Er kann's nicht lassen The Good Soldier Schweik
The name of works of art staring Otto Schmöle are For Whom the Gods Love, The Trial and The Good Soldier Schweik
Whom the Gods Love The Trial The Good Soldier Schweik
action filter_type
action find_reverse
entity Otto Schmöle
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Otto Schmöle']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Otto_Schmöle . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110413
P734
Q82799
USER
Which name is associated with that person ?
(Q2558829,P734,c(Q82799)) (Q698320,P734,c(Q82799)) (Q1198423,P734,c(Q82799))
action filter_type
action find
entity Q110413
relation P734
type Q82799
['Q2558829', 'P734', {'concept': 'Q82799'}] ['Q698320', 'P734', {'concept': 'Q82799'}] ['Q1198423', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q110413 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Otto Schmöle
action filter_type
action find
entity Otto Schmöle
relation family name
type name
['Whom the Gods Love', 'family name', {'concept': 'name'}] ['The Trial', 'family name', {'concept': 'name'}] ['The Good Soldier Schweik', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Schmöle property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q21562232
SYSTEM
Schmöle
Q21562232
(Q2558829,P734,c(Q82799)) (Q698320,P734,c(Q82799)) (Q1198423,P734,c(Q82799))
action filter_type
action find
entity Q110413
relation P734
type Q82799
[ANSWER] is associated with that person
['Q2558829', 'P734', {'concept': 'Q82799'}] ['Q698320', 'P734', {'concept': 'Q82799'}] ['Q1198423', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q110413 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Schmöle
Schmöle is associated with that person
Schmöle
action filter_type
action find
entity Otto Schmöle
relation family name
type name
['Whom the Gods Love', 'family name', {'concept': 'name'}] ['The Trial', 'family name', {'concept': 'name'}] ['The Good Soldier Schweik', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Schmöle property:family_name ?n . ?n rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as their family name ?
(c(Q502895),P734,Q21562232)
action count
action filter_type
action find_reverse
entity Q21562232
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q21562232']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P734 resource:Q21562232 . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Schmöle
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Schmöle']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:family_name resource:Schmöle . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q692076 Q1583073 Q17418225 Q110413 Q21562229
(c(Q502895),P734,Q21562232)
action count
action filter_type
action find_reverse
entity Q21562232
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q21562232']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P734 resource:Q21562232 . ?e rdf:type ontology:Q502895 }
Arndt Schmöle Hans Werner Schmöle Heinz Schmöle Otto Schmöle Peter Schmöle
5
action count
action filter_type
action find_reverse
entity Schmöle
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Schmöle']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:family_name resource:Schmöle . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q15416 Q7725634
USER
Which administrative territories are the origin of approximately 758 television programs and literary works ?
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
value 758
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?d property:P495 ?z . ?d rdf:type ontology:Q15416 . ?z rdf:type ontology:Q15617994 } UNION { ?d property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q7725634 } } GROUP BY ?z } . FILTER ( ?g = 758 ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
value 758
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?d property:country_of_origin ?z . ?d rdf:type ontology:television_program . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:literary_work } } GROUP BY ?z } . FILTER ( ?g = 758 ) }
[]
designation for an administrative territorial entity television program literary work
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q15416)|c(Q7725634),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
value 758
[ANSWERS] are the origin of approximately 758 television programs and literary works
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?d property:P495 ?z . ?d rdf:type ontology:Q15416 . ?z rdf:type ontology:Q15617994 } UNION { ?d property:P495 ?z . ?z rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q7725634 } } GROUP BY ?z } . FILTER ( ?g = 758 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origin of approximately 758 television programs and literary works
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
value 758
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?d property:country_of_origin ?z . ?d rdf:type ontology:television_program . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:literary_work } } GROUP BY ?z } . FILTER ( ?g = 758 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q230
P17
Q15617994
USER
Which administrative territories are Italy, Brazil and Georgia a part of ?
(Q38,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q230,P17,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P17
type Q15617994
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q230
relation P17
type Q15617994
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q230', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?l ) { ( resource:Q38 ) ( resource:Q155 ) } . ?l property:P17 ?c }
Italy Brazil Georgia
action union
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Georgia
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?l ) { ( resource:Italy ) ( resource:Brazil ) } . ?l property:country ?c }
[]
designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q38 Q155 Q230
(Q38,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q230,P17,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P17
type Q15617994
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q230
relation P17
type Q15617994
[ANSWERS] are [ANSWERS] a part of
['Q38', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q230', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?l ) { ( resource:Q38 ) ( resource:Q155 ) } . ?l property:P17 ?c }
Italy Brazil Georgia
Italy, Brazil and Georgia are Italy, Brazil and Georgia a part of
Italy Brazil Georgia
action union
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Georgia
relation country
type designation for an administrative territorial entity
['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?l ) { ( resource:Italy ) ( resource:Brazil ) } . ?l property:country ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q230
P1532
Q6979593
USER
Whose national association football team is that administrative territory ?
(c(Q6979593),P1532,Q230)
action filter_type
action find_reverse
entity Q230
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q230']
SELECT DISTINCT ?t WHERE { ?t property:P1532 resource:Q230 . ?t rdf:type ontology:Q6979593 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?t WHERE { ?t property:country_for_sport resource:Georgia . ?t rdf:type ontology:national_association_football_team }
[]
national association football team
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q155 Q230
(c(Q6979593),P1532,Q38) (c(Q6979593),P1532,Q155) (c(Q6979593),P1532,Q230)
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q38'] [{'concept': 'Q6979593'}, 'P1532', 'Q155'] [{'concept': 'Q6979593'}, 'P1532', 'Q230']
SELECT DISTINCT ?t WHERE { ?t property:P1532 resource:Q230 . ?t rdf:type ontology:Q6979593 }
Italy Brazil Georgia
Did you mean Italy ?
Italy
[{'concept': 'national association football team'}, 'country for sport', 'Italy'] [{'concept': 'national association football team'}, 'country for sport', 'Brazil'] [{'concept': 'national association football team'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?t WHERE { ?t property:country_for_sport resource:Georgia . ?t rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Georgia. Could you tell me the answer for that?
(c(Q6979593),P1532,Q230)
Q230
[{'concept': 'Q6979593'}, 'P1532', 'Q230']
[{'concept': 'national association football team'}, 'country for sport', 'Georgia']
[]
Q650731
SYSTEM
Georgia women's national football team
Q650731
(c(Q6979593),P1532,Q230)
action filter_type
action find_reverse
entity Q230
relation P1532
type Q6979593
[ANSWER] is that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q230']
SELECT DISTINCT ?t WHERE { ?t property:P1532 resource:Q230 . ?t rdf:type ontology:Q6979593 }
Georgia women's national football team
Georgia women's national football team is that administrative territory
Georgia women's national football team
action filter_type
action find_reverse
entity Georgia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?t WHERE { ?t property:country_for_sport resource:Georgia . ?t rdf:type ontology:national_association_football_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1074386
P361
Q15709879 Q1790144 Q838948
USER
How many works of art are a component of more number of artwork series or units of time than Doraemon: Nobita in the Wan-Nyan Spacetime Odyssey ?
(c(Q838948),P361,c(Q15709879)|c(Q1790144))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q838948
type Q15709879
action find_tuple_counts
relation P361
type Q838948
type Q1790144
action count
action filter_multi_types
action find
entity Q1074386
relation P361
type Q15709879
type Q1790144
[{'concept': 'Q838948'}, 'P361', [{'concept': 'Q15709879'}, {'concept': 'Q1790144'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?e WHERE { VALUES ( ?t ) { ( ontology:Q1790144 ) ( ontology:Q15709879 ) } . ?i rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q1074386 property:P361 ?a . { { ?a rdf:type ontology:Q15709879 } UNION { ?a rdf:type ontology:Q1790144 } } } } . FILTER ( ?d > ?l ) }
Doraemon: Nobita in the Wan-Nyan Spacetime Odyssey
action count
action greater
action union
action find_tuple_counts
relation part of
type work of art
type artwork series
action find_tuple_counts
relation part of
type work of art
type unit of time
action count
action filter_multi_types
action find
entity Doraemon: Nobita in the Wan-Nyan Spacetime Odyssey
relation part of
type artwork series
type unit of time
[{'concept': 'work of art'}, 'part of', [{'concept': 'artwork series'}, {'concept': 'unit of time'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?e WHERE { VALUES ( ?t ) { ( ontology:unit_of_time ) ( ontology:artwork_series ) } . ?i rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Doraemon:_Nobita_in_the_Wan-Nyan_Spacetime_Odyssey property:part_of ?a . { { ?a rdf:type ontology:artwork_series } UNION { ?a rdf:type ontology:unit_of_time } } } } . FILTER ( ?d > ?l ) }
[]
artwork series unit of time work of art
SYSTEM
120
Q18145898 Q18145890 Q18145892 Q18145893 Q18145894 Q18147309 Q18147304 Q18147168 Q18147163 Q18147160 Q18147247 Q18147241 Q18145891 Q19801071 Q18147013 Q18147019 Q18145896 Q21011679 Q18147065 Q21011370 Q18147347 Q18147345 Q18147349 Q18147027 Q18147202 Q18147208 Q18147350 Q18145907 Q18145904 Q18145905 Q18145902 Q18145903 Q18145901 Q18147059 Q18147054 Q18147343 Q18147111 Q18147296 Q18147290 Q18147118 Q18147181 Q22920411 Q18147339 Q2233466 Q18147153 Q18147255 Q18146950 Q18147025 Q18147086 Q21012006 Q4680067 Q18147215 Q18147184 Q18147108 Q18145886 Q18147100 Q18147069 Q18147107 Q18146982 Q18147263 Q18147329 Q18146968 Q18146962 Q21011954 Q18147324 Q18147144 Q18147221 Q18147228 Q18147036 Q18147136 Q18147148 Q232087 Q18147360 Q18147361 Q18145887 Q18145883 Q18145882 Q18147312 Q18145889 Q18145888 Q14708734 Q18147076 Q18147178 Q18146994 Q18147270 Q18146997 Q18146990 Q18147278 Q18146976 Q18147002 Q18147007 Q17023940 Q18147032 Q1928002 Q1137682 Q18147091 Q18147096 Q18147133 Q18147317 Q18147134 Q18147355 Q18147357 Q18147353 Q18147359 Q18147358 Q18147352 Q18147138 Q11863760 Q18147235 Q18145910 Q18146930 Q18147260 Q18147047 Q18147041 Q18147121 Q20717942 Q18147128 Q18147284 Q18147198 Q18147191
(c(Q838948),P361,c(Q15709879)|c(Q1790144))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q838948
type Q15709879
action find_tuple_counts
relation P361
type Q838948
type Q1790144
action count
action filter_multi_types
action find
entity Q1074386
relation P361
type Q15709879
type Q1790144
[ANSWER]
[{'concept': 'Q838948'}, 'P361', [{'concept': 'Q15709879'}, {'concept': 'Q1790144'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?e WHERE { VALUES ( ?t ) { ( ontology:Q1790144 ) ( ontology:Q15709879 ) } . ?i rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q1074386 property:P361 ?a . { { ?a rdf:type ontology:Q15709879 } UNION { ?a rdf:type ontology:Q1790144 } } } } . FILTER ( ?d > ?l ) }
Margaret of Anjou Blanche of Castille Saint Clotilde Jeanne d'Albret Laure de Noves Libéral Bruand François Michel Le Tellier de Louvois Jacques-Bénigne Bossuet Henri François d'Aguesseau Pierre Abélard Anne Robert Jacques Turgot Jean Bullant Clémence Isaure Napoleon Crossing the Alps Voltaire Jean Lepautre Louise of Savoy The Fountain of Kneeling Youths Georges-Louis Leclerc de Buffon Fountain with Kneeling Youths Michel de Montaigne Étienne Dupérac René Descartes Claude Perrault Suger de Saint-Denis Enguerrand de Marigny Jacques Cœur Sainte Geneviève Marie Stuart Matilda of Flanders Marguerite of Provence Marie de Médicis Marguerite d'Angoulême Pierre Lescot Nicolas Boileau François-Auguste de Thou Antoine Lavoisier Philibert Delorme Hyacinthe Rigaud Armand Jean du Plessis de Richelieu Germain Pilon The Simpleton Salomon de Brosse Seated Woman of Çatalhöyük Pierre Chambiges Jacques Amyot Jean-Baptiste Massillon Claude Gellée Jacques Ier Androuet du Cerceau Fountain of Kneeling Youths Adam of Govrlevo François de La Rochefoucauld Jean Racine Gérard Audran Anne of France Eustache Le Sueur Esprit Fléchier Jacques Sarrazin Mathieu Molé Nicolas Poussin Jacques Lemercier François Eudes de Mézeray Philippe de Champaigne Fontain with Kneeling Boys Jean de La Fontaine Jean de La Bruyère Claude Charles de Rouvroy de Saint Simon Jules Mazarin Ange-Jacques Gabriel Fénelon Antoine Coysevox Two men contemplating the Moon Sully Nicolas de Condorcet Anne Marie Louise d'Orléans Anne de Bretagne Anne of Austria Pierre Puget Bertrada Saint Balthild Allow Me Blaise Pascal Louis Bourdaloue Michel de L'Hospital Jean Froissart Philippe de Commynes Montesquieu Pierre Corneille André Chénier François Mansart Joseph Jérôme Lefrançois de Lalande Portrait of Dr. Gachet Nicolas Coustou Michael Jackson and Bubbles Trundholm sun chariot Sébastien Le Prestre de Vauban César-François Cassini Charles Le Brun André Grétry François de Malherbe Jean-Baptiste Colbert Clodion François Rabelais Denis Papin Jean Cousin Pierre Mignard Jean de Joinville Elk's Head of Huittinen Gottfried Keller Valentina of Milan Saint Bernard Jean-Antoine Houdon Jean Goujon Molière André Le Nôtre La Coqueta Jean-Jacques Rousseau Bernard Palissy Jean-François Regnard Ambroise Paré
120
action count
action greater
action union
action find_tuple_counts
relation part of
type work of art
type artwork series
action find_tuple_counts
relation part of
type work of art
type unit of time
action count
action filter_multi_types
action find
entity Doraemon: Nobita in the Wan-Nyan Spacetime Odyssey
relation part of
type artwork series
type unit of time
[{'concept': 'work of art'}, 'part of', [{'concept': 'artwork series'}, {'concept': 'unit of time'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?e WHERE { VALUES ( ?t ) { ( ontology:unit_of_time ) ( ontology:artwork_series ) } . ?i rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Doraemon:_Nobita_in_the_Wan-Nyan_Spacetime_Odyssey property:part_of ?a . { { ?a rdf:type ontology:artwork_series } UNION { ?a rdf:type ontology:unit_of_time } } } } . FILTER ( ?d > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q22978018
P361
Q15709879 Q1790144 Q838948
USER
And also tell me about Diana Nyad: Extreme swimming with the world's most dangerous jellyfish?
(c(Q838948),P361,c(Q15709879)|c(Q1790144))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q838948
type Q15709879
action find_tuple_counts
relation P361
type Q838948
type Q1790144
action count
action filter_multi_types
action find
entity Q22978018
relation P361
type Q15709879
type Q1790144
[{'concept': 'Q838948'}, 'P361', [{'concept': 'Q15709879'}, {'concept': 'Q1790144'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q1790144 ) } . ?q rdf:type ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q22978018 property:P361 ?z . { { ?z rdf:type ontology:Q1790144 } UNION { ?z rdf:type ontology:Q15709879 } } } } . FILTER ( ?e > ?t ) }
Diana Nyad: Extreme swimming with the world's most dangerous jellyfish
action count
action greater
action union
action find_tuple_counts
relation part of
type work of art
type artwork series
action find_tuple_counts
relation part of
type work of art
type unit of time
action count
action filter_multi_types
action find
entity Diana Nyad: Extreme swimming with the world's most dangerous jellyfish
relation part of
type artwork series
type unit of time
[{'concept': 'work of art'}, 'part of', [{'concept': 'artwork series'}, {'concept': 'unit of time'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:unit_of_time ) } . ?q rdf:type ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Diana_Nyad:_Extreme_swimming_with_the_world's_most_dangerous_jellyfish property:part_of ?z . { { ?z rdf:type ontology:unit_of_time } UNION { ?z rdf:type ontology:artwork_series } } } } . FILTER ( ?e > ?t ) }
[]
artwork series unit of time work of art
SYSTEM
120
Q18145898 Q18145890 Q18145892 Q18145893 Q18145894 Q18147309 Q18147304 Q18147168 Q18147163 Q18147160 Q18147247 Q18147241 Q18145891 Q19801071 Q18147013 Q18147019 Q18145896 Q21011679 Q18147065 Q21011370 Q18147347 Q18147345 Q18147349 Q18147027 Q18147202 Q18147208 Q18147350 Q18145907 Q18145904 Q18145905 Q18145902 Q18145903 Q18145901 Q18147059 Q18147054 Q18147343 Q18147111 Q18147296 Q18147290 Q18147118 Q18147181 Q22920411 Q18147339 Q2233466 Q18147153 Q18147255 Q18146950 Q18147025 Q18147086 Q21012006 Q4680067 Q18147215 Q18147184 Q18147108 Q18145886 Q18147100 Q18147069 Q18147107 Q18146982 Q18147263 Q18147329 Q18146968 Q18146962 Q21011954 Q18147324 Q18147144 Q18147221 Q18147228 Q18147036 Q18147136 Q18147148 Q232087 Q18147360 Q18147361 Q18145887 Q18145883 Q18145882 Q18147312 Q18145889 Q18145888 Q14708734 Q18147076 Q18147178 Q18146994 Q18147270 Q18146997 Q18146990 Q18147278 Q18146976 Q18147002 Q18147007 Q17023940 Q18147032 Q1928002 Q1137682 Q18147091 Q18147096 Q18147133 Q18147317 Q18147134 Q18147355 Q18147357 Q18147353 Q18147359 Q18147358 Q18147352 Q18147138 Q11863760 Q18147235 Q18145910 Q18146930 Q18147260 Q18147047 Q18147041 Q18147121 Q20717942 Q18147128 Q18147284 Q18147198 Q18147191
(c(Q838948),P361,c(Q15709879)|c(Q1790144))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q838948
type Q15709879
action find_tuple_counts
relation P361
type Q838948
type Q1790144
action count
action filter_multi_types
action find
entity Q22978018
relation P361
type Q15709879
type Q1790144
[ANSWER]
[{'concept': 'Q838948'}, 'P361', [{'concept': 'Q15709879'}, {'concept': 'Q1790144'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q1790144 ) } . ?q rdf:type ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q22978018 property:P361 ?z . { { ?z rdf:type ontology:Q1790144 } UNION { ?z rdf:type ontology:Q15709879 } } } } . FILTER ( ?e > ?t ) }
Margaret of Anjou Blanche of Castille Saint Clotilde Jeanne d'Albret Laure de Noves Libéral Bruand François Michel Le Tellier de Louvois Jacques-Bénigne Bossuet Henri François d'Aguesseau Pierre Abélard Anne Robert Jacques Turgot Jean Bullant Clémence Isaure Napoleon Crossing the Alps Voltaire Jean Lepautre Louise of Savoy The Fountain of Kneeling Youths Georges-Louis Leclerc de Buffon Fountain with Kneeling Youths Michel de Montaigne Étienne Dupérac René Descartes Claude Perrault Suger de Saint-Denis Enguerrand de Marigny Jacques Cœur Sainte Geneviève Marie Stuart Matilda of Flanders Marguerite of Provence Marie de Médicis Marguerite d'Angoulême Pierre Lescot Nicolas Boileau François-Auguste de Thou Antoine Lavoisier Philibert Delorme Hyacinthe Rigaud Armand Jean du Plessis de Richelieu Germain Pilon The Simpleton Salomon de Brosse Seated Woman of Çatalhöyük Pierre Chambiges Jacques Amyot Jean-Baptiste Massillon Claude Gellée Jacques Ier Androuet du Cerceau Fountain of Kneeling Youths Adam of Govrlevo François de La Rochefoucauld Jean Racine Gérard Audran Anne of France Eustache Le Sueur Esprit Fléchier Jacques Sarrazin Mathieu Molé Nicolas Poussin Jacques Lemercier François Eudes de Mézeray Philippe de Champaigne Fontain with Kneeling Boys Jean de La Fontaine Jean de La Bruyère Claude Charles de Rouvroy de Saint Simon Jules Mazarin Ange-Jacques Gabriel Fénelon Antoine Coysevox Two men contemplating the Moon Sully Nicolas de Condorcet Anne Marie Louise d'Orléans Anne de Bretagne Anne of Austria Pierre Puget Bertrada Saint Balthild Allow Me Blaise Pascal Louis Bourdaloue Michel de L'Hospital Jean Froissart Philippe de Commynes Montesquieu Pierre Corneille André Chénier François Mansart Joseph Jérôme Lefrançois de Lalande Portrait of Dr. Gachet Nicolas Coustou Michael Jackson and Bubbles Trundholm sun chariot Sébastien Le Prestre de Vauban César-François Cassini Charles Le Brun André Grétry François de Malherbe Jean-Baptiste Colbert Clodion François Rabelais Denis Papin Jean Cousin Pierre Mignard Jean de Joinville Elk's Head of Huittinen Gottfried Keller Valentina of Milan Saint Bernard Jean-Antoine Houdon Jean Goujon Molière André Le Nôtre La Coqueta Jean-Jacques Rousseau Bernard Palissy Jean-François Regnard Ambroise Paré
120
action count
action greater
action union
action find_tuple_counts
relation part of
type work of art
type artwork series
action find_tuple_counts
relation part of
type work of art
type unit of time
action count
action filter_multi_types
action find
entity Diana Nyad: Extreme swimming with the world's most dangerous jellyfish
relation part of
type artwork series
type unit of time
[{'concept': 'work of art'}, 'part of', [{'concept': 'artwork series'}, {'concept': 'unit of time'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:unit_of_time ) } . ?q rdf:type ?h } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Diana_Nyad:_Extreme_swimming_with_the_world's_most_dangerous_jellyfish property:part_of ?z . { { ?z rdf:type ontology:unit_of_time } UNION { ?z rdf:type ontology:artwork_series } } } } . FILTER ( ?e > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230
P30
Q2221906
USER
Where are Georgia located ?
(Q230,P30,c(Q2221906))
action filter_type
action find
entity Q230
relation P30
type Q2221906
['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q230 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Georgia
action filter_type
action find
entity Georgia
relation continent
type geographic location
['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:Georgia property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q5401
SYSTEM
Europe, Eurasia
Q46 Q5401
(Q230,P30,c(Q2221906))
action filter_type
action find
entity Q230
relation P30
type Q2221906
Georgia are located in [ANSWERS]
['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q230 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Europe Eurasia
Georgia are located in Europe and Eurasia
Europe Eurasia
action filter_type
action find
entity Georgia
relation continent
type geographic location
['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:Georgia property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46 Q5401
P551
Q502895
USER
Which people live in those geographic locations ?
(c(Q502895),P551,Q46) (c(Q502895),P551,Q5401)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q46'] [{'concept': 'Q502895'}, 'P551', 'Q5401']
SELECT DISTINCT ?m WHERE { ?m property:P551 ?e . ?m rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q46 ) ( resource:Q5401 ) } }
Europe Eurasia
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Europe'] [{'concept': 'common name'}, 'residence', 'Eurasia']
SELECT DISTINCT ?m WHERE { ?m property:residence ?e . ?m rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:Europe ) ( resource:Eurasia ) } }
[]
common name
Q2907955 Q18587597 Q15532610
SYSTEM
Bobby Holcomb, Curt Perano, Edward Williams Clay
Q332831 Q15532610 Q18587597 Q2907955
(c(Q502895),P551,Q46) (c(Q502895),P551,Q5401)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[ANSWERS] live in those geographic locations
[{'concept': 'Q502895'}, 'P551', 'Q46'] [{'concept': 'Q502895'}, 'P551', 'Q5401']
SELECT DISTINCT ?m WHERE { ?m property:P551 ?e . ?m rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q46 ) ( resource:Q5401 ) } }
Theodor von Sitten Edward Williams Clay Curt Perano Bobby Holcomb
Bobby Holcomb, Curt Perano and Edward Williams Clay live in those geographic locations
Bobby Holcomb Curt Perano Edward Williams Clay
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Europe'] [{'concept': 'common name'}, 'residence', 'Eurasia']
SELECT DISTINCT ?m WHERE { ?m property:residence ?e . ?m rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:Europe ) ( resource:Eurasia ) } }
[]