Simple Question (Direct)
Simple Question
Q6372373
P607
Q198
USER
What was the war that Karl Willius took part in
(Q6372373,P607,c(Q198))
action filter_type
action find
entity Q6372373
relation P607
type Q198
['Q6372373', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q198 . resource:Q6372373 property:P607 ?b }
Karl Willius
action filter_type
action find
entity Karl Willius
relation conflict
type war
['Karl Willius', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:war . resource:Karl_Willius property:conflict ?b }
[]
war
Q362
SYSTEM
World War II
Q362
(Q6372373,P607,c(Q198))
action filter_type
action find
entity Q6372373
relation P607
type Q198
The war that Karl Willius took part in was during [ANSWER]
['Q6372373', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q198 . resource:Q6372373 property:P607 ?b }
World War II
The war that Karl Willius took part in was during World War II
World War II
action filter_type
action find
entity Karl Willius
relation conflict
type war
['Karl Willius', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:war . resource:Karl_Willius property:conflict ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6372373
P166
Q18328097
USER
Which courage award was Karl Willius awarded with ?
(Q6372373,P166,c(Q18328097))
action filter_type
action find
entity Q6372373
relation P166
type Q18328097
['Q6372373', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?q WHERE { resource:Q6372373 property:P166 ?q . ?q rdf:type ontology:Q18328097 }
Karl Willius
action filter_type
action find
entity Karl Willius
relation award received
type courage award
['Karl Willius', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?q WHERE { resource:Karl_Willius property:award_received ?q . ?q rdf:type ontology:courage_award }
[]
courage award
Q17412908
SYSTEM
German Cross in Gold
Q17412908
(Q6372373,P166,c(Q18328097))
action filter_type
action find
entity Q6372373
relation P166
type Q18328097
Karl Willius was awarded the [ANSWER]
['Q6372373', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?q WHERE { resource:Q6372373 property:P166 ?q . ?q rdf:type ontology:Q18328097 }
German Cross in Gold
Karl Willius was awarded the German Cross in Gold
German Cross in Gold
action filter_type
action find
entity Karl Willius
relation award received
type courage award
['Karl Willius', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?q WHERE { resource:Karl_Willius property:award_received ?q . ?q rdf:type ontology:courage_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6372373
P27
Q1048835
USER
Which political territory is Karl Willius an inhabitant of ?
(Q6372373,P27,c(Q1048835))
action filter_type
action find
entity Q6372373
relation P27
type Q1048835
['Q6372373', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q6372373 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Karl Willius
action filter_type
action find
entity Karl Willius
relation country of citizenship
type political territorial entity
['Karl Willius', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Karl_Willius property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q6372373,P27,c(Q1048835))
action filter_type
action find
entity Q6372373
relation P27
type Q1048835
The [ANSWER] is Karl Willius an inhabitant of
['Q6372373', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q6372373 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Germany
The Germany is Karl Willius an inhabitant of
Germany
action filter_type
action find
entity Karl Willius
relation country of citizenship
type political territorial entity
['Karl Willius', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Karl_Willius property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q96389
Q1048835
USER
And how about Karl Felix Halm?
(Q96389,P27,c(Q1048835))
action filter_type
action find
entity Q96389
relation P27
type Q1048835
['Q96389', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q96389 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Karl Felix Halm
action filter_type
action find
entity Karl Felix Halm
relation country of citizenship
type political territorial entity
['Karl Felix Halm', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Karl_Felix_Halm property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q96389,P27,c(Q1048835))
action filter_type
action find
entity Q96389
relation P27
type Q1048835
[ANSWER]
['Q96389', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q96389 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Karl Felix Halm
relation country of citizenship
type political territorial entity
['Karl Felix Halm', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Karl_Felix_Halm property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q6897721
P27
Q502895
USER
Is Mona Shourie Kapoor a native of that political territory ?
(Q6897721,P27,Q183)
action is_in
entity Q6897721
action find
entity Q183
relation P27
['Q6897721', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q6897721 }
Germany Mona Shourie Kapoor
action is_in
entity Mona Shourie Kapoor
action find
entity Germany
relation country of citizenship
['Mona Shourie Kapoor', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Mona_Shourie_Kapoor }
[]
common name
SYSTEM
NO
(Q6897721,P27,Q183)
action is_in
entity Q6897721
action find
entity Q183
relation P27
[ANSWER]
['Q6897721', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q6897721 }
No
action is_in
entity Mona Shourie Kapoor
action find
entity Germany
relation country of citizenship
['Mona Shourie Kapoor', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Mona_Shourie_Kapoor }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q1400582
P36
Q56061
USER
How many administrative territories are called the capital of Germany or Papua Region ?
(Q183,P36,c(Q56061)) (Q1400582,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P36
type Q56061
action filter_type
action find
entity Q1400582
relation P36
type Q56061
['Q183', 'P36', {'concept': 'Q56061'}] ['Q1400582', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:Q183 property:P36 ?e . ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q56061 . resource:Q1400582 property:P36 ?e } }
Germany Papua Region
action count
action union
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
action filter_type
action find
entity Papua Region
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}] ['Papua Region', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:Germany property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:administrative_territorial_entity . resource:Papua_Region property:capital ?e } }
[]
administrative territorial entity
SYSTEM
3
Q64 Q586 Q36526
(Q183,P36,c(Q56061)) (Q1400582,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P36
type Q56061
action filter_type
action find
entity Q1400582
relation P36
type Q56061
[ANSWER]
['Q183', 'P36', {'concept': 'Q56061'}] ['Q1400582', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:Q183 property:P36 ?e . ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q56061 . resource:Q1400582 property:P36 ?e } }
Berlin Bonn Port Moresby
3
action count
action union
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
action filter_type
action find
entity Papua Region
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}] ['Papua Region', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { resource:Germany property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:administrative_territorial_entity . resource:Papua_Region property:capital ?e } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7928812 Q183
P530 P495
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany or did Viewpoint originate ?
OR((Q183,P530,c(Q15617994)), (Q7928812,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q7928812
relation P495
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q7928812', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q183 property:P530 ?q } UNION { resource:Q7928812 property:P495 ?q } } . ?q rdf:type ontology:Q15617994 }
Viewpoint Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Viewpoint
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Viewpoint', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Germany property:diplomatic_relation ?q } UNION { resource:Viewpoint property:country_of_origin ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q965 Q114 Q774 Q224 Q963 Q783 Q1008 Q298 Q983
SYSTEM
Some of them are United States of America, Burkina Faso, Kenya, Guatemala, Croatia, Botswana, Honduras, Côte d'Ivoire, Chile, Equatorial Guinea
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q7928812,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q7928812
relation P495
type Q15617994
[ANSWERS] have diplomatic relationships with Germany or did Viewpoint originate
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q7928812', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q183 property:P530 ?q } UNION { resource:Q7928812 property:P495 ?q } } . ?q rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
United States of America, Burkina Faso, Kenya, Guatemala, Croatia, Botswana, Honduras, Côte d'Ivoire, Chile and Equatorial Guinea have diplomatic relationships with Germany or did Viewpoint originate
United States of America Burkina Faso Kenya Guatemala Croatia Botswana Honduras Côte d'Ivoire Chile Equatorial Guinea
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Viewpoint
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Viewpoint', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Germany property:diplomatic_relation ?q } UNION { resource:Viewpoint property:country_of_origin ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15967735 Q6897721
P20
Q56061
USER
Which administrative territories did Mona Shourie Kapoor or Roch Joseph Laurent Corte die ?
OR((Q6897721,P20,c(Q56061)), (Q15967735,P20,c(Q56061)))
action filter_type
action union
action find
entity Q6897721
relation P20
action find
entity Q15967735
relation P20
type Q56061
{'OR': [['Q6897721', 'P20', {'concept': 'Q56061'}], ['Q15967735', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?j ) { ( resource:Q6897721 ) ( resource:Q15967735 ) } . ?j property:P20 ?d } . ?d rdf:type ontology:Q56061 }
Roch Joseph Laurent Corte Mona Shourie Kapoor
action filter_type
action union
action find
entity Mona Shourie Kapoor
relation place of death
action find
entity Roch Joseph Laurent Corte
relation place of death
type administrative territorial entity
{'OR': [['Mona Shourie Kapoor', 'place of death', {'concept': 'administrative territorial entity'}], ['Roch Joseph Laurent Corte', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?j ) { ( resource:Mona_Shourie_Kapoor ) ( resource:Roch_Joseph_Laurent_Corte ) } . ?j property:place_of_death ?d } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1156 Q90
SYSTEM
Mumbai, Paris
Q1156 Q90
OR((Q6897721,P20,c(Q56061)), (Q15967735,P20,c(Q56061)))
action filter_type
action union
action find
entity Q6897721
relation P20
action find
entity Q15967735
relation P20
type Q56061
Mona Shourie Kapoor or Roch Joseph Laurent Corte died in [ANSWERS]
{'OR': [['Q6897721', 'P20', {'concept': 'Q56061'}], ['Q15967735', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?j ) { ( resource:Q6897721 ) ( resource:Q15967735 ) } . ?j property:P20 ?d } . ?d rdf:type ontology:Q56061 }
Mumbai Paris
Mona Shourie Kapoor or Roch Joseph Laurent Corte died in Mumbai and Paris
Mumbai Paris
action filter_type
action union
action find
entity Mona Shourie Kapoor
relation place of death
action find
entity Roch Joseph Laurent Corte
relation place of death
type administrative territorial entity
{'OR': [['Mona Shourie Kapoor', 'place of death', {'concept': 'administrative territorial entity'}], ['Roch Joseph Laurent Corte', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?j ) { ( resource:Mona_Shourie_Kapoor ) ( resource:Roch_Joseph_Laurent_Corte ) } . ?j property:place_of_death ?d } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7718772
P840
Q838948
USER
Do The Blue Hills have their setting located at those administrative territories ?
(Q7718772,P840,Q1156) (Q7718772,P840,Q90)
action is_in
entity prev_answer
action find
entity Q7718772
relation P840
['Q7718772', 'P840', 'Q1156'] ['Q7718772', 'P840', 'Q90']
ASK WHERE { VALUES ( ?x ) { ( resource:Q1156 ) ( resource:Q90 ) } . resource:Q7718772 property:P840 ?x }
The Blue Hills
action is_in
entity prev_answer
action find
entity The Blue Hills
relation narrative location
['The Blue Hills', 'narrative location', 'Mumbai'] ['The Blue Hills', 'narrative location', 'Paris']
ASK WHERE { VALUES ( ?x ) { ( resource:Mumbai ) ( resource:Paris ) } . resource:The_Blue_Hills property:narrative_location ?x }
[]
work of art
SYSTEM
NO
(Q7718772,P840,Q1156) (Q7718772,P840,Q90)
action is_in
entity prev_answer
action find
entity Q7718772
relation P840
[ANSWER]
['Q7718772', 'P840', 'Q1156'] ['Q7718772', 'P840', 'Q90']
ASK WHERE { VALUES ( ?x ) { ( resource:Q1156 ) ( resource:Q90 ) } . resource:Q7718772 property:P840 ?x }
No
action is_in
entity prev_answer
action find
entity The Blue Hills
relation narrative location
['The Blue Hills', 'narrative location', 'Mumbai'] ['The Blue Hills', 'narrative location', 'Paris']
ASK WHERE { VALUES ( ?x ) { ( resource:Mumbai ) ( resource:Paris ) } . resource:The_Blue_Hills property:narrative_location ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q271669 Q20667921
USER
How many administrative territories are approximately 2542 landforms and french administrative divisions present in ?
(c(Q271669)|c(Q20667921),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
value 2542
[[{'concept': 'Q271669'}, {'concept': 'Q20667921'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:P17 ?q . ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q271669 } UNION { ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q20667921 . ?l property:P17 ?q } } GROUP BY ?q } . FILTER ( ?f = 2542 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
value 2542
[[{'concept': 'landform'}, {'concept': 'type of french administrative division'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:landform } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:type_of_french_administrative_division . ?l property:country ?q } } GROUP BY ?q } . FILTER ( ?f = 2542 ) }
[]
designation for an administrative territorial entity landform type of french administrative division
SYSTEM
235
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q55 Q145 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q271669)|c(Q20667921),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
value 2542
[ANSWER]
[[{'concept': 'Q271669'}, {'concept': 'Q20667921'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:P17 ?q . ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q271669 } UNION { ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q20667921 . ?l property:P17 ?q } } GROUP BY ?q } . FILTER ( ?f = 2542 ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
235
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
value 2542
[[{'concept': 'landform'}, {'concept': 'type of french administrative division'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:landform } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:type_of_french_administrative_division . ?l property:country ?q } } GROUP BY ?q } . FILTER ( ?f = 2542 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224
P463
Q484652
USER
Which organizations were Croatia a member of ?
(Q224,P463,c(Q484652))
action filter_type
action find
entity Q224
relation P463
type Q484652
['Q224', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?h WHERE { resource:Q224 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Croatia
action filter_type
action find
entity Croatia
relation member of
type international organization
['Croatia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?h WHERE { resource:Croatia property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q7184
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, North Atlantic Treaty Organisation
Q7184 Q81299 Q1065 Q1043527
(Q224,P463,c(Q484652))
action filter_type
action find
entity Q224
relation P463
type Q484652
Croatia were the [ANSWERS]
['Q224', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?h WHERE { resource:Q224 property:P463 ?h . ?h rdf:type ontology:Q484652 }
North Atlantic Treaty Organisation Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
Croatia were the Organization for Security and Co-operation in Europe, United Nations and North Atlantic Treaty Organisation
Organization for Security and Co-operation in Europe United Nations North Atlantic Treaty Organisation
action filter_type
action find
entity Croatia
relation member of
type international organization
['Croatia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?h WHERE { resource:Croatia property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q224
Q56061
USER
And which administrative territory?
(Q224,P463,c(Q56061))
action filter_type
action find
entity Q224
relation P463
type Q56061
['Q224', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q224 property:P463 ?x . ?x rdf:type ontology:Q56061 }
Croatia
action filter_type
action find
entity Croatia
relation member of
type administrative territorial entity
['Croatia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Croatia property:member_of ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q224,P463,c(Q56061))
action filter_type
action find
entity Q224
relation P463
type Q56061
[ANSWER]
['Q224', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q224 property:P463 ?x . ?x rdf:type ontology:Q56061 }
European Union
European Union
action filter_type
action find
entity Croatia
relation member of
type administrative territorial entity
['Croatia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Croatia property:member_of ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q525889
P206
Q355304 Q15324 Q15617994
USER
Which administrative territories are situated in the neighbourhood of lesser number of watercourses or bodies of water than Westheim ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q525889
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?v WHERE { VALUES ( ?h ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?f rdf:type ?h } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Q525889 property:P206 ?p . { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } } } . FILTER ( ?y < ?c ) }
Westheim
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Westheim
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?v WHERE { VALUES ( ?h ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?f rdf:type ?h } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Westheim property:located_next_to_body_of_water ?p . { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } } } . FILTER ( ?y < ?c ) }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q525889
relation P206
type Q355304
type Q15324
[ANSWERS] are situated in the neighbourhood of lesser number of watercourses or bodies of water than Westheim
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?v WHERE { VALUES ( ?h ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?f rdf:type ?h } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Q525889 property:P206 ?p . { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } } } . FILTER ( ?y < ?c ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain, India and Tunisia are situated in the neighbourhood of lesser number of watercourses or bodies of water than Westheim
Spain India Tunisia
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Westheim
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?v WHERE { VALUES ( ?h ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?f rdf:type ?h } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Westheim property:located_next_to_body_of_water ?p . { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } } } . FILTER ( ?y < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3038
P206
Q355304 Q15324 Q15617994
USER
And what about Helgoland?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q3038
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q355304 } UNION { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15324 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } . resource:Q3038 property:P206 ?b } } . FILTER ( ?p < ?v ) }
Helgoland
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Helgoland
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:body_of_water } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } . resource:Helgoland property:located_next_to_body_of_water ?b } } . FILTER ( ?p < ?v ) }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q3038
relation P206
type Q355304
type Q15324
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q355304 } UNION { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15324 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } . resource:Q3038 property:P206 ?b } } . FILTER ( ?p < ?v ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain India Tunisia
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Helgoland
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?p ) WHERE { { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:body_of_water } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } . resource:Helgoland property:located_next_to_body_of_water ?b } } . FILTER ( ?p < ?v ) }
[]