Simple Question (Direct)
Simple Question
Q1017769
P190
Q15617994
USER
Which administrative territory is the sister city of Mnichovo Hradiště ?
(Q1017769,P190,c(Q15617994))
action filter_type
action find
entity Q1017769
relation P190
type Q15617994
['Q1017769', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1017769 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Mnichovo Hradiště
action filter_type
action find
entity Mnichovo Hradiště
relation sister city
type designation for an administrative territorial entity
['Mnichovo Hradiště', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mnichovo_Hradiště property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q635503
SYSTEM
Erzhausen
Q635503
(Q1017769,P190,c(Q15617994))
action filter_type
action find
entity Q1017769
relation P190
type Q15617994
[ANSWER] is the sister city of Mnichovo Hradiště
['Q1017769', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1017769 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Erzhausen
Erzhausen is the sister city of Mnichovo Hradiště
Erzhausen
action filter_type
action find
entity Mnichovo Hradiště
relation sister city
type designation for an administrative territorial entity
['Mnichovo Hradiště', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mnichovo_Hradiště property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1017769
P47
Q515
USER
Which city is bordered by that one ?
(c(Q515),P47,Q635503)
action filter_type
action find
entity Q1017769
relation P47
type Q515
[{'concept': 'Q515'}, 'P47', 'Q635503']
SELECT DISTINCT ?a WHERE { resource:Q1017769 property:P47 ?a . ?a rdf:type ontology:Q515 }
Mnichovo Hradiště
action filter_type
action find
entity Mnichovo Hradiště
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Erzhausen']
SELECT DISTINCT ?a WHERE { resource:Mnichovo_Hradiště property:shares_border_with ?a . ?a rdf:type ontology:city }
[]
city
Q804489
SYSTEM
Bakov nad Jizerou
Q804489
(c(Q515),P47,Q635503)
action filter_type
action find
entity Q1017769
relation P47
type Q515
[ANSWER] is bordered by that one
[{'concept': 'Q515'}, 'P47', 'Q635503']
SELECT DISTINCT ?a WHERE { resource:Q1017769 property:P47 ?a . ?a rdf:type ontology:Q515 }
Bakov nad Jizerou
Bakov nad Jizerou is bordered by that one
Bakov nad Jizerou
action filter_type
action find
entity Mnichovo Hradiště
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Erzhausen']
SELECT DISTINCT ?a WHERE { resource:Mnichovo_Hradiště property:shares_border_with ?a . ?a rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q635503
P17
Q1048835
USER
Which political territory is Erzhausen located in ?
(Q635503,P17,c(Q1048835))
action filter_type
action find
entity Q635503
relation P17
type Q1048835
['Q635503', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q635503 property:P17 ?l }
Erzhausen
action filter_type
action find
entity Erzhausen
relation country
type political territorial entity
['Erzhausen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Erzhausen property:country ?l }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q635503,P17,c(Q1048835))
action filter_type
action find
entity Q635503
relation P17
type Q1048835
Which political territory is Erzhausen located in
['Q635503', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q635503 property:P17 ?l }
Germany
Which political territory is Erzhausen located in
Germany
action filter_type
action find
entity Erzhausen
relation country
type political territorial entity
['Erzhausen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Erzhausen property:country ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1021888
Q1048835
USER
And how about Normanton?
(Q1021888,P17,c(Q1048835))
action filter_type
action find
entity Q1021888
relation P17
type Q1048835
['Q1021888', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1021888 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Normanton
action filter_type
action find
entity Normanton
relation country
type political territorial entity
['Normanton', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Normanton property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1021888,P17,c(Q1048835))
action filter_type
action find
entity Q1021888
relation P17
type Q1048835
[ANSWER]
['Q1021888', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1021888 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Normanton
relation country
type political territorial entity
['Normanton', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Normanton property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories are approximately the same number of people an inhabitant of as that political territory ?
(c(Q502895),P27,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find
entity Q408
relation P27
type Q1048835
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q1048835 . resource:Q408 property:P27 ?c } } . FILTER ( ?t = ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q502895 . ?f property:P27 ?o } GROUP BY ?o } }
action approx
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find
entity Australia
relation country of citizenship
type political territorial entity
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Australia property:country_of_citizenship ?c } } . FILTER ( ?t = ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:common_name . ?f property:country_of_citizenship ?o } GROUP BY ?o } }
[]
political territorial entity common name
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q664 Q16 Q35 Q40 Q408
(c(Q502895),P27,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find
entity Q408
relation P27
type Q1048835
[ANSWERS] are approximately the same number of people an inhabitant of as that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q1048835 . resource:Q408 property:P27 ?c } } . FILTER ( ?t = ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q502895 . ?f property:P27 ?o } GROUP BY ?o } }
New Zealand Canada Denmark Austria Australia
Australia, Denmark and Canada are approximately the same number of people an inhabitant of as that political territory
Australia Denmark Canada
action approx
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find
entity Australia
relation country of citizenship
type political territorial entity
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Australia property:country_of_citizenship ?c } } . FILTER ( ?t = ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:common_name . ?f property:country_of_citizenship ?o } GROUP BY ?o } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1052650
P17
Q334166
USER
Are Royal Train present in those political territories ?
(Q1052650,P17,Q408) (Q1052650,P17,Q35) (Q1052650,P17,Q16)
action is_in
entity prev_answer
action find
entity Q1052650
relation P17
['Q1052650', 'P17', 'Q408'] ['Q1052650', 'P17', 'Q35'] ['Q1052650', 'P17', 'Q16']
ASK WHERE { VALUES ( ?i ) { ( resource:Q664 ) ( resource:Q16 ) ( resource:Q35 ) } . resource:Q1052650 property:P17 ?i }
Royal Train
action is_in
entity prev_answer
action find
entity Royal Train
relation country
['Royal Train', 'country', 'Australia'] ['Royal Train', 'country', 'Denmark'] ['Royal Train', 'country', 'Canada']
ASK WHERE { VALUES ( ?i ) { ( resource:New_Zealand ) ( resource:Canada ) ( resource:Denmark ) } . resource:Royal_Train property:country ?i }
[]
mode of transport
SYSTEM
YES
(Q1052650,P17,Q408) (Q1052650,P17,Q35) (Q1052650,P17,Q16)
action is_in
entity prev_answer
action find
entity Q1052650
relation P17
[ANSWER]
['Q1052650', 'P17', 'Q408'] ['Q1052650', 'P17', 'Q35'] ['Q1052650', 'P17', 'Q16']
ASK WHERE { VALUES ( ?i ) { ( resource:Q664 ) ( resource:Q16 ) ( resource:Q35 ) } . resource:Q1052650 property:P17 ?i }
Yes
action is_in
entity prev_answer
action find
entity Royal Train
relation country
['Royal Train', 'country', 'Australia'] ['Royal Train', 'country', 'Denmark'] ['Royal Train', 'country', 'Canada']
ASK WHERE { VALUES ( ?i ) { ( resource:New_Zealand ) ( resource:Canada ) ( resource:Denmark ) } . resource:Royal_Train property:country ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P159
Q740752
USER
Which transport companies have their head office location at Canada ?
(c(Q740752),P159,Q16)
action filter_type
action find_reverse
entity Q16
relation P159
type Q740752
[{'concept': 'Q740752'}, 'P159', 'Q16']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q16 . ?n rdf:type ontology:Q740752 }
Canada
action filter_type
action find_reverse
entity Canada
relation headquarters location
type transport company
[{'concept': 'transport company'}, 'headquarters location', 'Canada']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Canada . ?n rdf:type ontology:transport_company }
[]
transport company
Q2994087 Q3488913 Q5011938
SYSTEM
CIT Le Richelain, Transport Scolaire Sogesco, CIT Sorel-Varennes
Q2994087 Q3488913 Q5011938 Q2994090
(c(Q740752),P159,Q16)
action filter_type
action find_reverse
entity Q16
relation P159
type Q740752
[ANSWERS] have their head office location at Canada
[{'concept': 'Q740752'}, 'P159', 'Q16']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q16 . ?n rdf:type ontology:Q740752 }
CIT Le Richelain Transport Scolaire Sogesco CIT Sorel-Varennes CIT Roussillon
CIT Le Richelain, Transport Scolaire Sogesco and CIT Sorel-Varennes have their head office location at Canada
CIT Le Richelain Transport Scolaire Sogesco CIT Sorel-Varennes
action filter_type
action find_reverse
entity Canada
relation headquarters location
type transport company
[{'concept': 'transport company'}, 'headquarters location', 'Canada']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Canada . ?n rdf:type ontology:transport_company }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P1532
Q1194951
USER
Which national sports team represents Canada ?
(c(Q1194951),P1532,Q16)
action filter_type
action find_reverse
entity Q16
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q16']
SELECT DISTINCT ?b WHERE { ?b property:P1532 resource:Q16 . ?b rdf:type ontology:Q1194951 }
Canada
action filter_type
action find_reverse
entity Canada
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Canada']
SELECT DISTINCT ?b WHERE { ?b property:country_for_sport resource:Canada . ?b rdf:type ontology:national_sports_team }
[]
national sports team
Q208635
SYSTEM
Canada national soccer team
Q208635
(c(Q1194951),P1532,Q16)
action filter_type
action find_reverse
entity Q16
relation P1532
type Q1194951
And [ANSWER] represents Canada
[{'concept': 'Q1194951'}, 'P1532', 'Q16']
SELECT DISTINCT ?b WHERE { ?b property:P1532 resource:Q16 . ?b rdf:type ontology:Q1194951 }
Canada national soccer team
And Canada national soccer team represents Canada
Canada national soccer team
action filter_type
action find_reverse
entity Canada
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Canada']
SELECT DISTINCT ?b WHERE { ?b property:country_for_sport resource:Canada . ?b rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P463
Q1129645
USER
Which trade bloc was Canada a member of ?
(Q16,P463,c(Q1129645))
action filter_type
action find
entity Q16
relation P463
type Q1129645
['Q16', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ?q WHERE { resource:Q16 property:P463 ?q . ?q rdf:type ontology:Q1129645 }
Canada
action filter_type
action find
entity Canada
relation member of
type trade bloc
['Canada', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ?q WHERE { resource:Canada property:member_of ?q . ?q rdf:type ontology:trade_bloc }
[]
trade bloc
Q181574
SYSTEM
North American Free Trade Agreement
Q181574
(Q16,P463,c(Q1129645))
action filter_type
action find
entity Q16
relation P463
type Q1129645
The [ANSWER] was Canada a member of
['Q16', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ?q WHERE { resource:Q16 property:P463 ?q . ?q rdf:type ontology:Q1129645 }
North American Free Trade Agreement
The North American Free Trade Agreement was Canada a member of
North American Free Trade Agreement
action filter_type
action find
entity Canada
relation member of
type trade bloc
['Canada', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ?q WHERE { resource:Canada property:member_of ?q . ?q rdf:type ontology:trade_bloc }
[]