Simple Question (Direct)
Simple Question
Q787138
P47
Q20667921
USER
Who share the border with Sury-aux-Bois ?
(Q787138,P47,c(Q20667921))
action filter_type
action find
entity Q787138
relation P47
type Q20667921
['Q787138', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q787138 property:P47 ?f }
Sury-aux-Bois
action filter_type
action find
entity Sury-aux-Bois
relation shares border with
type type of french administrative division
['Sury-aux-Bois', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Sury-aux-Bois property:shares_border_with ?f }
[]
type of french administrative division
Q506947 Q1166870 Q733303
SYSTEM
Vitry-aux-Loges, Châtenoy, Quiers-sur-Bézonde
Q1166870 Q733303 Q938184 Q533990 Q1418702 Q1105452 Q922539 Q506947 Q1429606
(Q787138,P47,c(Q20667921))
action filter_type
action find
entity Q787138
relation P47
type Q20667921
[ANSWERS] share the border with Sury-aux-Bois
['Q787138', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q787138 property:P47 ?f }
Châtenoy Quiers-sur-Bézonde Nesploy Bellegarde Saint-Martin-d'Abbat Auvilliers-en-Gâtinais Nibelle Vitry-aux-Loges Combreux
Vitry-aux-Loges, Châtenoy and Quiers-sur-Bézonde share the border with Sury-aux-Bois
Vitry-aux-Loges Châtenoy Quiers-sur-Bézonde
action filter_type
action find
entity Sury-aux-Bois
relation shares border with
type type of french administrative division
['Sury-aux-Bois', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Sury-aux-Bois property:shares_border_with ?f }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q506947 Q1166870 Q733303
P17
Q15617994
USER
Which administrative territories are Vitry-aux-Loges, Châtenoy and Quiers-sur-Bézonde located in ?
(Q506947,P17,c(Q15617994)) (Q1166870,P17,c(Q15617994)) (Q733303,P17,c(Q15617994))
action union
action filter_type
action find
entity Q506947
relation P17
type Q15617994
action filter_type
action find
entity Q1166870
relation P17
type Q15617994
action filter_type
action find
entity Q733303
relation P17
type Q15617994
['Q506947', 'P17', {'concept': 'Q15617994'}] ['Q1166870', 'P17', {'concept': 'Q15617994'}] ['Q733303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?z ) { ( resource:Q506947 ) ( resource:Q1166870 ) } . ?z property:P17 ?q }
Vitry-aux-Loges Châtenoy Quiers-sur-Bézonde
action union
action filter_type
action find
entity Vitry-aux-Loges
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Châtenoy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Quiers-sur-Bézonde
relation country
type designation for an administrative territorial entity
['Vitry-aux-Loges', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Châtenoy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Quiers-sur-Bézonde', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?z ) { ( resource:Vitry-aux-Loges ) ( resource:Châtenoy ) } . ?z property:country ?q }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q506947,P17,c(Q15617994)) (Q1166870,P17,c(Q15617994)) (Q733303,P17,c(Q15617994))
action union
action filter_type
action find
entity Q506947
relation P17
type Q15617994
action filter_type
action find
entity Q1166870
relation P17
type Q15617994
action filter_type
action find
entity Q733303
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Vitry-aux-Loges, Châtenoy and Quiers-sur-Bézonde located in
['Q506947', 'P17', {'concept': 'Q15617994'}] ['Q1166870', 'P17', {'concept': 'Q15617994'}] ['Q733303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?z ) { ( resource:Q506947 ) ( resource:Q1166870 ) } . ?z property:P17 ?q }
France France France
France, France and France are Vitry-aux-Loges, Châtenoy and Quiers-sur-Bézonde located in
France France France
action union
action filter_type
action find
entity Vitry-aux-Loges
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Châtenoy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Quiers-sur-Bézonde
relation country
type designation for an administrative territorial entity
['Vitry-aux-Loges', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Châtenoy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Quiers-sur-Bézonde', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?z ) { ( resource:Vitry-aux-Loges ) ( resource:Châtenoy ) } . ?z property:country ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6102962
Q15617994
USER
And also tell me about Izvorul Rece River?
(Q6102962,P17,c(Q15617994))
action filter_type
action find
entity Q6102962
relation P17
type Q15617994
['Q6102962', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6102962 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Izvorul Rece River
action filter_type
action find
entity Izvorul Rece River
relation country
type designation for an administrative territorial entity
['Izvorul Rece River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Izvorul_Rece_River property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q6102962,P17,c(Q15617994))
action filter_type
action find
entity Q6102962
relation P17
type Q15617994
[ANSWER]
['Q6102962', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6102962 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Romania
Romania
action filter_type
action find
entity Izvorul Rece River
relation country
type designation for an administrative territorial entity
['Izvorul Rece River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Izvorul_Rece_River property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q201658
USER
Which administrative territories are the origins of around the same number of television programs or film genres as that administrative territory ?
(c(Q15416)|c(Q201658),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 Q201658
action count
action filter_multi_types
action find_reverse
entity Q218
relation P495
type Q15416
type Q201658
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15416 . ?a property:P495 ?k } UNION { ?a property:P495 ?k . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q201658 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P495 resource:Q218 . { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q201658 } } } } . FILTER ( ?t = ?w ) }
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 film genre
action count
action filter_multi_types
action find_reverse
entity Romania
relation country of origin
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:television_program . ?a property:country_of_origin ?k } UNION { ?a property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:film_genre } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:country_of_origin resource:Romania . { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:film_genre } } } } . FILTER ( ?t = ?w ) }
[]
designation for an administrative territorial entity television program film genre
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(Q201658),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 Q201658
action count
action filter_multi_types
action find_reverse
entity Q218
relation P495
type Q15416
type Q201658
[ANSWERS] are the origins of around the same number of television programs or film genres as that administrative territory
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15416 . ?a property:P495 ?k } UNION { ?a property:P495 ?k . ?k rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q201658 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P495 resource:Q218 . { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q201658 } } } } . FILTER ( ?t = ?w ) }
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 origins of around the same number of television programs or film genres as that administrative territory
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 film genre
action count
action filter_multi_types
action find_reverse
entity Romania
relation country of origin
type television program
type film genre
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:television_program . ?a property:country_of_origin ?k } UNION { ?a property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:film_genre } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:country_of_origin resource:Romania . { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:film_genre } } } } . FILTER ( ?t = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q271669 Q1048835
USER
How many administrative territories are exactly 1 landforms or political territories named after ?
(c(Q271669)|c(Q1048835),P138,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q1048835
value 1
[[{'concept': 'Q271669'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P138 ?i . ?k rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } UNION { ?k property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q271669 } } GROUP BY ?i } . FILTER ( ?o = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type political territorial entity
value 1
[[{'concept': 'landform'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:named_after ?i . ?k rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:landform } } GROUP BY ?i } . FILTER ( ?o = 1 ) }
[]
designation for an administrative territorial entity landform political territorial entity
SYSTEM
5
Q6681 Q705 Q305352 Q161825 Q142
(c(Q271669)|c(Q1048835),P138,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q1048835
value 1
[ANSWER]
[[{'concept': 'Q271669'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P138 ?i . ?k rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } UNION { ?k property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q271669 } } GROUP BY ?i } . FILTER ( ?o = 1 ) }
Crotone Zeeland Aban Daun France
5
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type political territorial entity
value 1
[[{'concept': 'landform'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:named_after ?i . ?k rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:landform } } GROUP BY ?i } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P159
Q43229
USER
Which organization has the principal seat at Romania ?
(c(Q43229),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q218']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . ?o property:P159 resource:Q218 }
Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . ?o property:headquarters_location resource:Romania }
[]
organization
Q4763964
SYSTEM
Angst
Q4763964
(c(Q43229),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q43229
[ANSWER] has the principal seat at Romania
[{'concept': 'Q43229'}, 'P159', 'Q218']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . ?o property:P159 resource:Q218 }
Angst
Angst has the principal seat at Romania
Angst
action filter_type
action find_reverse
entity Romania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . ?o property:headquarters_location resource:Romania }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P137
Q43229
USER
Which organization can be described as service operator of that administrative territory ?
(c(Q43229),P137,Q4763964)
action filter_type
action find_reverse
entity Q218
relation P137
type Q43229
[{'concept': 'Q43229'}, 'P137', 'Q4763964']
SELECT DISTINCT ?u WHERE { ?u property:P137 resource:Q218 . ?u rdf:type ontology:Q43229 }
Romania
action filter_type
action find_reverse
entity Romania
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Angst']
SELECT DISTINCT ?u WHERE { ?u property:operator resource:Romania . ?u rdf:type ontology:organization }
[]
organization
Q846168
SYSTEM
Romanian Television
Q846168
(c(Q43229),P137,Q4763964)
action filter_type
action find_reverse
entity Q218
relation P137
type Q43229
[ANSWER] can be described as service operator of that administrative territory
[{'concept': 'Q43229'}, 'P137', 'Q4763964']
SELECT DISTINCT ?u WHERE { ?u property:P137 resource:Q218 . ?u rdf:type ontology:Q43229 }
Romanian Television
Romanian Television can be described as service operator of that administrative territory
Romanian Television
action filter_type
action find_reverse
entity Romania
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Angst']
SELECT DISTINCT ?u WHERE { ?u property:operator resource:Romania . ?u rdf:type ontology:organization }
[]