Simple Question (Direct)
Simple Question
Q3814921
P641
Q349
USER
What did Khaled Hussein participate in ?
(Q3814921,P641,c(Q349))
action filter_type
action find
entity Q3814921
relation P641
type Q349
['Q3814921', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3814921 property:P641 ?s . ?s rdf:type ontology:Q349 }
Khaled Hussein
action filter_type
action find
entity Khaled Hussein
relation sport
type sport
['Khaled Hussein', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Khaled_Hussein property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3814921,P641,c(Q349))
action filter_type
action find
entity Q3814921
relation P641
type Q349
Khaled Hussein participated in [ANSWER]
['Q3814921', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3814921 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Khaled Hussein participated in association football
association football
action filter_type
action find
entity Khaled Hussein
relation sport
type sport
['Khaled Hussein', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Khaled_Hussein property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P106
Q502895
USER
Which people have the profession as that sport ?
(c(Q502895),P106,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q2736']
SELECT DISTINCT ?d WHERE { ?d property:P106 resource:Q2736 . ?d rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'association football']
SELECT DISTINCT ?d WHERE { ?d property:occupation resource:association_football . ?d rdf:type ontology:common_name }
[]
common name
Q21816900 Q23788829 Q24279082
SYSTEM
Reza Mirzaei, Juan Muñoz Sánchez, Gonzalo González Fernández
Q20971386 Q21816900 Q23788829 Q24279082 Q26834359 Q27048438 Q26821380
(c(Q502895),P106,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P106
type Q502895
[ANSWERS] have the profession as that sport
[{'concept': 'Q502895'}, 'P106', 'Q2736']
SELECT DISTINCT ?d WHERE { ?d property:P106 resource:Q2736 . ?d rdf:type ontology:Q502895 }
Squeezie Reza Mirzaei Juan Muñoz Sánchez Gonzalo González Fernández Marco Parra Sorroza José Durán Santibáñez Aleix Manzano Berrio
Reza Mirzaei, Juan Muñoz Sánchez and Gonzalo González Fernández have the profession as that sport
Reza Mirzaei Juan Muñoz Sánchez Gonzalo González Fernández
action filter_type
action find_reverse
entity association football
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'association football']
SELECT DISTINCT ?d WHERE { ?d property:occupation resource:association_football . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q6671777 Q1076486
USER
Which sports are considered to be the main utilization of min number of structures or sports venues ?
(c(Q6671777)|c(Q1076486),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
[[{'concept': 'Q6671777'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P366 ?h . ?h rdf:type ontology:Q349 . ?y rdf:type ontology:Q1076486 } UNION { ?y property:P366 ?h . ?h rdf:type ontology:Q349 . ?y rdf:type ontology:Q6671777 } } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P366 ?r . ?r rdf:type ontology:Q349 . ?g rdf:type ontology:Q1076486 } UNION { ?g property:P366 ?r . ?r rdf:type ontology:Q349 . ?g rdf:type ontology:Q6671777 } } GROUP BY ?r } . FILTER ( ?d = ?p ) }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type sports venue
[[{'concept': 'structure'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:use ?h . ?h rdf:type ontology:sport . ?y rdf:type ontology:sports_venue } UNION { ?y property:use ?h . ?h rdf:type ontology:sport . ?y rdf:type ontology:structure } } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:use ?r . ?r rdf:type ontology:sport . ?g rdf:type ontology:sports_venue } UNION { ?g property:use ?r . ?r rdf:type ontology:sport . ?g rdf:type ontology:structure } } GROUP BY ?r } . FILTER ( ?d = ?p ) }
[]
sport structure sports venue
Q206763 Q8418 Q500050
SYSTEM
floorball, handball, cross country running
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41323 Q7291
(c(Q6671777)|c(Q1076486),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
[ANSWERS] are considered to be the main utilization of min number of structures or sports venues
[[{'concept': 'Q6671777'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P366 ?h . ?h rdf:type ontology:Q349 . ?y rdf:type ontology:Q1076486 } UNION { ?y property:P366 ?h . ?h rdf:type ontology:Q349 . ?y rdf:type ontology:Q6671777 } } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P366 ?r . ?r rdf:type ontology:Q349 . ?g rdf:type ontology:Q1076486 } UNION { ?g property:P366 ?r . ?r rdf:type ontology:Q349 . ?g rdf:type ontology:Q6671777 } } GROUP BY ?r } . FILTER ( ?d = ?p ) }
rallying basketball handball volleyball shooting sport skating cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis American football badminton
Floorball, handball and cross country running are considered to be the main utilization of min number of structures or sports venues
floorball handball cross country running
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type sports venue
[[{'concept': 'structure'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:use ?h . ?h rdf:type ontology:sport . ?y rdf:type ontology:sports_venue } UNION { ?y property:use ?h . ?h rdf:type ontology:sport . ?y rdf:type ontology:structure } } GROUP BY ?h } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:use ?r . ?r rdf:type ontology:sport . ?g rdf:type ontology:sports_venue } UNION { ?g property:use ?r . ?r rdf:type ontology:sport . ?g rdf:type ontology:structure } } GROUP BY ?r } . FILTER ( ?d = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q183018
P366
Q349 Q1076486 Q39546
USER
Which sports are the main uses of around the same number of sports venues or tools as bandy ?
(c(Q1076486)|c(Q39546),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q1076486
type Q39546
[[{'concept': 'Q1076486'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?u WHERE { { ?p property:P366 ?u . ?p rdf:type ontology:Q1076486 . ?u rdf:type ontology:Q349 } UNION { ?u rdf:type ontology:Q349 . ?p rdf:type ontology:Q39546 . ?p property:P366 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P366 resource:Q183018 . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1076486 ) ( ontology:Q39546 ) } } } } . FILTER ( ?c = ?n ) }
bandy
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type sports venue
type tool
[[{'concept': 'sports venue'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?u WHERE { { ?p property:use ?u . ?p rdf:type ontology:sports_venue . ?u rdf:type ontology:sport } UNION { ?u rdf:type ontology:sport . ?p rdf:type ontology:tool . ?p property:use ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:use resource:bandy . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:sports_venue ) ( ontology:tool ) } } } } . FILTER ( ?c = ?n ) }
[]
sport sports venue tool
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q1076486)|c(Q39546),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q183018
relation P366
type Q1076486
type Q39546
[ANSWERS] are the main uses of around the same number of sports venues or tools as bandy
[[{'concept': 'Q1076486'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?u WHERE { { ?p property:P366 ?u . ?p rdf:type ontology:Q1076486 . ?u rdf:type ontology:Q349 } UNION { ?u rdf:type ontology:Q349 . ?p rdf:type ontology:Q39546 . ?p property:P366 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P366 resource:Q183018 . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1076486 ) ( ontology:Q39546 ) } } } } . FILTER ( ?c = ?n ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis ice hockey climbing harness racing American football badminton
Floorball, handball and bandy are the main uses of around the same number of sports venues or tools as bandy
floorball handball bandy
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity bandy
relation use
type sports venue
type tool
[[{'concept': 'sports venue'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?u WHERE { { ?p property:use ?u . ?p rdf:type ontology:sports_venue . ?u rdf:type ontology:sport } UNION { ?u rdf:type ontology:sport . ?p rdf:type ontology:tool . ?p property:use ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:use resource:bandy . { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:sports_venue ) ( ontology:tool ) } } } } . FILTER ( ?c = ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7362969
P641
Q12973014
USER
Does Rome Braves play those sports ?
(Q7362969,P641,Q206763) (Q7362969,P641,Q8418) (Q7362969,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q7362969
relation P641
['Q7362969', 'P641', 'Q206763'] ['Q7362969', 'P641', 'Q8418'] ['Q7362969', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?a ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q7362969 property:P641 ?a }
Rome Braves
action is_in
entity prev_answer
action find
entity Rome Braves
relation sport
['Rome Braves', 'sport', 'floorball'] ['Rome Braves', 'sport', 'handball'] ['Rome Braves', 'sport', 'bandy']
ASK WHERE { VALUES ( ?a ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:Rome_Braves property:sport ?a }
[]
sports team
SYSTEM
NO
(Q7362969,P641,Q206763) (Q7362969,P641,Q8418) (Q7362969,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q7362969
relation P641
[ANSWER]
['Q7362969', 'P641', 'Q206763'] ['Q7362969', 'P641', 'Q8418'] ['Q7362969', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?a ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q7362969 property:P641 ?a }
No
action is_in
entity prev_answer
action find
entity Rome Braves
relation sport
['Rome Braves', 'sport', 'floorball'] ['Rome Braves', 'sport', 'handball'] ['Rome Braves', 'sport', 'bandy']
ASK WHERE { VALUES ( ?a ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:Rome_Braves property:sport ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q15850590 Q6619679
USER
How many people were approximately 1 theatrical genres and fictional humanoids inspired by ?
(c(Q15850590)|c(Q6619679),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[[{'concept': 'Q15850590'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:P941 ?q . ?q rdf:type ontology:Q502895 . ?d rdf:type ontology:Q15850590 } UNION { ?q rdf:type ontology:Q502895 . ?d rdf:type ontology:Q6619679 . ?d property:P941 ?q } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:inspired_by ?q . ?q rdf:type ontology:common_name . ?d rdf:type ontology:theatrical_genre } UNION { ?q rdf:type ontology:common_name . ?d rdf:type ontology:fictional_humanoid . ?d property:inspired_by ?q } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
common name theatrical genre fictional humanoid
SYSTEM
6
Q312502 Q2907490 Q3560424 Q22686 Q123075 Q2409128
(c(Q15850590)|c(Q6619679),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:P941 ?q . ?q rdf:type ontology:Q502895 . ?d rdf:type ontology:Q15850590 } UNION { ?q rdf:type ontology:Q502895 . ?d rdf:type ontology:Q6619679 . ?d property:P941 ?q } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
Fiorello H. La Guardia Bo Gritz Violet Gordon-Woodhouse Donald Trump Robert Walser Dušan Popov
6
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:inspired_by ?q . ?q rdf:type ontology:common_name . ?d rdf:type ontology:theatrical_genre } UNION { ?q rdf:type ontology:common_name . ?d rdf:type ontology:fictional_humanoid . ?d property:inspired_by ?q } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3814921
P21
Q290
USER
What is the sex of Khaled Hussein ?
(Q3814921,P21,c(Q290))
action filter_type
action find
entity Q3814921
relation P21
type Q290
['Q3814921', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3814921 property:P21 ?m . ?m rdf:type ontology:Q290 }
Khaled Hussein
action filter_type
action find
entity Khaled Hussein
relation gender
type sex
['Khaled Hussein', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Khaled_Hussein property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3814921,P21,c(Q290))
action filter_type
action find
entity Q3814921
relation P21
type Q290
The sex of Khaled Hussein is the [ANSWER]
['Q3814921', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3814921 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Khaled Hussein is the male
male
action filter_type
action find
entity Khaled Hussein
relation gender
type sex
['Khaled Hussein', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Khaled_Hussein property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3814921
P19
Q56061
USER
Which administrative territory was Khaled Hussein born in ?
(Q3814921,P19,c(Q56061))
action filter_type
action find
entity Q3814921
relation P19
type Q56061
['Q3814921', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3814921 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Khaled Hussein
action filter_type
action find
entity Khaled Hussein
relation place of birth
type administrative territorial entity
['Khaled Hussein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Khaled_Hussein property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q40816
SYSTEM
Benghazi
Q40816
(Q3814921,P19,c(Q56061))
action filter_type
action find
entity Q3814921
relation P19
type Q56061
Khaled Hussein was born in [ANSWER]
['Q3814921', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3814921 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Benghazi
Khaled Hussein was born in Benghazi
Benghazi
action filter_type
action find
entity Khaled Hussein
relation place of birth
type administrative territorial entity
['Khaled Hussein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Khaled_Hussein property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3814921
P54
Q1194951
USER
What is that person a member of ?
(Q40816,P54,c(Q1194951))
action filter_type
action find
entity Q3814921
relation P54
type Q1194951
['Q40816', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q3814921 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Khaled Hussein
action filter_type
action find
entity Khaled Hussein
relation member of sports team
type national sports team
['Benghazi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Khaled_Hussein property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
national sports team
Q276089
SYSTEM
Libya national football team
Q276089
(Q40816,P54,c(Q1194951))
action filter_type
action find
entity Q3814921
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q40816', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q3814921 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Libya national football team
That person a member of is the Libya national football team
Libya national football team
action filter_type
action find
entity Khaled Hussein
relation member of sports team
type national sports team
['Benghazi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Khaled_Hussein property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3814921
P27
Q15617994
USER
Which administrative territory is Khaled Hussein a civilian of ?
(Q3814921,P27,c(Q15617994))
action filter_type
action find
entity Q3814921
relation P27
type Q15617994
['Q3814921', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3814921 property:P27 ?o }
Khaled Hussein
action filter_type
action find
entity Khaled Hussein
relation country of citizenship
type designation for an administrative territorial entity
['Khaled Hussein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Khaled_Hussein property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q1016
SYSTEM
Libya
Q1016
(Q3814921,P27,c(Q15617994))
action filter_type
action find
entity Q3814921
relation P27
type Q15617994
The [ANSWER] is Khaled Hussein a civilian of
['Q3814921', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3814921 property:P27 ?o }
Libya
The Libya is Khaled Hussein a civilian of
Libya
action filter_type
action find
entity Khaled Hussein
relation country of citizenship
type designation for an administrative territorial entity
['Khaled Hussein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Khaled_Hussein property:country_of_citizenship ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016
P194
Q11204
USER
Which legislature is the representative body for that administrative territory ?
(Q1016,P194,c(Q11204))
action filter_type
action find
entity Q1016
relation P194
type Q11204
['Q1016', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { resource:Q1016 property:P194 ?y . ?y rdf:type ontology:Q11204 }
Libya
action filter_type
action find
entity Libya
relation legislative body
type legislature
['Libya', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { resource:Libya property:legislative_body ?y . ?y rdf:type ontology:legislature }
[]
legislature
Q17443556
SYSTEM
House of Representatives
Q17443556
(Q1016,P194,c(Q11204))
action filter_type
action find
entity Q1016
relation P194
type Q11204
[ANSWER] is the representative body for that administrative territory
['Q1016', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { resource:Q1016 property:P194 ?y . ?y rdf:type ontology:Q11204 }
House of Representatives
House of Representatives is the representative body for that administrative territory
House of Representatives
action filter_type
action find
entity Libya
relation legislative body
type legislature
['Libya', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { resource:Libya property:legislative_body ?y . ?y rdf:type ontology:legislature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q3084961 Q2235308
USER
Which sports are considered to be the main utilization of max number of product linings or ship types ?
(c(Q3084961)|c(Q2235308),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
[[{'concept': 'Q3084961'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { { ?i property:P366 ?d . ?d rdf:type ontology:Q349 . ?i rdf:type ontology:Q2235308 } UNION { ?i property:P366 ?d . ?d rdf:type ontology:Q349 . ?i rdf:type ontology:Q3084961 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?l WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q3084961 ) ( ontology:Q2235308 ) } } GROUP BY ?l } . FILTER ( ?g = ?k ) }
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type ship type
[[{'concept': 'product lining'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { { ?i property:use ?d . ?d rdf:type ontology:sport . ?i rdf:type ontology:ship_type } UNION { ?i property:use ?d . ?d rdf:type ontology:sport . ?i rdf:type ontology:product_lining } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?l WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:product_lining ) ( ontology:ship_type ) } } GROUP BY ?l } . FILTER ( ?g = ?k ) }
[]
sport product lining ship type
Q1875777 Q61065
SYSTEM
air racing, water sport
Q1875777 Q61065
(c(Q3084961)|c(Q2235308),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
[ANSWERS] are considered to be the main utilization of max number of product linings or ship types
[[{'concept': 'Q3084961'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { { ?i property:P366 ?d . ?d rdf:type ontology:Q349 . ?i rdf:type ontology:Q2235308 } UNION { ?i property:P366 ?d . ?d rdf:type ontology:Q349 . ?i rdf:type ontology:Q3084961 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?l WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q3084961 ) ( ontology:Q2235308 ) } } GROUP BY ?l } . FILTER ( ?g = ?k ) }
air racing water sport
Air racing and water sport are considered to be the main utilization of max number of product linings or ship types
air racing water sport
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type ship type
[[{'concept': 'product lining'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?d WHERE { { ?i property:use ?d . ?d rdf:type ontology:sport . ?i rdf:type ontology:ship_type } UNION { ?i property:use ?d . ?d rdf:type ontology:sport . ?i rdf:type ontology:product_lining } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?l WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:product_lining ) ( ontology:ship_type ) } } GROUP BY ?l } . FILTER ( ?g = ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1875777
P136
Q2342494
USER
Which collectable has that sport as genre ?
(c(Q2342494),P136,Q1875777)
action filter_type
action find_reverse
entity Q1875777
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q1875777']
SELECT DISTINCT ?l WHERE { ?l property:P136 resource:Q1875777 . ?l rdf:type ontology:Q2342494 }
air racing
action filter_type
action find_reverse
entity air racing
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'air racing']
SELECT DISTINCT ?l WHERE { ?l property:genre resource:air_racing . ?l rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q61065
SYSTEM
Did you mean water sport ?
Q1875777 Q61065
(c(Q2342494),P136,Q1875777) (c(Q2342494),P136,Q61065)
[ANSWER]
[{'concept': 'Q2342494'}, 'P136', 'Q1875777'] [{'concept': 'Q2342494'}, 'P136', 'Q61065']
SELECT DISTINCT ?l WHERE { ?l property:P136 resource:Q1875777 . ?l rdf:type ontology:Q2342494 }
air racing water sport
Did you mean water sport ?
water sport
[{'concept': 'collectable'}, 'genre', 'air racing'] [{'concept': 'collectable'}, 'genre', 'water sport']
SELECT DISTINCT ?l WHERE { ?l property:genre resource:air_racing . ?l rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant air racing. Could you tell me the answer for that?
(c(Q2342494),P136,Q1875777)
Q1875777
[{'concept': 'Q2342494'}, 'P136', 'Q1875777']
[{'concept': 'collectable'}, 'genre', 'air racing']
[]
Q6725679
SYSTEM
Macross The Ride
Q6725679
(c(Q2342494),P136,Q1875777)
action filter_type
action find_reverse
entity Q1875777
relation P136
type Q2342494
[ANSWER] has that sport as genre
[{'concept': 'Q2342494'}, 'P136', 'Q1875777']
SELECT DISTINCT ?l WHERE { ?l property:P136 resource:Q1875777 . ?l rdf:type ontology:Q2342494 }
Macross The Ride
Macross The Ride has that sport as genre
Macross The Ride
action filter_type
action find_reverse
entity air racing
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'air racing']
SELECT DISTINCT ?l WHERE { ?l property:genre resource:air_racing . ?l rdf:type ontology:collectable }
[]