Simple Question (Direct)
Simple Question
Q3160089
P21
Q290
USER
What is the sex of Jacques Thévenet ?
(Q3160089,P21,c(Q290))
action filter_type
action find
entity Q3160089
relation P21
type Q290
['Q3160089', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3160089 property:P21 ?a . ?a rdf:type ontology:Q290 }
Jacques Thévenet
action filter_type
action find
entity Jacques Thévenet
relation gender
type sex
['Jacques Thévenet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Jacques_Thévenet property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3160089,P21,c(Q290))
action filter_type
action find
entity Q3160089
relation P21
type Q290
The sex of Jacques is the [ANSWER]
['Q3160089', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3160089 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Jacques is the male
male
action filter_type
action find
entity Jacques Thévenet
relation gender
type sex
['Jacques Thévenet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Jacques_Thévenet property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3160089
P19
Q20667921
USER
Which french administrative division is the place of birth of Jacques Thévenet ?
(Q3160089,P19,c(Q20667921))
action filter_type
action find
entity Q3160089
relation P19
type Q20667921
['Q3160089', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q3160089 property:P19 ?e . ?e rdf:type ontology:Q20667921 }
Jacques Thévenet
action filter_type
action find
entity Jacques Thévenet
relation place of birth
type type of french administrative division
['Jacques Thévenet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Jacques_Thévenet property:place_of_birth ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1098286
SYSTEM
Dommartin
Q1098286
(Q3160089,P19,c(Q20667921))
action filter_type
action find
entity Q3160089
relation P19
type Q20667921
[ANSWER] is the place of birth of Jacques Thévenet
['Q3160089', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q3160089 property:P19 ?e . ?e rdf:type ontology:Q20667921 }
Dommartin
Dommartin is the place of birth of Jacques Thévenet
Dommartin
action filter_type
action find
entity Jacques Thévenet
relation place of birth
type type of french administrative division
['Jacques Thévenet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Jacques_Thévenet property:place_of_birth ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q516950
Q20667921
USER
And what about André Beaudin?
(Q516950,P19,c(Q20667921))
action filter_type
action find
entity Q516950
relation P19
type Q20667921
['Q516950', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q516950 property:P19 ?y . ?y rdf:type ontology:Q20667921 }
André Beaudin
action filter_type
action find
entity André Beaudin
relation place of birth
type type of french administrative division
['André Beaudin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:André_Beaudin property:place_of_birth ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1165781
SYSTEM
Mennecy
Q1165781
(Q516950,P19,c(Q20667921))
action filter_type
action find
entity Q516950
relation P19
type Q20667921
[ANSWER]
['Q516950', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q516950 property:P19 ?y . ?y rdf:type ontology:Q20667921 }
Mennecy
Mennecy
action filter_type
action find
entity André Beaudin
relation place of birth
type type of french administrative division
['André Beaudin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:André_Beaudin property:place_of_birth ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q516950
P26
Q502895
USER
Who is married to André Beaudin ?
(c(Q502895),P26,Q516950)
action filter_type
action find
entity Q516950
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q516950']
SELECT DISTINCT ?q WHERE { resource:Q516950 property:P26 ?q . ?q rdf:type ontology:Q502895 }
André Beaudin
action filter_type
action find
entity André Beaudin
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'André Beaudin']
SELECT DISTINCT ?q WHERE { resource:André_Beaudin property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3506034
SYSTEM
Suzanne Roger
Q3506034
(c(Q502895),P26,Q516950)
action filter_type
action find
entity Q516950
relation P26
type Q502895
France [ANSWER] is married to André Beaudin
[{'concept': 'Q502895'}, 'P26', 'Q516950']
SELECT DISTINCT ?q WHERE { resource:Q516950 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Suzanne Roger
France Suzanne Roger is married to André Beaudin
Suzanne Roger
action filter_type
action find
entity André Beaudin
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'André Beaudin']
SELECT DISTINCT ?q WHERE { resource:André_Beaudin property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1098286
P17
Q15617994
USER
Which administrative territory is Dommartin present in ?
(Q1098286,P17,c(Q15617994))
action filter_type
action find
entity Q1098286
relation P17
type Q15617994
['Q1098286', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1098286 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Dommartin
action filter_type
action find
entity Dommartin
relation country
type designation for an administrative territorial entity
['Dommartin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dommartin property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1098286,P17,c(Q15617994))
action filter_type
action find
entity Q1098286
relation P17
type Q15617994
Dommartin is in [ANSWER]
['Q1098286', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1098286 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
France
Dommartin is in France
France
action filter_type
action find
entity Dommartin
relation country
type designation for an administrative territorial entity
['Dommartin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dommartin property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26604514
Q15617994
USER
And how about Linton House?
(Q26604514,P17,c(Q15617994))
action filter_type
action find
entity Q26604514
relation P17
type Q15617994
['Q26604514', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q26604514 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Linton House
action filter_type
action find
entity Linton House
relation country
type designation for an administrative territorial entity
['Linton House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Linton_House property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q26604514,P17,c(Q15617994))
action filter_type
action find
entity Q26604514
relation P17
type Q15617994
[ANSWER]
['Q26604514', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q26604514 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Linton House
relation country
type designation for an administrative territorial entity
['Linton House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Linton_House property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q22612 Q38
P530
Q15617994
USER
Does United Kingdom have diplomatic associations with San Nazzaro Sesia and Italy ?
(Q145,P530,Q22612) (Q145,P530,Q38)
action is_in
entity Q145
action intersection
action find_reverse
entity Q22612
relation P530
action find_reverse
entity Q38
relation P530
['Q145', 'P530', 'Q22612'] ['Q145', 'P530', 'Q38']
ASK WHERE { resource:Q145 property:P530 resource:Q38 . resource:Q145 property:P530 resource:Q22612 }
United Kingdom San Nazzaro Sesia Italy
action is_in
entity United Kingdom
action intersection
action find_reverse
entity San Nazzaro Sesia
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'San Nazzaro Sesia'] ['United Kingdom', 'diplomatic relation', 'Italy']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Italy . resource:United_Kingdom property:diplomatic_relation resource:San_Nazzaro_Sesia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q145,P530,Q22612) (Q145,P530,Q38)
action is_in
entity Q145
action intersection
action find_reverse
entity Q22612
relation P530
action find_reverse
entity Q38
relation P530
[ANSWER]
['Q145', 'P530', 'Q22612'] ['Q145', 'P530', 'Q38']
ASK WHERE { resource:Q145 property:P530 resource:Q38 . resource:Q145 property:P530 resource:Q22612 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity San Nazzaro Sesia
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'San Nazzaro Sesia'] ['United Kingdom', 'diplomatic relation', 'Italy']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Italy . resource:United_Kingdom property:diplomatic_relation resource:San_Nazzaro_Sesia }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with around 43 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 43
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?j = 43 ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { ?h property:P530 ?x . ?h rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?h } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?j = 43 ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { ?h property:diplomatic_relation ?x . ?h rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q40 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 43
[ANSWERS] have diplomatic relations with around 43 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?j = 43 ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { ?h property:P530 ?x . ?h rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?h } }
Austria Denmark Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with around 43 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?j = 43 ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { ?h property:diplomatic_relation ?x . ?h rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q16 Q40
P47
Q1048835
USER
Which political territories are adjacent to Denmark, Canada and Austria ?
(Q35,P47,c(Q1048835)) (Q16,P47,c(Q1048835)) (Q40,P47,c(Q1048835))
action union
action filter_type
action find
entity Q35
relation P47
type Q1048835
action filter_type
action find
entity Q16
relation P47
type Q1048835
action filter_type
action find
entity Q40
relation P47
type Q1048835
['Q35', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?v property:P47 ?m . VALUES ( ?v ) { ( resource:Q35 ) ( resource:Q16 ) } }
Denmark Canada Austria
action union
action filter_type
action find
entity Denmark
relation shares border with
type political territorial entity
action filter_type
action find
entity Canada
relation shares border with
type political territorial entity
action filter_type
action find
entity Austria
relation shares border with
type political territorial entity
['Denmark', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?v property:shares_border_with ?m . VALUES ( ?v ) { ( resource:Denmark ) ( resource:Canada ) } }
[]
political territorial entity
Q183 Q183 Q34617
SYSTEM
Saint Pierre and Miquelon for 3rd, Germany for 1st, 2nd
Q183 Q4969463 Q38610 Q34617 Q183
(Q35,P47,c(Q1048835)) (Q16,P47,c(Q1048835)) (Q40,P47,c(Q1048835))
action union
action filter_type
action find
entity Q35
relation P47
type Q1048835
action filter_type
action find
entity Q16
relation P47
type Q1048835
action filter_type
action find
entity Q40
relation P47
type Q1048835
[ANSWERS]
['Q35', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?v property:P47 ?m . VALUES ( ?v ) { ( resource:Q35 ) ( resource:Q16 ) } }
Germany British Arctic Territories Dominion of Newfoundland Saint Pierre and Miquelon Germany
Germany, Germany and Saint Pierre and Miquelon are adjacent to Denmark, Canada and Austria
Germany Germany Saint Pierre and Miquelon
action union
action filter_type
action find
entity Denmark
relation shares border with
type political territorial entity
action filter_type
action find
entity Canada
relation shares border with
type political territorial entity
action filter_type
action find
entity Austria
relation shares border with
type political territorial entity
['Denmark', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?v property:shares_border_with ?m . VALUES ( ?v ) { ( resource:Denmark ) ( resource:Canada ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P137
Q170584
USER
Which project can be described as service operator of Germany ?
(c(Q170584),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q170584
[{'concept': 'Q170584'}, 'P137', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P137 resource:Q183 . ?m rdf:type ontology:Q170584 }
Germany
action filter_type
action find_reverse
entity Germany
relation operator
type project
[{'concept': 'project'}, 'operator', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:operator resource:Germany . ?m rdf:type ontology:project }
[]
project
Q700996
SYSTEM
Stuttgart 21
Q700996
(c(Q170584),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q170584
[ANSWER] can be described as service operator of Germany
[{'concept': 'Q170584'}, 'P137', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P137 resource:Q183 . ?m rdf:type ontology:Q170584 }
Stuttgart 21
Stuttgart 21 can be described as service operator of Germany
Stuttgart 21
action filter_type
action find_reverse
entity Germany
relation operator
type project
[{'concept': 'project'}, 'operator', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:operator resource:Germany . ?m rdf:type ontology:project }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q700996
P921
Q15416
USER
Which television program is that project a main subject of ?
(c(Q15416),P921,Q700996)
action filter_type
action find_reverse
entity Q700996
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q700996']
SELECT DISTINCT ?o WHERE { ?o property:P921 resource:Q700996 . ?o rdf:type ontology:Q15416 }
Stuttgart 21
action filter_type
action find_reverse
entity Stuttgart 21
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Stuttgart 21']
SELECT DISTINCT ?o WHERE { ?o property:main_subject resource:Stuttgart_21 . ?o rdf:type ontology:television_program }
[]
television program
Q21041342
SYSTEM
Tatort: Der Inder
Q21041342
(c(Q15416),P921,Q700996)
action filter_type
action find_reverse
entity Q700996
relation P921
type Q15416
[ANSWER] is that project a main subject of
[{'concept': 'Q15416'}, 'P921', 'Q700996']
SELECT DISTINCT ?o WHERE { ?o property:P921 resource:Q700996 . ?o rdf:type ontology:Q15416 }
Tatort: Der Inder
Tatort: Der Inder is that project a main subject of
Tatort: Der Inder
action filter_type
action find_reverse
entity Stuttgart 21
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'Stuttgart 21']
SELECT DISTINCT ?o WHERE { ?o property:main_subject resource:Stuttgart_21 . ?o rdf:type ontology:television_program }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21041342 Q4448320 Q183
P495
Q1048835
USER
Is Sychivka and Germany a country of origin of Q21041342 ?
(Q21041342,P495,Q4448320) (Q21041342,P495,Q183)
action is_in
entity Q21041342
action intersection
action find_reverse
entity Q4448320
relation P495
action find_reverse
entity Q183
relation P495
['Q21041342', 'P495', 'Q4448320'] ['Q21041342', 'P495', 'Q183']
ASK WHERE { resource:Q21041342 property:P495 resource:Q183 . resource:Q21041342 property:P495 resource:Q4448320 }
Tatort: Der Inder Sychivka Germany
action is_in
entity Tatort: Der Inder
action intersection
action find_reverse
entity Sychivka
relation country of origin
action find_reverse
entity Germany
relation country of origin
['Tatort: Der Inder', 'country of origin', 'Sychivka'] ['Tatort: Der Inder', 'country of origin', 'Germany']
ASK WHERE { resource:Tatort:_Der_Inder property:country_of_origin resource:Germany . resource:Tatort:_Der_Inder property:country_of_origin resource:Sychivka }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q21041342,P495,Q4448320) (Q21041342,P495,Q183)
action is_in
entity Q21041342
action intersection
action find_reverse
entity Q4448320
relation P495
action find_reverse
entity Q183
relation P495
[ANSWER]
['Q21041342', 'P495', 'Q4448320'] ['Q21041342', 'P495', 'Q183']
ASK WHERE { resource:Q21041342 property:P495 resource:Q183 . resource:Q21041342 property:P495 resource:Q4448320 }
NO and YES respectively
action is_in
entity Tatort: Der Inder
action intersection
action find_reverse
entity Sychivka
relation country of origin
action find_reverse
entity Germany
relation country of origin
['Tatort: Der Inder', 'country of origin', 'Sychivka'] ['Tatort: Der Inder', 'country of origin', 'Germany']
ASK WHERE { resource:Tatort:_Der_Inder property:country_of_origin resource:Germany . resource:Tatort:_Der_Inder property:country_of_origin resource:Sychivka }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q40 Q1741
P36
Q56061
USER
Is Vienna called the capital of Austria ?
(Q40,P36,Q1741)
action is_in
entity Q1741
action find
entity Q40
relation P36
['Q40', 'P36', 'Q1741']
ASK WHERE { resource:Q40 property:P36 resource:Q1741 }
Austria Vienna
action is_in
entity Vienna
action find
entity Austria
relation capital
['Austria', 'capital', 'Vienna']
ASK WHERE { resource:Austria property:capital resource:Vienna }
[]
administrative territorial entity
SYSTEM
YES
(Q40,P36,Q1741)
action is_in
entity Q1741
action find
entity Q40
relation P36
[ANSWER]
['Q40', 'P36', 'Q1741']
ASK WHERE { resource:Q40 property:P36 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity Austria
relation capital
['Austria', 'capital', 'Vienna']
ASK WHERE { resource:Austria property:capital resource:Vienna }
[]