Simple Question (Direct)
Simple Question
Q5563382
P21
Q290
USER
What is the sex of Giora Antman ?
(Q5563382,P21,c(Q290))
action filter_type
action find
entity Q5563382
relation P21
type Q290
['Q5563382', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q5563382 property:P21 ?c . ?c rdf:type ontology:Q290 }
Giora Antman
action filter_type
action find
entity Giora Antman
relation gender
type sex
['Giora Antman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Giora_Antman property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5563382,P21,c(Q290))
action filter_type
action find
entity Q5563382
relation P21
type Q290
The sex of Giora Antman is a [ANSWER]
['Q5563382', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q5563382 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Giora Antman is a male
male
action filter_type
action find
entity Giora Antman
relation gender
type sex
['Giora Antman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Giora_Antman property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5563382
P54
Q1194951
USER
What is Giora Antman a member of ?
(Q5563382,P54,c(Q1194951))
action filter_type
action find
entity Q5563382
relation P54
type Q1194951
['Q5563382', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q5563382 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Giora Antman
action filter_type
action find
entity Giora Antman
relation member of sports team
type national sports team
['Giora Antman', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Giora_Antman property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
national sports team
Q191406
SYSTEM
Israel national football team
Q191406
(Q5563382,P54,c(Q1194951))
action filter_type
action find
entity Q5563382
relation P54
type Q1194951
Giora Antman a member of is [ANSWER]
['Q5563382', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q5563382 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Israel national football team
Giora Antman a member of is Israel national football team
Israel national football team
action filter_type
action find
entity Giora Antman
relation member of sports team
type national sports team
['Giora Antman', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Giora_Antman property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5563382
P641
Q349
USER
What was the sport that Giora Antman was a part of ?
(Q5563382,P641,c(Q349))
action filter_type
action find
entity Q5563382
relation P641
type Q349
['Q5563382', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5563382 property:P641 ?o . ?o rdf:type ontology:Q349 }
Giora Antman
action filter_type
action find
entity Giora Antman
relation sport
type sport
['Giora Antman', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Giora_Antman property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5563382,P641,c(Q349))
action filter_type
action find
entity Q5563382
relation P641
type Q349
The sport that Giora Antman was a part of was the [ANSWER]
['Q5563382', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5563382 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
The sport that Giora Antman was a part of was the association football
association football
action filter_type
action find
entity Giora Antman
relation sport
type sport
['Giora Antman', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Giora_Antman property:sport ?o . ?o rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q500050
P366
Q349 Q3084961 Q6671777
USER
Which sports are the main uses of more number of product linings or structures than cross country running ?
(c(Q3084961)|c(Q6671777),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q500050
relation P366
type Q3084961
type Q6671777
[[{'concept': 'Q3084961'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?r WHERE { VALUES ( ?g ) { ( ontology:Q3084961 ) ( ontology:Q6671777 ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { { ?u rdf:type ontology:Q3084961 } UNION { ?u rdf:type ontology:Q6671777 } } . ?u property:P366 resource:Q500050 } } . FILTER ( ?w > ?e ) }
cross country running
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity cross country running
relation use
type product lining
type structure
[[{'concept': 'product lining'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?r WHERE { VALUES ( ?g ) { ( ontology:product_lining ) ( ontology:structure ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { { ?u rdf:type ontology:product_lining } UNION { ?u rdf:type ontology:structure } } . ?u property:use resource:cross_country_running } } . FILTER ( ?w > ?e ) }
[]
sport product lining structure
Q36908 Q1875777 Q22857
SYSTEM
mountaineering, air racing, climbing
Q36908 Q1875777 Q22857
(c(Q3084961)|c(Q6671777),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q500050
relation P366
type Q3084961
type Q6671777
[ANSWERS] are the main uses of more number of product linings or structures than cross country running
[[{'concept': 'Q3084961'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?r WHERE { VALUES ( ?g ) { ( ontology:Q3084961 ) ( ontology:Q6671777 ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { { ?u rdf:type ontology:Q3084961 } UNION { ?u rdf:type ontology:Q6671777 } } . ?u property:P366 resource:Q500050 } } . FILTER ( ?w > ?e ) }
mountaineering air racing climbing
Mountaineering, air racing and climbing are the main uses of more number of product linings or structures than cross country running
mountaineering air racing climbing
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity cross country running
relation use
type product lining
type structure
[[{'concept': 'product lining'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?r WHERE { VALUES ( ?g ) { ( ontology:product_lining ) ( ontology:structure ) } . ?l rdf:type ?g } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { { ?u rdf:type ontology:product_lining } UNION { ?u rdf:type ontology:structure } } . ?u property:use resource:cross_country_running } } . FILTER ( ?w > ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13184221 Q5563382
P27
Q15617994
USER
Which administrative territories do Giora Antman or Bhakta Raj Acharya belong to ?
OR((Q5563382,P27,c(Q15617994)), (Q13184221,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5563382
relation P27
action find
entity Q13184221
relation P27
type Q15617994
{'OR': [['Q5563382', 'P27', {'concept': 'Q15617994'}], ['Q13184221', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5563382 property:P27 ?j } UNION { resource:Q13184221 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Bhakta Raj Acharya Giora Antman
action filter_type
action union
action find
entity Giora Antman
relation country of citizenship
action find
entity Bhakta Raj Acharya
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Giora Antman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bhakta Raj Acharya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Giora_Antman property:country_of_citizenship ?j } UNION { resource:Bhakta_Raj_Acharya property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q837 Q801
SYSTEM
Nepal, Israel
Q837 Q801
OR((Q5563382,P27,c(Q15617994)), (Q13184221,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5563382
relation P27
action find
entity Q13184221
relation P27
type Q15617994
Giora Antman or Bhakta Raj Acharya belong to the [ANSWERS]
{'OR': [['Q5563382', 'P27', {'concept': 'Q15617994'}], ['Q13184221', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5563382 property:P27 ?j } UNION { resource:Q13184221 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Nepal Israel
Giora Antman or Bhakta Raj Acharya belong to the Nepal and Israel
Nepal Israel
action filter_type
action union
action find
entity Giora Antman
relation country of citizenship
action find
entity Bhakta Raj Acharya
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Giora Antman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bhakta Raj Acharya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Giora_Antman property:country_of_citizenship ?j } UNION { resource:Bhakta_Raj_Acharya property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4502579
P530
Q1048835
USER
Do Khutirske have tactful political relations with those administrative territories ?
(Q4502579,P530,Q837) (Q4502579,P530,Q801)
action is_in
entity prev_answer
action find
entity Q4502579
relation P530
['Q4502579', 'P530', 'Q837'] ['Q4502579', 'P530', 'Q801']
ASK WHERE { resource:Q4502579 property:P530 ?g . VALUES ( ?g ) { ( resource:Q837 ) ( resource:Q801 ) } }
Khutirske
action is_in
entity prev_answer
action find
entity Khutirske
relation diplomatic relation
['Khutirske', 'diplomatic relation', 'Nepal'] ['Khutirske', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Khutirske property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Nepal ) ( resource:Israel ) } }
[]
political territorial entity
SYSTEM
NO
(Q4502579,P530,Q837) (Q4502579,P530,Q801)
action is_in
entity prev_answer
action find
entity Q4502579
relation P530
[ANSWER]
['Q4502579', 'P530', 'Q837'] ['Q4502579', 'P530', 'Q801']
ASK WHERE { resource:Q4502579 property:P530 ?g . VALUES ( ?g ) { ( resource:Q837 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Khutirske
relation diplomatic relation
['Khutirske', 'diplomatic relation', 'Nepal'] ['Khutirske', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Khutirske property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Nepal ) ( resource:Israel ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q801 Q38 Q40873
P530
Q15617994
USER
Does Israel have diplomatic associations with Italy and Frascarolo ?
(Q801,P530,Q38) (Q801,P530,Q40873)
action is_in
entity Q801
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q40873
relation P530
['Q801', 'P530', 'Q38'] ['Q801', 'P530', 'Q40873']
ASK WHERE { resource:Q801 property:P530 resource:Q38 . resource:Q801 property:P530 resource:Q40873 }
Israel Italy Frascarolo
action is_in
entity Israel
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Frascarolo
relation diplomatic relation
['Israel', 'diplomatic relation', 'Italy'] ['Israel', 'diplomatic relation', 'Frascarolo']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Italy . resource:Israel property:diplomatic_relation resource:Frascarolo }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q801,P530,Q38) (Q801,P530,Q40873)
action is_in
entity Q801
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q40873
relation P530
[ANSWER]
['Q801', 'P530', 'Q38'] ['Q801', 'P530', 'Q40873']
ASK WHERE { resource:Q801 property:P530 resource:Q38 . resource:Q801 property:P530 resource:Q40873 }
YES and NO respectively
action is_in
entity Israel
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Frascarolo
relation diplomatic relation
['Israel', 'diplomatic relation', 'Italy'] ['Israel', 'diplomatic relation', 'Frascarolo']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Italy . resource:Israel property:diplomatic_relation resource:Frascarolo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q191406 Q604615
P17
Q15617994
USER
Is Israel national football team present in Aqmola Oblast ?
(Q191406,P17,Q604615)
action is_in
entity Q604615
action find
entity Q191406
relation P17
['Q191406', 'P17', 'Q604615']
ASK WHERE { resource:Q191406 property:P17 resource:Q604615 }
Israel national football team Aqmola Oblast
action is_in
entity Aqmola Oblast
action find
entity Israel national football team
relation country
['Israel national football team', 'country', 'Aqmola Oblast']
ASK WHERE { resource:Israel_national_football_team property:country resource:Aqmola_Oblast }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q191406,P17,Q604615)
action is_in
entity Q604615
action find
entity Q191406
relation P17
[ANSWER]
['Q191406', 'P17', 'Q604615']
ASK WHERE { resource:Q191406 property:P17 resource:Q604615 }
No
action is_in
entity Aqmola Oblast
action find
entity Israel national football team
relation country
['Israel national football team', 'country', 'Aqmola Oblast']
ASK WHERE { resource:Israel_national_football_team property:country resource:Aqmola_Oblast }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P35
Q502895
USER
Who are the heads of state of Israel ?
(Q801,P35,c(Q502895))
action filter_type
action find
entity Q801
relation P35
type Q502895
['Q801', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q801 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Israel
action filter_type
action find
entity Israel
relation head of state
type common name
['Israel', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Israel property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
common name
Q57410 Q295141 Q110330
SYSTEM
Shimon Peres, Chaim Herzog, Ephraim Katzir
Q128894 Q295141 Q455854 Q110330 Q299100 Q57410 Q311583 Q128911 Q181832 Q172183
(Q801,P35,c(Q502895))
action filter_type
action find
entity Q801
relation P35
type Q502895
The heads of state of Israel are [ANSWERS]
['Q801', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q801 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Yitzhak Ben-Zvi Chaim Herzog Reuven Rivlin Ephraim Katzir Zalman Shazar Shimon Peres Yitzhak Navon Ezer Weizman Moshe Katsav Chaim Weizmann
The heads of state of Israel are Shimon Peres, Chaim Herzog and Ephraim Katzir
Shimon Peres Chaim Herzog Ephraim Katzir
action filter_type
action find
entity Israel
relation head of state
type common name
['Israel', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Israel property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]