Simple Question (Direct)
Simple Question
Q782381
P19
Q56061
USER
Which administrative territory was Filip Filipović born in ?
(Q782381,P19,c(Q56061))
action filter_type
action find
entity Q782381
relation P19
type Q56061
['Q782381', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q782381 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Filip Filipović
action filter_type
action find
entity Filip Filipović
relation place of birth
type administrative territorial entity
['Filip Filipović', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Filip_Filipović property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q208038
SYSTEM
Čačak
Q208038
(Q782381,P19,c(Q56061))
action filter_type
action find
entity Q782381
relation P19
type Q56061
Filip Filipović was born in [ANSWER]
['Q782381', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q782381 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Čačak
Filip Filipović was born in Čačak
Čačak
action filter_type
action find
entity Filip Filipović
relation place of birth
type administrative territorial entity
['Filip Filipović', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Filip_Filipović property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q782381
P102
Q7210356
USER
Which party does Filip Filipović belong to ?
(Q782381,P102,c(Q7210356))
action filter_type
action find
entity Q782381
relation P102
type Q7210356
['Q782381', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q782381 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Filip Filipović
action filter_type
action find
entity Filip Filipović
relation member of political party
type political organization
['Filip Filipović', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Filip_Filipović property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q641691
SYSTEM
League of Communists of Yugoslavia
Q641691
(Q782381,P102,c(Q7210356))
action filter_type
action find
entity Q782381
relation P102
type Q7210356
Filip Filipović belongs to [ANSWER]
['Q782381', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q782381 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
League of Communists of Yugoslavia
Filip Filipović belongs to League of Communists of Yugoslavia
League of Communists of Yugoslavia
action filter_type
action find
entity Filip Filipović
relation member of political party
type political organization
['Filip Filipović', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Filip_Filipović property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q981199
Q7210356
USER
And also tell me about Vladimiras Prudnikovas?
(Q981199,P102,c(Q7210356))
action filter_type
action find
entity Q981199
relation P102
type Q7210356
['Q981199', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q981199 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Vladimiras Prudnikovas
action filter_type
action find
entity Vladimiras Prudnikovas
relation member of political party
type political organization
['Vladimiras Prudnikovas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Vladimiras_Prudnikovas property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q1142007
SYSTEM
Labour Party
Q1142007
(Q981199,P102,c(Q7210356))
action filter_type
action find
entity Q981199
relation P102
type Q7210356
[ANSWER]
['Q981199', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q981199 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Labour Party
Labour Party
action filter_type
action find
entity Vladimiras Prudnikovas
relation member of political party
type political organization
['Vladimiras Prudnikovas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Vladimiras_Prudnikovas property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1142007 Q37
P17
Q15617994
USER
Does Labour Party belong to Lithuania ?
(Q1142007,P17,Q37)
action is_in
entity Q37
action find
entity Q1142007
relation P17
['Q1142007', 'P17', 'Q37']
ASK WHERE { resource:Q1142007 property:P17 resource:Q37 }
Labour Party Lithuania
action is_in
entity Lithuania
action find
entity Labour Party
relation country
['Labour Party', 'country', 'Lithuania']
ASK WHERE { resource:Labour_Party property:country resource:Lithuania }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1142007,P17,Q37)
action is_in
entity Q37
action find
entity Q1142007
relation P17
[ANSWER]
['Q1142007', 'P17', 'Q37']
ASK WHERE { resource:Q1142007 property:P17 resource:Q37 }
Yes
action is_in
entity Lithuania
action find
entity Labour Party
relation country
['Labour Party', 'country', 'Lithuania']
ASK WHERE { resource:Labour_Party property:country resource:Lithuania }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1142007
P17
Q15617994
USER
How many administrative territories are Labour Party a part of ?
(Q1142007,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1142007
relation P17
type Q15617994
['Q1142007', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1142007 property:P17 ?k }
Labour Party
action count
action filter_type
action find
entity Labour Party
relation country
type designation for an administrative territorial entity
['Labour Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Labour_Party property:country ?k }
[]
designation for an administrative territorial entity
SYSTEM
1
Q37
(Q1142007,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1142007
relation P17
type Q15617994
[ANSWER]
['Q1142007', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1142007 property:P17 ?k }
Lithuania
1
action count
action filter_type
action find
entity Labour Party
relation country
type designation for an administrative territorial entity
['Labour Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Labour_Party property:country ?k }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2565392
Q15617994
USER
And also tell me about Westhoff?
(Q2565392,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2565392
relation P17
type Q15617994
['Q2565392', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q2565392 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Westhoff
action count
action filter_type
action find
entity Westhoff
relation country
type designation for an administrative territorial entity
['Westhoff', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Westhoff property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2565392,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2565392
relation P17
type Q15617994
[ANSWER]
['Q2565392', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q2565392 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Westhoff
relation country
type designation for an administrative territorial entity
['Westhoff', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Westhoff property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1142007
P159
Q56061
USER
How many administrative territories are the HQ of Labour Party ?
(Q1142007,P159,c(Q56061))
action count
action filter_type
action find
entity Q1142007
relation P159
type Q56061
['Q1142007', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q1142007 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Labour Party
action count
action filter_type
action find
entity Labour Party
relation headquarters location
type administrative territorial entity
['Labour Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Labour_Party property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q216
(Q1142007,P159,c(Q56061))
action count
action filter_type
action find
entity Q1142007
relation P159
type Q56061
[ANSWER]
['Q1142007', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Q1142007 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Vilnius
1
action count
action filter_type
action find
entity Labour Party
relation headquarters location
type administrative territorial entity
['Labour Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { resource:Labour_Party property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7382830
P414
Q2135465
USER
Which legal term is Ruth's Hospitality Group traded at ?
(Q7382830,P414,c(Q2135465))
action filter_type
action find
entity Q7382830
relation P414
type Q2135465
['Q7382830', 'P414', {'concept': 'Q2135465'}]
SELECT DISTINCT ?p WHERE { resource:Q7382830 property:P414 ?p . ?p rdf:type ontology:Q2135465 }
Ruth's Hospitality Group
action filter_type
action find
entity Ruth's Hospitality Group
relation stock exchange
type legal term
["Ruth's Hospitality Group", 'stock exchange', {'concept': 'legal term'}]
SELECT DISTINCT ?p WHERE { resource:Ruth's_Hospitality_Group property:stock_exchange ?p . ?p rdf:type ontology:legal_term }
[]
legal term
Q82059
SYSTEM
NASDAQ
Q82059
(Q7382830,P414,c(Q2135465))
action filter_type
action find
entity Q7382830
relation P414
type Q2135465
Ruth's Hospitality Group is traded for [ANSWER]
['Q7382830', 'P414', {'concept': 'Q2135465'}]
SELECT DISTINCT ?p WHERE { resource:Q7382830 property:P414 ?p . ?p rdf:type ontology:Q2135465 }
NASDAQ
Ruth's Hospitality Group is traded for NASDAQ
NASDAQ
action filter_type
action find
entity Ruth's Hospitality Group
relation stock exchange
type legal term
["Ruth's Hospitality Group", 'stock exchange', {'concept': 'legal term'}]
SELECT DISTINCT ?p WHERE { resource:Ruth's_Hospitality_Group property:stock_exchange ?p . ?p rdf:type ontology:legal_term }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7382830
P159
Q56061
USER
Which administrative territory is the headquarter location of Ruth's Hospitality Group ?
(Q7382830,P159,c(Q56061))
action filter_type
action find
entity Q7382830
relation P159
type Q56061
['Q7382830', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7382830 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Ruth's Hospitality Group
action filter_type
action find
entity Ruth's Hospitality Group
relation headquarters location
type administrative territorial entity
["Ruth's Hospitality Group", 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ruth's_Hospitality_Group property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q986641
SYSTEM
Winter Park
Q986641
(Q7382830,P159,c(Q56061))
action filter_type
action find
entity Q7382830
relation P159
type Q56061
[ANSWER] is the headquarter location of Ruth's Hospitality Group
['Q7382830', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7382830 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Winter Park
Winter Park is the headquarter location of Ruth's Hospitality Group
Winter Park
action filter_type
action find
entity Ruth's Hospitality Group
relation headquarters location
type administrative territorial entity
["Ruth's Hospitality Group", 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ruth's_Hospitality_Group property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q71329 Q208038
P47 P190
Q20667921
USER
Which french administrative divisions are twin cities of Čačak or are bordered by Guégon ?
OR((Q208038,P190,c(Q20667921)), (Q71329,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q208038
relation P190
action find
entity Q71329
relation P47
type Q20667921
{'OR': [['Q208038', 'P190', {'concept': 'Q20667921'}], ['Q71329', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q208038 property:P190 ?x } UNION { resource:Q71329 property:P47 ?x } } . ?x rdf:type ontology:Q20667921 }
Guégon Čačak
action filter_type
action union
action find
entity Čačak
relation sister city
action find
entity Guégon
relation shares border with
type type of french administrative division
{'OR': [['Čačak', 'sister city', {'concept': 'type of french administrative division'}], ['Guégon', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Čačak property:sister_city ?x } UNION { resource:Guégon property:shares_border_with ?x } } . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q71398 Q62828 Q128502 Q127981 Q70426 Q17716 Q127183 Q71500 Q206165 Q70494
SYSTEM
Guéhenno, Buléon, Saint-Servant, Pleugriffet, Lantillac, Cruguel, Guillac, Josselin, Thonon-les-Bains, Lanouée
Q71398 Q62828 Q128502 Q127981 Q70426 Q17716 Q127183 Q71500 Q206165 Q70494
OR((Q208038,P190,c(Q20667921)), (Q71329,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q208038
relation P190
action find
entity Q71329
relation P47
type Q20667921
[ANSWERS] are twin cities of Čačak or are bordered by Guégon
{'OR': [['Q208038', 'P190', {'concept': 'Q20667921'}], ['Q71329', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q208038 property:P190 ?x } UNION { resource:Q71329 property:P47 ?x } } . ?x rdf:type ontology:Q20667921 }
Guéhenno Buléon Saint-Servant Pleugriffet Lantillac Cruguel Guillac Josselin Thonon-les-Bains Lanouée
Guéhenno, Buléon, Saint-Servant, Pleugriffet, Lantillac, Cruguel, Guillac, Josselin, Thonon-les-Bains and Lanouée are twin cities of Čačak or are bordered by Guégon
Guéhenno Buléon Saint-Servant Pleugriffet Lantillac Cruguel Guillac Josselin Thonon-les-Bains Lanouée
action filter_type
action union
action find
entity Čačak
relation sister city
action find
entity Guégon
relation shares border with
type type of french administrative division
{'OR': [['Čačak', 'sister city', {'concept': 'type of french administrative division'}], ['Guégon', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Čačak property:sister_city ?x } UNION { resource:Guégon property:shares_border_with ?x } } . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71500
P1427
Q31629
USER
Which type of sport originates at Josselin ?
(c(Q31629),P1427,Q71500)
action filter_type
action find_reverse
entity Q71500
relation P1427
type Q31629
[{'concept': 'Q31629'}, 'P1427', 'Q71500']
SELECT DISTINCT ?s WHERE { ?s property:P1427 resource:Q71500 . ?s rdf:type ontology:Q31629 }
Josselin
action filter_type
action find_reverse
entity Josselin
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Josselin']
SELECT DISTINCT ?s WHERE { ?s property:start_point resource:Josselin . ?s rdf:type ontology:type_of_sport }
[]
type of sport
Q26883403
SYSTEM
2016 European Road Championships – Women's junior time trial
Q26883403
(c(Q31629),P1427,Q71500)
action filter_type
action find_reverse
entity Q71500
relation P1427
type Q31629
The [ANSWER] originates at Josselin
[{'concept': 'Q31629'}, 'P1427', 'Q71500']
SELECT DISTINCT ?s WHERE { ?s property:P1427 resource:Q71500 . ?s rdf:type ontology:Q31629 }
2016 European Road Championships – Women's junior time trial
The 2016 European Road Championships – Women's junior time trial originates at Josselin
2016 European Road Championships – Women's junior time trial
action filter_type
action find_reverse
entity Josselin
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Josselin']
SELECT DISTINCT ?s WHERE { ?s property:start_point resource:Josselin . ?s rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q71500
P36
Q20667921
USER
Which french administrative division contains that one as its capital ?
(c(Q20667921),P36,Q26883403)
action filter_type
action find_reverse
entity Q71500
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q26883403']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20667921 . ?n property:P36 resource:Q71500 }
Josselin
action filter_type
action find_reverse
entity Josselin
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', "2016 European Road Championships – Women's junior time trial"]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_french_administrative_division . ?n property:capital resource:Josselin }
[]
type of french administrative division
Q1399393
SYSTEM
canton of Josselin
Q1399393
(c(Q20667921),P36,Q26883403)
action filter_type
action find_reverse
entity Q71500
relation P36
type Q20667921
The [ANSWER] contains that one as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q26883403']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20667921 . ?n property:P36 resource:Q71500 }
canton of Josselin
The canton of Josselin contains that one as its capital
canton of Josselin
action filter_type
action find_reverse
entity Josselin
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', "2016 European Road Championships – Women's junior time trial"]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_french_administrative_division . ?n property:capital resource:Josselin }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1399393 Q49443 Q6965026
P17
Q15617994
USER
Is canton of Josselin situated in Zirzow and Napoleon Community Schools ?
(Q1399393,P17,Q49443) (Q1399393,P17,Q6965026)
action is_in
entity Q1399393
action intersection
action find_reverse
entity Q49443
relation P17
action find_reverse
entity Q6965026
relation P17
['Q1399393', 'P17', 'Q49443'] ['Q1399393', 'P17', 'Q6965026']
ASK WHERE { resource:Q1399393 property:P17 resource:Q49443 . resource:Q1399393 property:P17 resource:Q6965026 }
canton of Josselin Zirzow Napoleon Community Schools
action is_in
entity canton of Josselin
action intersection
action find_reverse
entity Zirzow
relation country
action find_reverse
entity Napoleon Community Schools
relation country
['canton of Josselin', 'country', 'Zirzow'] ['canton of Josselin', 'country', 'Napoleon Community Schools']
ASK WHERE { resource:canton_of_Josselin property:country resource:Zirzow . resource:canton_of_Josselin property:country resource:Napoleon_Community_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1399393,P17,Q49443) (Q1399393,P17,Q6965026)
action is_in
entity Q1399393
action intersection
action find_reverse
entity Q49443
relation P17
action find_reverse
entity Q6965026
relation P17
[ANSWER]
['Q1399393', 'P17', 'Q49443'] ['Q1399393', 'P17', 'Q6965026']
ASK WHERE { resource:Q1399393 property:P17 resource:Q49443 . resource:Q1399393 property:P17 resource:Q6965026 }
No
action is_in
entity canton of Josselin
action intersection
action find_reverse
entity Zirzow
relation country
action find_reverse
entity Napoleon Community Schools
relation country
['canton of Josselin', 'country', 'Zirzow'] ['canton of Josselin', 'country', 'Napoleon Community Schools']
ASK WHERE { resource:canton_of_Josselin property:country resource:Zirzow . resource:canton_of_Josselin property:country resource:Napoleon_Community_Schools }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q70426 Q1017818
P47
Q20667921
USER
Is Chanousse adjacent to Lantillac ?
(Q70426,P47,Q1017818)
action is_in
entity Q1017818
action find
entity Q70426
relation P47
['Q70426', 'P47', 'Q1017818']
ASK WHERE { resource:Q70426 property:P47 resource:Q1017818 }
Lantillac Chanousse
action is_in
entity Chanousse
action find
entity Lantillac
relation shares border with
['Lantillac', 'shares border with', 'Chanousse']
ASK WHERE { resource:Lantillac property:shares_border_with resource:Chanousse }
[]
type of french administrative division
SYSTEM
NO
(Q70426,P47,Q1017818)
action is_in
entity Q1017818
action find
entity Q70426
relation P47
[ANSWER]
['Q70426', 'P47', 'Q1017818']
ASK WHERE { resource:Q70426 property:P47 resource:Q1017818 }
No
action is_in
entity Chanousse
action find
entity Lantillac
relation shares border with
['Lantillac', 'shares border with', 'Chanousse']
ASK WHERE { resource:Lantillac property:shares_border_with resource:Chanousse }
[]