Simple Question (Direct)
Simple Question
Q5494704
P734
Q82799
USER
Who is associated with Fred Brown ?
(Q5494704,P734,c(Q82799))
action filter_type
action find
entity Q5494704
relation P734
type Q82799
['Q5494704', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q5494704 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Fred Brown
action filter_type
action find
entity Fred Brown
relation family name
type name
['Fred Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Fred_Brown property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q5494704,P734,c(Q82799))
action filter_type
action find
entity Q5494704
relation P734
type Q82799
[ANSWER] is associated with Fred [ANSWER]
['Q5494704', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q5494704 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Brown
Brown is associated with Fred Brown
Brown
action filter_type
action find
entity Fred Brown
relation family name
type name
['Fred Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Fred_Brown property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5494704
P641
Q349
USER
Which sport was that person a part of ?
(Q13421990,P641,c(Q349))
action filter_type
action find
entity Q5494704
relation P641
type Q349
['Q13421990', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q5494704 property:P641 ?e }
Fred Brown
action filter_type
action find
entity Fred Brown
relation sport
type sport
['Brown', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Fred_Brown property:sport ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q13421990,P641,c(Q349))
action filter_type
action find
entity Q5494704
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q13421990', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q5494704 property:P641 ?e }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Fred Brown
relation sport
type sport
['Brown', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Fred_Brown property:sport ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5494704
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q5494704
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q5494704 property:P106 ?r }
Fred Brown
action filter_type
action find
entity Fred Brown
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Fred_Brown property:occupation ?r }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q5494704
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q5494704 property:P106 ?r }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Fred Brown
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Fred_Brown property:occupation ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q2161828
P106
Q502895
USER
Does Sigutė Jakštonytė have career as that occupation ?
(Q2161828,P106,Q937857)
action is_in
entity Q2161828
action find
entity Q937857
relation P106
['Q2161828', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q2161828 }
association football player Sigutė Jakštonytė
action is_in
entity Sigutė Jakštonytė
action find
entity association football player
relation occupation
['Sigutė Jakštonytė', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Sigutė_Jakštonytė }
[]
common name
SYSTEM
NO
(Q2161828,P106,Q937857)
action is_in
entity Q2161828
action find
entity Q937857
relation P106
[ANSWER]
['Q2161828', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q2161828 }
No
action is_in
entity Sigutė Jakštonytė
action find
entity association football player
relation occupation
['Sigutė Jakštonytė', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Sigutė_Jakštonytė }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13421990 Q3832927
P407
Q34770
USER
Is Cisalpine Gaulish the language of work for Brown ?
(Q13421990,P407,Q3832927)
action is_in
entity Q3832927
action find
entity Q13421990
relation P407
['Q13421990', 'P407', 'Q3832927']
ASK WHERE { resource:Q13421990 property:P407 resource:Q3832927 }
Brown Cisalpine Gaulish
action is_in
entity Cisalpine Gaulish
action find
entity Brown
relation language of work or name
['Brown', 'language of work or name', 'Cisalpine Gaulish']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:Cisalpine_Gaulish }
[]
language
SYSTEM
NO
(Q13421990,P407,Q3832927)
action is_in
entity Q3832927
action find
entity Q13421990
relation P407
[ANSWER]
['Q13421990', 'P407', 'Q3832927']
ASK WHERE { resource:Q13421990 property:P407 resource:Q3832927 }
No
action is_in
entity Cisalpine Gaulish
action find
entity Brown
relation language of work or name
['Brown', 'language of work or name', 'Cisalpine Gaulish']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:Cisalpine_Gaulish }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q39546 Q41176
USER
Which sports are considered as the main functionality of min number of tools or buildings ?
(c(Q39546)|c(Q41176),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
[[{'concept': 'Q39546'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?i rdf:type ontology:Q349 . ?b rdf:type ontology:Q39546 . ?b property:P366 ?i } UNION { ?b property:P366 ?i . ?i rdf:type ontology:Q349 . ?b rdf:type ontology:Q41176 } } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q41176 ) ( ontology:Q39546 ) } } GROUP BY ?v } . FILTER ( ?m = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type building
[[{'concept': 'tool'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?i rdf:type ontology:sport . ?b rdf:type ontology:tool . ?b property:use ?i } UNION { ?b property:use ?i . ?i rdf:type ontology:sport . ?b rdf:type ontology:building } } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:building ) ( ontology:tool ) } } GROUP BY ?v } . FILTER ( ?m = ?s ) }
[]
sport tool building
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q1194269 Q41323 Q7291
(c(Q39546)|c(Q41176),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
[ANSWERS] are considered as the main functionality of min number of tools or buildings
[[{'concept': 'Q39546'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?i rdf:type ontology:Q349 . ?b rdf:type ontology:Q39546 . ?b property:P366 ?i } UNION { ?b property:P366 ?i . ?i rdf:type ontology:Q349 . ?b rdf:type ontology:Q41176 } } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q41176 ) ( ontology:Q39546 ) } } GROUP BY ?v } . FILTER ( ?m = ?s ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football water sport tennis harness racing American football badminton
Floorball, handball and bandy are considered as the main functionality of min number of tools or buildings
floorball handball bandy
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type building
[[{'concept': 'tool'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?s ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?i rdf:type ontology:sport . ?b rdf:type ontology:tool . ?b property:use ?i } UNION { ?b property:use ?i . ?i rdf:type ontology:sport . ?b rdf:type ontology:building } } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:building ) ( ontology:tool ) } } GROUP BY ?v } . FILTER ( ?m = ?s ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5641174
P641
Q12973014
USER
Are Halcones de Xalapa involved in playing those sports ?
(Q5641174,P641,Q206763) (Q5641174,P641,Q8418) (Q5641174,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q5641174
relation P641
['Q5641174', 'P641', 'Q206763'] ['Q5641174', 'P641', 'Q8418'] ['Q5641174', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?g ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q5641174 property:P641 ?g }
Halcones de Xalapa
action is_in
entity prev_answer
action find
entity Halcones de Xalapa
relation sport
['Halcones de Xalapa', 'sport', 'floorball'] ['Halcones de Xalapa', 'sport', 'handball'] ['Halcones de Xalapa', 'sport', 'bandy']
ASK WHERE { VALUES ( ?g ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:Halcones_de_Xalapa property:sport ?g }
[]
sports team
SYSTEM
NO
(Q5641174,P641,Q206763) (Q5641174,P641,Q8418) (Q5641174,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q5641174
relation P641
[ANSWER]
['Q5641174', 'P641', 'Q206763'] ['Q5641174', 'P641', 'Q8418'] ['Q5641174', 'P641', 'Q183018']
ASK WHERE { VALUES ( ?g ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } . resource:Q5641174 property:P641 ?g }
No
action is_in
entity prev_answer
action find
entity Halcones de Xalapa
relation sport
['Halcones de Xalapa', 'sport', 'floorball'] ['Halcones de Xalapa', 'sport', 'handball'] ['Halcones de Xalapa', 'sport', 'bandy']
ASK WHERE { VALUES ( ?g ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } . resource:Halcones_de_Xalapa property:sport ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q206763 Q13495014 Q52211
P495
Q15617994
USER
Does floorball have Crosshill and Taviano as its place of origin ?
(Q206763,P495,Q13495014) (Q206763,P495,Q52211)
action is_in
entity Q206763
action intersection
action find_reverse
entity Q13495014
relation P495
action find_reverse
entity Q52211
relation P495
['Q206763', 'P495', 'Q13495014'] ['Q206763', 'P495', 'Q52211']
ASK WHERE { resource:Q206763 property:P495 resource:Q13495014 . resource:Q206763 property:P495 resource:Q52211 }
floorball Crosshill Taviano
action is_in
entity floorball
action intersection
action find_reverse
entity Crosshill
relation country of origin
action find_reverse
entity Taviano
relation country of origin
['floorball', 'country of origin', 'Crosshill'] ['floorball', 'country of origin', 'Taviano']
ASK WHERE { resource:floorball property:country_of_origin resource:Crosshill . resource:floorball property:country_of_origin resource:Taviano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q206763,P495,Q13495014) (Q206763,P495,Q52211)
action is_in
entity Q206763
action intersection
action find_reverse
entity Q13495014
relation P495
action find_reverse
entity Q52211
relation P495
[ANSWER]
['Q206763', 'P495', 'Q13495014'] ['Q206763', 'P495', 'Q52211']
ASK WHERE { resource:Q206763 property:P495 resource:Q13495014 . resource:Q206763 property:P495 resource:Q52211 }
No
action is_in
entity floorball
action intersection
action find_reverse
entity Crosshill
relation country of origin
action find_reverse
entity Taviano
relation country of origin
['floorball', 'country of origin', 'Crosshill'] ['floorball', 'country of origin', 'Taviano']
ASK WHERE { resource:floorball property:country_of_origin resource:Crosshill . resource:floorball property:country_of_origin resource:Taviano }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5494704 Q145 Q266630
P27
Q15617994
USER
Is Fred Brown a native of United Kingdom and Sori, Liguria ?
(Q5494704,P27,Q145) (Q5494704,P27,Q266630)
action is_in
entity Q5494704
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q266630
relation P27
['Q5494704', 'P27', 'Q145'] ['Q5494704', 'P27', 'Q266630']
ASK WHERE { resource:Q5494704 property:P27 resource:Q266630 . resource:Q5494704 property:P27 resource:Q145 }
Fred Brown United Kingdom Sori, Liguria
action is_in
entity Fred Brown
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Sori, Liguria
relation country of citizenship
['Fred Brown', 'country of citizenship', 'United Kingdom'] ['Fred Brown', 'country of citizenship', 'Sori, Liguria']
ASK WHERE { resource:Fred_Brown property:country_of_citizenship resource:Sori,_Liguria . resource:Fred_Brown property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q5494704,P27,Q145) (Q5494704,P27,Q266630)
action is_in
entity Q5494704
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q266630
relation P27
[ANSWER]
['Q5494704', 'P27', 'Q145'] ['Q5494704', 'P27', 'Q266630']
ASK WHERE { resource:Q5494704 property:P27 resource:Q266630 . resource:Q5494704 property:P27 resource:Q145 }
YES and NO respectively
action is_in
entity Fred Brown
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Sori, Liguria
relation country of citizenship
['Fred Brown', 'country of citizenship', 'United Kingdom'] ['Fred Brown', 'country of citizenship', 'Sori, Liguria']
ASK WHERE { resource:Fred_Brown property:country_of_citizenship resource:Sori,_Liguria . resource:Fred_Brown property:country_of_citizenship resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q206763 Q39 Q34364
P495
Q15617994
USER
Does floorball originate at Switzerland and Stanghella ?
(Q206763,P495,Q39) (Q206763,P495,Q34364)
action is_in
entity Q206763
action intersection
action find_reverse
entity Q39
relation P495
action find_reverse
entity Q34364
relation P495
['Q206763', 'P495', 'Q39'] ['Q206763', 'P495', 'Q34364']
ASK WHERE { resource:Q206763 property:P495 resource:Q34364 . resource:Q206763 property:P495 resource:Q39 }
floorball Switzerland Stanghella
action is_in
entity floorball
action intersection
action find_reverse
entity Switzerland
relation country of origin
action find_reverse
entity Stanghella
relation country of origin
['floorball', 'country of origin', 'Switzerland'] ['floorball', 'country of origin', 'Stanghella']
ASK WHERE { resource:floorball property:country_of_origin resource:Stanghella . resource:floorball property:country_of_origin resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q206763,P495,Q39) (Q206763,P495,Q34364)
action is_in
entity Q206763
action intersection
action find_reverse
entity Q39
relation P495
action find_reverse
entity Q34364
relation P495
[ANSWER]
['Q206763', 'P495', 'Q39'] ['Q206763', 'P495', 'Q34364']
ASK WHERE { resource:Q206763 property:P495 resource:Q34364 . resource:Q206763 property:P495 resource:Q39 }
YES and NO respectively
action is_in
entity floorball
action intersection
action find_reverse
entity Switzerland
relation country of origin
action find_reverse
entity Stanghella
relation country of origin
['floorball', 'country of origin', 'Switzerland'] ['floorball', 'country of origin', 'Stanghella']
ASK WHERE { resource:floorball property:country_of_origin resource:Stanghella . resource:floorball property:country_of_origin resource:Switzerland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5494704 Q145
P27
Q15617994
USER
Is United Kingdom the country of citizenship of Fred Brown ?
(Q5494704,P27,Q145)
action is_in
entity Q145
action find
entity Q5494704
relation P27
['Q5494704', 'P27', 'Q145']
ASK WHERE { resource:Q5494704 property:P27 resource:Q145 }
Fred Brown United Kingdom
action is_in
entity United Kingdom
action find
entity Fred Brown
relation country of citizenship
['Fred Brown', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Fred_Brown property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5494704,P27,Q145)
action is_in
entity Q145
action find
entity Q5494704
relation P27
[ANSWER]
['Q5494704', 'P27', 'Q145']
ASK WHERE { resource:Q5494704 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Fred Brown
relation country of citizenship
['Fred Brown', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Fred_Brown property:country_of_citizenship resource:United_Kingdom }
[]