Simple Question (Direct)
Simple Question
Q98393
P20
Q515
USER
Where did the expiration of Horst Giese occur ?
(Q98393,P20,c(Q515))
action filter_type
action find
entity Q98393
relation P20
type Q515
['Q98393', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q98393 property:P20 ?u . ?u rdf:type ontology:Q515 }
Horst Giese
action filter_type
action find
entity Horst Giese
relation place of death
type city
['Horst Giese', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Horst_Giese property:place_of_death ?u . ?u rdf:type ontology:city }
[]
city
Q1711
SYSTEM
Potsdam
Q1711
(Q98393,P20,c(Q515))
action filter_type
action find
entity Q98393
relation P20
type Q515
The expiration of Horst Giese occurred in [ANSWER]
['Q98393', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q98393 property:P20 ?u . ?u rdf:type ontology:Q515 }
Potsdam
The expiration of Horst Giese occurred in Potsdam
Potsdam
action filter_type
action find
entity Horst Giese
relation place of death
type city
['Horst Giese', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Horst_Giese property:place_of_death ?u . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q98393
P21
Q290
USER
Which sex does that person possess ?
(Q1711,P21,c(Q290))
action filter_type
action find
entity Q98393
relation P21
type Q290
['Q1711', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q98393 property:P21 ?i . ?i rdf:type ontology:Q290 }
Horst Giese
action filter_type
action find
entity Horst Giese
relation gender
type sex
['Potsdam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Horst_Giese property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1711,P21,c(Q290))
action filter_type
action find
entity Q98393
relation P21
type Q290
That person possesses a [ANSWER]
['Q1711', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q98393 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Horst Giese
relation gender
type sex
['Potsdam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Horst_Giese property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q98393
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q98393
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q98393 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Horst Giese
action filter_type
action find
entity Horst Giese
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Horst_Giese property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16085
SYSTEM
Neuruppin
Q16085
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q98393
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q98393 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Neuruppin
Neuruppin is the birthplace of that person
Neuruppin
action filter_type
action find
entity Horst Giese
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Horst_Giese property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q98393
P27
Q1048835
USER
Which political territory is the native country of Horst Giese ?
(Q98393,P27,c(Q1048835))
action filter_type
action find
entity Q98393
relation P27
type Q1048835
['Q98393', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q98393 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Horst Giese
action filter_type
action find
entity Horst Giese
relation country of citizenship
type political territorial entity
['Horst Giese', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Horst_Giese property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q98393,P27,c(Q1048835))
action filter_type
action find
entity Q98393
relation P27
type Q1048835
The [ANSWER] is the native country of Horst Giese
['Q98393', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q98393 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Horst Giese
Germany
action filter_type
action find
entity Horst Giese
relation country of citizenship
type political territorial entity
['Horst Giese', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Horst_Giese property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27063411
Q1048835
USER
And also tell me about Mark Brownlee?
(Q27063411,P27,c(Q1048835))
action filter_type
action find
entity Q27063411
relation P27
type Q1048835
['Q27063411', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q27063411 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Mark Brownlee
action filter_type
action find
entity Mark Brownlee
relation country of citizenship
type political territorial entity
['Mark Brownlee', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Mark_Brownlee property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q27063411,P27,c(Q1048835))
action filter_type
action find
entity Q27063411
relation P27
type Q1048835
[ANSWER]
['Q27063411', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q27063411 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
New Zealand
New Zealand
action filter_type
action find
entity Mark Brownlee
relation country of citizenship
type political territorial entity
['Mark Brownlee', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Mark_Brownlee property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27063411
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q664)
action filter_type
action find_reverse
entity Q27063411
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q664']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q27063411 . ?a rdf:type ontology:Q502895 }
Mark Brownlee
action filter_type
action find_reverse
entity Mark Brownlee
relation father
type common name
[{'concept': 'common name'}, 'father', 'New Zealand']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Mark_Brownlee . ?a rdf:type ontology:common_name }
[]
common name
Q27058369
SYSTEM
Scott Brownlee
Q27058369
(c(Q502895),P22,Q664)
action filter_type
action find_reverse
entity Q27063411
relation P22
type Q502895
The offspring of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q664']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q27063411 . ?a rdf:type ontology:Q502895 }
Scott Brownlee
The offspring of that one is the Scott Brownlee
Scott Brownlee
action filter_type
action find_reverse
entity Mark Brownlee
relation father
type common name
[{'concept': 'common name'}, 'father', 'New Zealand']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Mark_Brownlee . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q27058369 Q7143759
P40
Q502895
USER
Does Pat McInally have that one as a child ?
(Q7143759,P40,Q27058369)
action is_in
entity Q7143759
action find
entity Q27058369
relation P40
['Q7143759', 'P40', 'Q27058369']
ASK WHERE { resource:Q27058369 property:P40 resource:Q7143759 }
Scott Brownlee Pat McInally
action is_in
entity Pat McInally
action find
entity Scott Brownlee
relation child
['Pat McInally', 'child', 'Scott Brownlee']
ASK WHERE { resource:Scott_Brownlee property:child resource:Pat_McInally }
[]
common name
SYSTEM
NO
(Q7143759,P40,Q27058369)
action is_in
entity Q7143759
action find
entity Q27058369
relation P40
[ANSWER]
['Q7143759', 'P40', 'Q27058369']
ASK WHERE { resource:Q27058369 property:P40 resource:Q7143759 }
No
action is_in
entity Pat McInally
action find
entity Scott Brownlee
relation child
['Pat McInally', 'child', 'Scott Brownlee']
ASK WHERE { resource:Scott_Brownlee property:child resource:Pat_McInally }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 2636 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2636
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?u = 2636 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?a } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2636
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?u = 2636 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?a } }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2636
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?u = 2636 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?a } }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2636
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { FILTER ( ?u = 2636 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P127
Q1048835 Q3947 Q43229
USER
Which political territories are the owners of max number of houses or organizations ?
(c(Q3947)|c(Q43229),P127,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
[[{'concept': 'Q3947'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q3947 ) ( ontology:Q43229 ) } . ?s rdf:type ?h } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:P127 ?a . ?a rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q3947 } UNION { ?a rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q43229 . ?t property:P127 ?a } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
[[{'concept': 'house'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:house ) ( ontology:organization ) } . ?s rdf:type ?h } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:owned_by ?a . ?a rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:house } UNION { ?a rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:organization . ?t property:owned_by ?a } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
[]
political territorial entity house organization
Q183
SYSTEM
Germany
Q183
(c(Q3947)|c(Q43229),P127,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
[ANSWER] is the owners of max number of houses or organizations
[[{'concept': 'Q3947'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q3947 ) ( ontology:Q43229 ) } . ?s rdf:type ?h } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:P127 ?a . ?a rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q3947 } UNION { ?a rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q43229 . ?t property:P127 ?a } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
Germany
Germany is the owners of max number of houses or organizations
Germany
action argmax
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
[[{'concept': 'house'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:house ) ( ontology:organization ) } . ?s rdf:type ?h } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:owned_by ?a . ?a rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:house } UNION { ?a rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:organization . ?t property:owned_by ?a } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories are known to have diplomatic connections with atmost 3 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?i ) WHERE { ?h property:P530 ?u . ?u rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?i <= 3 ) }
action count
action atmost
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 ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?i ) WHERE { ?h property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?i <= 3 ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?i ) WHERE { ?h property:P530 ?u . ?u rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?i <= 3 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action atmost
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 ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?i ) WHERE { ?h property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?i <= 3 ) }
[]