Simple Question (Direct)
Simple Question
Q5125128
P364
Q34770
USER
Which language was used originally for the creation of Claire's Cambodia ?
(Q5125128,P364,c(Q34770))
action filter_type
action find
entity Q5125128
relation P364
type Q34770
['Q5125128', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q5125128 property:P364 ?m }
Claire's Cambodia
action filter_type
action find
entity Claire's Cambodia
relation original language of work
type language
["Claire's Cambodia", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Claire's_Cambodia property:original_language_of_work ?m }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5125128,P364,c(Q34770))
action filter_type
action find
entity Q5125128
relation P364
type Q34770
[ANSWER] was used originally for the creation of Claire's Cambodia
['Q5125128', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q5125128 property:P364 ?m }
English
English was used originally for the creation of Claire's Cambodia
English
action filter_type
action find
entity Claire's Cambodia
relation original language of work
type language
["Claire's Cambodia", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Claire's_Cambodia property:original_language_of_work ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5125128
P161
Q502895
USER
Who starred in that work of art ?
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q5125128
relation P161
type Q502895
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q5125128 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Claire's Cambodia
action filter_type
action find
entity Claire's Cambodia
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Claire's_Cambodia property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q238924 Q530646 Q165296
SYSTEM
Mary Kay Place, Ray Wise, Wendi McLendon-Covey
Q238924 Q1059427 Q530646 Q165296
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q5125128
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q5125128 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Mary Kay Place Shannon Woodward Ray Wise Wendi McLendon-Covey
Mary Kay Place, Ray Wise and Wendi McLendon-Covey starred in that work of art
Mary Kay Place Ray Wise Wendi McLendon-Covey
action filter_type
action find
entity Claire's Cambodia
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Claire's_Cambodia property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q238924,P27,c(Q15617994))
['Q238924', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q238924 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Mary Kay Place', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mary_Kay_Place property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q165296
SYSTEM
Did you mean Wendi McLendon-Covey ?
(Q238924,P27,c(Q15617994)) (Q530646,P27,c(Q15617994)) (Q165296,P27,c(Q15617994))
[ANSWER]
['Q238924', 'P27', {'concept': 'Q15617994'}] ['Q530646', 'P27', {'concept': 'Q15617994'}] ['Q165296', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q238924 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Wendi McLendon-Covey ?
Wendi McLendon-Covey
['Mary Kay Place', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ray Wise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Wendi McLendon-Covey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mary_Kay_Place property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Mary Kay Place. Could you tell me the answer for that?
(Q238924,P27,c(Q15617994))
Q238924
['Q238924', 'P27', {'concept': 'Q15617994'}]
['Mary Kay Place', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q238924,P27,c(Q15617994))
[ANSWER]
['Q238924', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q238924 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['Mary Kay Place', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mary_Kay_Place property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19037670 Q530646
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Ray Wise and do United States v. Rodman belong to ?
AND((Q530646,P27,c(Q15617994)), (Q19037670,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q530646
relation P27
action find
entity Q19037670
relation P17
type Q15617994
{'AND': [['Q530646', 'P27', {'concept': 'Q15617994'}], ['Q19037670', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q530646 property:P27 ?s . resource:Q19037670 property:P17 ?s }
United States v. Rodman Ray Wise
action filter_type
action intersection
action find
entity Ray Wise
relation country of citizenship
action find
entity United States v. Rodman
relation country
type designation for an administrative territorial entity
{'AND': [['Ray Wise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['United States v. Rodman', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ray_Wise property:country_of_citizenship ?s . resource:United_States_v._Rodman property:country ?s }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q530646,P27,c(Q15617994)), (Q19037670,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q530646
relation P27
action find
entity Q19037670
relation P17
type Q15617994
[ANSWER] is the countries of citizenship of Ray Wise and do United States v. Rodman belong to
{'AND': [['Q530646', 'P27', {'concept': 'Q15617994'}], ['Q19037670', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q530646 property:P27 ?s . resource:Q19037670 property:P17 ?s }
United States of America
United States of America is the countries of citizenship of Ray Wise and do United States v. Rodman belong to
United States of America
action filter_type
action intersection
action find
entity Ray Wise
relation country of citizenship
action find
entity United States v. Rodman
relation country
type designation for an administrative territorial entity
{'AND': [['Ray Wise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['United States v. Rodman', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ray_Wise property:country_of_citizenship ?s . resource:United_States_v._Rodman property:country ?s }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q1292279 Q192350
USER
Which administrative territories are judicially linked to atmost 21 political borders and ministries ?
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 21
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1292279 . ?f property:P1001 ?t } UNION { ?f property:P1001 ?t . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q192350 } } GROUP BY ?t } . FILTER ( ?h <= 21 ) }
action atmost
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 21
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_border . ?f property:applies_to_jurisdiction ?t } UNION { ?f property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:ministry } } GROUP BY ?t } . FILTER ( ?h <= 21 ) }
[]
designation for an administrative territorial entity political border ministry
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q20 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 21
[ANSWERS] are judicially linked to atmost 21 political borders and ministries
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1292279 . ?f property:P1001 ?t } UNION { ?f property:P1001 ?t . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q192350 } } GROUP BY ?t } . FILTER ( ?h <= 21 ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Norway Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy, Brazil and Georgia are judicially linked to atmost 21 political borders and ministries
Italy Brazil Georgia
action atmost
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 21
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_border . ?f property:applies_to_jurisdiction ?t } UNION { ?f property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:ministry } } GROUP BY ?t } . FILTER ( ?h <= 21 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q230
P30
Q2221906
USER
Which geographic locations are Italy, Brazil and Georgia located in ?
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q230
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?l property:P30 ?c . VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q38 ) } }
Italy Brazil Georgia
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity Georgia
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?l property:continent ?c . VALUES ( ?l ) { ( resource:Brazil ) ( resource:Italy ) } }
[]
geographic location
Q46 Q46 Q18
SYSTEM
Europe for 1st, 2nd, South America for 3rd
Q46 Q18 Q46 Q5401
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q230
relation P30
type Q2221906
[ANSWERS]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?l property:P30 ?c . VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q38 ) } }
Europe South America Europe Eurasia
Italy , Brazil and Georgia are located in Europe, Europe and South America
Europe Europe South America
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity Georgia
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?l property:continent ?c . VALUES ( ?l ) { ( resource:Brazil ) ( resource:Italy ) } }
[]