Simple Question (Direct)
Simple Question
Q1220092
P47
Q20667921
USER
Which french administrative divisions are adjacent to Villers-sous-Châtillon ?
(Q1220092,P47,c(Q20667921))
action filter_type
action find
entity Q1220092
relation P47
type Q20667921
['Q1220092', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q1220092 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Villers-sous-Châtillon
action filter_type
action find
entity Villers-sous-Châtillon
relation shares border with
type type of french administrative division
['Villers-sous-Châtillon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Villers-sous-Châtillon property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1342888 Q1217395 Q338326
SYSTEM
Baslieux-sous-Châtillon, Belval-sous-Châtillon, Binson-et-Orquigny
Q1342888 Q1217395 Q1219350 Q338326 Q1224813 Q1103674
(Q1220092,P47,c(Q20667921))
action filter_type
action find
entity Q1220092
relation P47
type Q20667921
[ANSWERS] are adjacent to Villers-sous-Châtillon
['Q1220092', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q1220092 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Baslieux-sous-Châtillon Belval-sous-Châtillon Cuchery Binson-et-Orquigny Reuil Venteuil
Baslieux-sous-Châtillon, Belval-sous-Châtillon and Binson-et-Orquigny are adjacent to Villers-sous-Châtillon
Baslieux-sous-Châtillon Belval-sous-Châtillon Binson-et-Orquigny
action filter_type
action find
entity Villers-sous-Châtillon
relation shares border with
type type of french administrative division
['Villers-sous-Châtillon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Villers-sous-Châtillon property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1220092
P166
Q618779
USER
What was won by Villers-sous-Châtillon ?
(Q1220092,P166,c(Q618779))
action filter_type
action find
entity Q1220092
relation P166
type Q618779
['Q1220092', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q618779 . resource:Q1220092 property:P166 ?g }
Villers-sous-Châtillon
action filter_type
action find
entity Villers-sous-Châtillon
relation award received
type award
['Villers-sous-Châtillon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:award . resource:Villers-sous-Châtillon property:award_received ?g }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1220092,P166,c(Q618779))
action filter_type
action find
entity Q1220092
relation P166
type Q618779
France [ANSWER] was won by Villers-sous-Châtillon
['Q1220092', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q618779 . resource:Q1220092 property:P166 ?g }
Croix de guerre 1914–1918
France Croix de guerre 1914–1918 was won by Villers-sous-Châtillon
Croix de guerre 1914–1918
action filter_type
action find
entity Villers-sous-Châtillon
relation award received
type award
['Villers-sous-Châtillon', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:award . resource:Villers-sous-Châtillon property:award_received ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2727598
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q2727598 property:P17 ?r }
Croix de guerre 1914–1918
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Croix_de_guerre_1914–1918 property:country ?r }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q2727598 property:P17 ?r }
France
That award is situated in France
France
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Croix_de_guerre_1914–1918 property:country ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P194
Q1752346
USER
Which assembly governs that administrative territory ?
(Q142,P194,c(Q1752346))
action filter_type
action find
entity Q142
relation P194
type Q1752346
['Q142', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q142 property:P194 ?z . ?z rdf:type ontology:Q1752346 }
France
action filter_type
action find
entity France
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:France property:legislative_body ?z . ?z rdf:type ontology:assembly }
[]
assembly
Q632552
SYSTEM
French Parliament
Q632552
(Q142,P194,c(Q1752346))
action filter_type
action find
entity Q142
relation P194
type Q1752346
[ANSWER] governs that administrative territory
['Q142', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q142 property:P194 ?z . ?z rdf:type ontology:Q1752346 }
French Parliament
French Parliament governs that administrative territory
French Parliament
action filter_type
action find
entity France
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:France property:legislative_body ?z . ?z rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
How many awards were around 243 works of art or people nominated for ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 243
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { FILTER ( ?z = 243 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ontology:Q838948 . ?n rdf:type ontology:Q618779 . ?i property:P1411 ?n } UNION { ?i property:P1411 ?n . ?n rdf:type ontology:Q618779 . ?i rdf:type ontology:Q502895 } } GROUP BY ?n } }
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 243
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { FILTER ( ?z = 243 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ontology:work_of_art . ?n rdf:type ontology:award . ?i property:nominated_for ?n } UNION { ?i property:nominated_for ?n . ?n rdf:type ontology:award . ?i rdf:type ontology:common_name } } GROUP BY ?n } }
[]
award work of art common name
SYSTEM
8
Q640374 Q1723064 Q1445521 Q377293 Q1537996 Q627778 Q185299 Q1474410
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 243
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { FILTER ( ?z = 243 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ontology:Q838948 . ?n rdf:type ontology:Q618779 . ?i property:P1411 ?n } UNION { ?i property:P1411 ?n . ?n rdf:type ontology:Q618779 . ?i rdf:type ontology:Q502895 } } GROUP BY ?n } }
Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play Tony Award for Best Direction of a Musical Tony Award for Best Actress in a Musical Tony Award for Best Featured Actress in a Play Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play
8
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 243
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { FILTER ( ?z = 243 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ontology:work_of_art . ?n rdf:type ontology:award . ?i property:nominated_for ?n } UNION { ?i property:nominated_for ?n . ?n rdf:type ontology:award . ?i rdf:type ontology:common_name } } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3705442
P27
Q15617994
USER
How many administrative territories are Denis Fasolo an inhabitant of ?
(Q3705442,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3705442
relation P27
type Q15617994
['Q3705442', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q3705442 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Denis Fasolo
action count
action filter_type
action find
entity Denis Fasolo
relation country of citizenship
type designation for an administrative territorial entity
['Denis Fasolo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Denis_Fasolo property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q3705442,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3705442
relation P27
type Q15617994
[ANSWER]
['Q3705442', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q3705442 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Denis Fasolo
relation country of citizenship
type designation for an administrative territorial entity
['Denis Fasolo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Denis_Fasolo property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q15695544
Q15617994
USER
And what about Simon Deli?
(Q15695544,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15695544
relation P27
type Q15617994
['Q15695544', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q15695544 property:P27 ?v }
Simon Deli
action count
action filter_type
action find
entity Simon Deli
relation country of citizenship
type designation for an administrative territorial entity
['Simon Deli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Simon_Deli property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q15695544,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15695544
relation P27
type Q15617994
[ANSWER]
['Q15695544', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q15695544 property:P27 ?v }
1
action count
action filter_type
action find
entity Simon Deli
relation country of citizenship
type designation for an administrative territorial entity
['Simon Deli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Simon_Deli property:country_of_citizenship ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q15324 Q20667921
USER
How many french administrative divisions are situated in the neighbourhood of exactly 1 waterways or bodies of water ?
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?s WHERE { { ?s property:P206 ?h . ?s rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q15324 } UNION { ?s rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q1267889 . ?s property:P206 ?h } } GROUP BY ?s } }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?s WHERE { { ?s property:located_next_to_body_of_water ?h . ?s rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:body_of_water } UNION { ?s rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:waterway . ?s property:located_next_to_body_of_water ?h } } GROUP BY ?s } }
[]
waterway body of water type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?s WHERE { { ?s property:P206 ?h . ?s rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q15324 } UNION { ?s rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q1267889 . ?s property:P206 ?h } } GROUP BY ?s } }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?s WHERE { { ?s property:located_next_to_body_of_water ?h . ?s rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:body_of_water } UNION { ?s rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:waterway . ?s property:located_next_to_body_of_water ?h } } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P47
Q1048835 Q15617994
USER
How many political territories or administrative territories are adjacent to France ?
(Q142,P47,c(Q1048835)) (Q142,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q1048835
action filter_type
action find
entity Q142
relation P47
type Q15617994
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?q rdf:type ?d }
France
action count
action union
action filter_type
action find
entity France
relation shares border with
type political territorial entity
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?q rdf:type ?d }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
13
Q13116 Q717 Q145 Q155 Q730 Q29999 Q183 Q228 Q32 Q31 Q29 Q39 Q38
(Q142,P47,c(Q1048835)) (Q142,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q1048835
action filter_type
action find
entity Q142
relation P47
type Q15617994
[ANSWER]
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?q rdf:type ?d }
Benelux Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Germany Andorra Luxembourg Belgium Spain Switzerland Italy
13
action count
action union
action filter_type
action find
entity France
relation shares border with
type political territorial entity
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?q rdf:type ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q423
P122
Q12737077 Q1307214 Q15617994
USER
How many administrative territories have less number of occupations and forms of government as the type of government than North Korea ?
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q423
relation P122
type Q12737077
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } . ?a rdf:type ?g } GROUP BY ?x } . FILTER ( ?l < ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q423 property:P122 ?y . { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q1307214 } } } } }
North Korea
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity North Korea
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:form_of_government ) } . ?a rdf:type ?g } GROUP BY ?x } . FILTER ( ?l < ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:North_Korea property:basic_form_of_government ?y . { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:form_of_government } } } } }
[]
occupation form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q423
relation P122
type Q12737077
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } . ?a rdf:type ?g } GROUP BY ?x } . FILTER ( ?l < ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q423 property:P122 ?y . { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q1307214 } } } } }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity North Korea
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:form_of_government ) } . ?a rdf:type ?g } GROUP BY ?x } . FILTER ( ?l < ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:North_Korea property:basic_form_of_government ?y . { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:form_of_government } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q889
P122
Q12737077 Q1307214 Q15617994
USER
And how about Afghanistan?
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q889
relation P122
type Q12737077
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { FILTER ( ?t < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q889 property:P122 ?j . { VALUES ( ?y ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } . ?j rdf:type ?y } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { { ?d property:P122 ?a . ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1307214 } UNION { ?a rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q15617994 . ?d property:P122 ?a } } GROUP BY ?d } }
Afghanistan
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Afghanistan
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { FILTER ( ?t < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Afghanistan property:basic_form_of_government ?j . { VALUES ( ?y ) { ( ontology:form_of_government ) ( ontology:occupation ) } . ?j rdf:type ?y } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { { ?d property:basic_form_of_government ?a . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:form_of_government } UNION { ?a rdf:type ontology:occupation . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:basic_form_of_government ?a } } GROUP BY ?d } }
[]
occupation form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q889
relation P122
type Q12737077
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { FILTER ( ?t < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q889 property:P122 ?j . { VALUES ( ?y ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } . ?j rdf:type ?y } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { { ?d property:P122 ?a . ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1307214 } UNION { ?a rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q15617994 . ?d property:P122 ?a } } GROUP BY ?d } }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Afghanistan
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { FILTER ( ?t < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Afghanistan property:basic_form_of_government ?j . { VALUES ( ?y ) { ( ontology:form_of_government ) ( ontology:occupation ) } . ?j rdf:type ?y } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?d WHERE { { ?d property:basic_form_of_government ?a . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:form_of_government } UNION { ?a rdf:type ontology:occupation . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:basic_form_of_government ?a } } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q515
USER
How many cities have atleast 1 assembly as their legislative body ?
(c(Q515),P194,c(Q1752346))
action count
action atleast
action find_tuple_counts
relation P194
type Q515
type Q1752346
value 1
[{'concept': 'Q515'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { ?z rdf:type ontology:Q515 . ?s rdf:type ontology:Q1752346 . ?z property:P194 ?s } GROUP BY ?z } }
action count
action atleast
action find_tuple_counts
relation legislative body
type city
type assembly
value 1
[{'concept': 'city'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { ?z rdf:type ontology:city . ?s rdf:type ontology:assembly . ?z property:legislative_body ?s } GROUP BY ?z } }
[]
assembly city
SYSTEM
8
Q1410 Q3616 Q43199 Q2096 Q1899 Q1486 Q1209 Q1773
(c(Q515),P194,c(Q1752346))
action count
action atleast
action find_tuple_counts
relation P194
type Q515
type Q1752346
value 1
[ANSWER]
[{'concept': 'Q515'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { ?z rdf:type ontology:Q515 . ?s rdf:type ontology:Q1752346 . ?z property:P194 ?s } GROUP BY ?z } }
Gibraltar Tehran Omaha Edmonton Kyiv Buenos Aires Free Hanseatic City of Bremen Riga
8
action count
action atleast
action find_tuple_counts
relation legislative body
type city
type assembly
value 1
[{'concept': 'city'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { ?z rdf:type ontology:city . ?s rdf:type ontology:assembly . ?z property:legislative_body ?s } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P112
Q1269299
USER
Which business organization was started by France ?
(c(Q1269299),P112,Q142)
action filter_type
action find_reverse
entity Q142
relation P112
type Q1269299
[{'concept': 'Q1269299'}, 'P112', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q142 . ?l rdf:type ontology:Q1269299 }
France
action filter_type
action find_reverse
entity France
relation founder
type type of business entity
[{'concept': 'type of business entity'}, 'founder', 'France']
SELECT DISTINCT ?l WHERE { ?l property:founder resource:France . ?l rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q3152598
SYSTEM
Institut supérieur des métiers
Q3152598
(c(Q1269299),P112,Q142)
action filter_type
action find_reverse
entity Q142
relation P112
type Q1269299
[ANSWER] was started by France
[{'concept': 'Q1269299'}, 'P112', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q142 . ?l rdf:type ontology:Q1269299 }
Institut supérieur des métiers
Institut supérieur des métiers was started by France
Institut supérieur des métiers
action filter_type
action find_reverse
entity France
relation founder
type type of business entity
[{'concept': 'type of business entity'}, 'founder', 'France']
SELECT DISTINCT ?l WHERE { ?l property:founder resource:France . ?l rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P88
Q340169
USER
What did that administrative territory commission ?
(c(Q340169),P88,Q3152598)
action filter_type
action find_reverse
entity Q142
relation P88
type Q340169
[{'concept': 'Q340169'}, 'P88', 'Q3152598']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q340169 . ?m property:P88 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation commissioned by
type media
[{'concept': 'media'}, 'commissioned by', 'Institut supérieur des métiers']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:media . ?m property:commissioned_by resource:France }
[]
media
Q2956370
SYSTEM
Chanteur florentin du XVe siècle
Q2956370
(c(Q340169),P88,Q3152598)
action filter_type
action find_reverse
entity Q142
relation P88
type Q340169
That administrative territory commissioned the [ANSWER]
[{'concept': 'Q340169'}, 'P88', 'Q3152598']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q340169 . ?m property:P88 resource:Q142 }
Chanteur florentin du XVe siècle
That administrative territory commissioned the Chanteur florentin du XVe siècle
Chanteur florentin du XVe siècle
action filter_type
action find_reverse
entity France
relation commissioned by
type media
[{'concept': 'media'}, 'commissioned by', 'Institut supérieur des métiers']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:media . ?m property:commissioned_by resource:France }
[]