Simple Question (Direct)
Simple Question
Q20989049
P108
Q11032
USER
Which newspaper is the workplace of Francine Collet ?
(Q20989049,P108,c(Q11032))
action filter_type
action find
entity Q20989049
relation P108
type Q11032
['Q20989049', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?j WHERE { resource:Q20989049 property:P108 ?j . ?j rdf:type ontology:Q11032 }
Francine Collet
action filter_type
action find
entity Francine Collet
relation employer
type newspaper
['Francine Collet', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?j WHERE { resource:Francine_Collet property:employer ?j . ?j rdf:type ontology:newspaper }
[]
newspaper
Q365266
SYSTEM
Le Courrier
Q365266
(Q20989049,P108,c(Q11032))
action filter_type
action find
entity Q20989049
relation P108
type Q11032
[ANSWER] is the workplace of Francine Collet
['Q20989049', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?j WHERE { resource:Q20989049 property:P108 ?j . ?j rdf:type ontology:Q11032 }
Le Courrier
Le Courrier is the workplace of Francine Collet
Le Courrier
action filter_type
action find
entity Francine Collet
relation employer
type newspaper
['Francine Collet', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?j WHERE { resource:Francine_Collet property:employer ?j . ?j rdf:type ontology:newspaper }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20989049
P27
Q15617994
USER
Which administrative territory is Francine Collet an inhabitant of ?
(Q20989049,P27,c(Q15617994))
action filter_type
action find
entity Q20989049
relation P27
type Q15617994
['Q20989049', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20989049 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Francine Collet
action filter_type
action find
entity Francine Collet
relation country of citizenship
type designation for an administrative territorial entity
['Francine Collet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Francine_Collet property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q20989049,P27,c(Q15617994))
action filter_type
action find
entity Q20989049
relation P27
type Q15617994
[ANSWER] is Francine Collet an inhabitant of
['Q20989049', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20989049 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Switzerland
Switzerland is Francine Collet an inhabitant of
Switzerland
action filter_type
action find
entity Francine Collet
relation country of citizenship
type designation for an administrative territorial entity
['Francine Collet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Francine_Collet property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q39 Q183 Q40
P47
Q1048835
USER
Is that administrative territory next to the border of Germany and Austria ?
(Q39,P47,Q183) (Q39,P47,Q40)
action is_in
entity Q39
action intersection
action find_reverse
entity Q183
relation P47
action find_reverse
entity Q40
relation P47
['Q39', 'P47', 'Q183'] ['Q39', 'P47', 'Q40']
ASK WHERE { resource:Q39 property:P47 resource:Q183 . resource:Q39 property:P47 resource:Q40 }
Switzerland Germany Austria
action is_in
entity Switzerland
action intersection
action find_reverse
entity Germany
relation shares border with
action find_reverse
entity Austria
relation shares border with
['Switzerland', 'shares border with', 'Germany'] ['Switzerland', 'shares border with', 'Austria']
ASK WHERE { resource:Switzerland property:shares_border_with resource:Germany . resource:Switzerland property:shares_border_with resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q39,P47,Q183) (Q39,P47,Q40)
action is_in
entity Q39
action intersection
action find_reverse
entity Q183
relation P47
action find_reverse
entity Q40
relation P47
[ANSWER]
['Q39', 'P47', 'Q183'] ['Q39', 'P47', 'Q40']
ASK WHERE { resource:Q39 property:P47 resource:Q183 . resource:Q39 property:P47 resource:Q40 }
Yes
action is_in
entity Switzerland
action intersection
action find_reverse
entity Germany
relation shares border with
action find_reverse
entity Austria
relation shares border with
['Switzerland', 'shares border with', 'Germany'] ['Switzerland', 'shares border with', 'Austria']
ASK WHERE { resource:Switzerland property:shares_border_with resource:Germany . resource:Switzerland property:shares_border_with resource:Austria }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?q ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?q = 1 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?q ) WHERE { ?c property:diplomatic_relation ?p . ?c rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q778
SYSTEM
Gabon, Grenada, The Bahamas
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWERS] have a diplomatic relationship with exactly 1 administrative territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?q ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?q = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
Gabon, Grenada and The Bahamas have a diplomatic relationship with exactly 1 administrative territory
Gabon Grenada The Bahamas
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?q ) WHERE { ?c property:diplomatic_relation ?p . ?c rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1000 Q769 Q778
P1532
Q6979593
USER
Whose national association football teams are those political territories ?
(c(Q6979593),P1532,Q1000) (c(Q6979593),P1532,Q769) (c(Q6979593),P1532,Q778)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q1000'] [{'concept': 'Q6979593'}, 'P1532', 'Q769'] [{'concept': 'Q6979593'}, 'P1532', 'Q778']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q6979593 . ?o property:P1532 ?n . VALUES ( ?n ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
Gabon Grenada The Bahamas
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Gabon'] [{'concept': 'national association football team'}, 'country for sport', 'Grenada'] [{'concept': 'national association football team'}, 'country for sport', 'The Bahamas']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:national_association_football_team . ?o property:country_for_sport ?n . VALUES ( ?n ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
national association football team
Q3066716 Q23887368 Q3277260
SYSTEM
Gabon women's national football team, Gabon Olympic football team, Grenada women's national football team
Q3066716 Q23887368 Q3277260 Q3277264
(c(Q6979593),P1532,Q1000) (c(Q6979593),P1532,Q769) (c(Q6979593),P1532,Q778)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[ANSWERS] are those political territories
[{'concept': 'Q6979593'}, 'P1532', 'Q1000'] [{'concept': 'Q6979593'}, 'P1532', 'Q769'] [{'concept': 'Q6979593'}, 'P1532', 'Q778']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q6979593 . ?o property:P1532 ?n . VALUES ( ?n ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
Gabon women's national football team Gabon Olympic football team Grenada women's national football team Bahamas women's national football team
Gabon women's national football team, Gabon Olympic football team and Grenada women's national football team are those political territories
Gabon women's national football team Gabon Olympic football team Grenada women's national football team
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Gabon'] [{'concept': 'national association football team'}, 'country for sport', 'Grenada'] [{'concept': 'national association football team'}, 'country for sport', 'The Bahamas']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:national_association_football_team . ?o property:country_for_sport ?n . VALUES ( ?n ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3066716 Q23887368 Q3277260
P1532
Q1048835
USER
Which political territories did those national association football teams play for ?
(Q3066716,P1532,c(Q1048835)) (Q23887368,P1532,c(Q1048835)) (Q3277260,P1532,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P1532
type Q1048835
['Q3066716', 'P1532', {'concept': 'Q1048835'}] ['Q23887368', 'P1532', {'concept': 'Q1048835'}] ['Q3277260', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . ?o property:P1532 ?f . VALUES ( ?o ) { ( resource:Q3066716 ) ( resource:Q23887368 ) ( resource:Q3277260 ) } }
Gabon women's national football team Gabon Olympic football team Grenada women's national football team
action filter_type
action find
entity prev_answer
relation country for sport
type political territorial entity
["Gabon women's national football team", 'country for sport', {'concept': 'political territorial entity'}] ['Gabon Olympic football team', 'country for sport', {'concept': 'political territorial entity'}] ["Grenada women's national football team", 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . ?o property:country_for_sport ?f . VALUES ( ?o ) { ( resource:Gabon_women's_national_football_team ) ( resource:Gabon_Olympic_football_team ) ( resource:Grenada_women's_national_football_team ) } }
[]
political territorial entity
Q1000 Q1000 Q769
SYSTEM
Gabon for 1st, 2nd, Grenada for 3rd
Q1000 Q1000 Q769
(Q3066716,P1532,c(Q1048835)) (Q23887368,P1532,c(Q1048835)) (Q3277260,P1532,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P1532
type Q1048835
[ANSWERS]
['Q3066716', 'P1532', {'concept': 'Q1048835'}] ['Q23887368', 'P1532', {'concept': 'Q1048835'}] ['Q3277260', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . ?o property:P1532 ?f . VALUES ( ?o ) { ( resource:Q3066716 ) ( resource:Q23887368 ) ( resource:Q3277260 ) } }
Gabon Gabon Grenada
Those national association football teams played in Gabon, Gabon and Grenada
Gabon Gabon Grenada
action filter_type
action find
entity prev_answer
relation country for sport
type political territorial entity
["Gabon women's national football team", 'country for sport', {'concept': 'political territorial entity'}] ['Gabon Olympic football team', 'country for sport', {'concept': 'political territorial entity'}] ["Grenada women's national football team", 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . ?o property:country_for_sport ?f . VALUES ( ?o ) { ( resource:Gabon_women's_national_football_team ) ( resource:Gabon_Olympic_football_team ) ( resource:Grenada_women's_national_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P85
Q484692
USER
What is the anthem for Switzerland ?
(Q39,P85,c(Q484692))
action filter_type
action find
entity Q39
relation P85
type Q484692
['Q39', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { resource:Q39 property:P85 ?l . ?l rdf:type ontology:Q484692 }
Switzerland
action filter_type
action find
entity Switzerland
relation anthem
type hymn
['Switzerland', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { resource:Switzerland property:anthem ?l . ?l rdf:type ontology:hymn }
[]
hymn
Q182536
SYSTEM
Swiss Psalm
Q182536
(Q39,P85,c(Q484692))
action filter_type
action find
entity Q39
relation P85
type Q484692
The anthem for Switzerland is the [ANSWER]
['Q39', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { resource:Q39 property:P85 ?l . ?l rdf:type ontology:Q484692 }
Swiss Psalm
The anthem for Switzerland is the Swiss Psalm
Swiss Psalm
action filter_type
action find
entity Switzerland
relation anthem
type hymn
['Switzerland', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { resource:Switzerland property:anthem ?l . ?l rdf:type ontology:hymn }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with around 3 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 3 ) . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { ?a property:P530 ?f . ?a rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?a } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 3 ) . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { ?a property:diplomatic_relation ?f . ?a rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?a } }
[]
political territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[ANSWERS] hold diplomatic relationship with around 3 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 3 ) . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { ?a property:P530 ?f . ?a rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?a } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria hold diplomatic relationship with around 3 political territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 3 ) . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { ?a property:diplomatic_relation ?f . ?a rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?a } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P530
Q1048835
USER
Who holds diplomatic relationship with those ones ?
(Q35,P530,c(Q1048835)) (Q16,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
['Q35', 'P530', {'concept': 'Q1048835'}] ['Q16', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?w property:P530 ?b . VALUES ( ?w ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?b rdf:type ontology:Q1048835 }
Denmark Canada Austria
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?w property:diplomatic_relation ?b . VALUES ( ?w ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q408 Q16 Q183 Q664 Q35 Q408 Q183 Q408
(Q35,P530,c(Q1048835)) (Q16,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] hold diplomatic relationship with those ones
['Q35', 'P530', {'concept': 'Q1048835'}] ['Q16', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?w property:P530 ?b . VALUES ( ?w ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?b rdf:type ontology:Q1048835 }
Germany Australia Canada Germany New Zealand Denmark Australia Germany Australia
Germany, Germany and Germany hold diplomatic relationship with those ones
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?w property:diplomatic_relation ?b . VALUES ( ?w ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P35
Q502895
USER
Who are the heads of state of Brazil ?
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q155 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Brazil
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Brazil property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
common name
Q37181 Q230578 Q40722
SYSTEM
Luiz Inácio Lula da Silva, Fernando Henrique Cardoso, Dilma Rousseff
Q37181 Q230578 Q463533 Q485946 Q236503 Q40722
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
The heads of state of Brazil are the [ANSWERS]
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q155 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Michel Temer Itamar Franco Fernando Collor de Mello Dilma Rousseff
The heads of state of Brazil are the Luiz Inácio Lula da Silva, Fernando Henrique Cardoso and Dilma Rousseff
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Dilma Rousseff
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Brazil property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]