Simple Question (Direct)
Simple Question
Q10558931
P21
Q290
USER
What is the sex of Cho Min-woo ?
(Q10558931,P21,c(Q290))
action filter_type
action find
entity Q10558931
relation P21
type Q290
['Q10558931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q10558931 property:P21 ?f . ?f rdf:type ontology:Q290 }
Cho Min-woo
action filter_type
action find
entity Cho Min-woo
relation gender
type sex
['Cho Min-woo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Cho_Min-woo property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10558931,P21,c(Q290))
action filter_type
action find
entity Q10558931
relation P21
type Q290
The sex of Cho Min-woo is the [ANSWER]
['Q10558931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q10558931 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Cho Min-woo is the male
male
action filter_type
action find
entity Cho Min-woo
relation gender
type sex
['Cho Min-woo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Cho_Min-woo property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Who has a job as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has a job as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has a job as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:occupation resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24877298
P19
Q486972
USER
Which human settlement was that person born at ?
(Q24877298,P19,c(Q486972))
action filter_type
action find
entity Q24877298
relation P19
type Q486972
['Q24877298', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q24877298 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Antonín Straka
action filter_type
action find
entity Antonín Straka
relation place of birth
type human settlement
['Antonín Straka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Antonín_Straka property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q888865
SYSTEM
Bobrová
Q888865
(Q24877298,P19,c(Q486972))
action filter_type
action find
entity Q24877298
relation P19
type Q486972
That person was born in [ANSWER]
['Q24877298', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q24877298 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Bobrová
That person was born in Bobrová
Bobrová
action filter_type
action find
entity Antonín Straka
relation place of birth
type human settlement
['Antonín Straka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Antonín_Straka property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10558931
P27
Q15617994
USER
Which administrative territory is Cho Min-woo a civilian of ?
(Q10558931,P27,c(Q15617994))
action filter_type
action find
entity Q10558931
relation P27
type Q15617994
['Q10558931', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q10558931 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Cho Min-woo
action filter_type
action find
entity Cho Min-woo
relation country of citizenship
type designation for an administrative territorial entity
['Cho Min-woo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Cho_Min-woo property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q10558931,P27,c(Q15617994))
action filter_type
action find
entity Q10558931
relation P27
type Q15617994
[ANSWER] is Cho Min-woo a civilian of
['Q10558931', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q10558931 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
South Korea
South Korea is Cho Min-woo a civilian of
South Korea
action filter_type
action find
entity Cho Min-woo
relation country of citizenship
type designation for an administrative territorial entity
['Cho Min-woo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Cho_Min-woo property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21176573
Q15617994
USER
And also tell me about Thora Grahl-Nielsen?
(Q21176573,P27,c(Q15617994))
action filter_type
action find
entity Q21176573
relation P27
type Q15617994
['Q21176573', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q21176573 property:P27 ?h }
Thora Grahl-Nielsen
action filter_type
action find
entity Thora Grahl-Nielsen
relation country of citizenship
type designation for an administrative territorial entity
['Thora Grahl-Nielsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Thora_Grahl-Nielsen property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q21176573,P27,c(Q15617994))
action filter_type
action find
entity Q21176573
relation P27
type Q15617994
[ANSWER]
['Q21176573', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q21176573 property:P27 ?h }
Norway
Norway
action filter_type
action find
entity Thora Grahl-Nielsen
relation country of citizenship
type designation for an administrative territorial entity
['Thora Grahl-Nielsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Thora_Grahl-Nielsen property:country_of_citizenship ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 32 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?z ) WHERE { ?k rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?k property:P530 ?y } GROUP BY ?k } . FILTER ( ?z = 32 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?z ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?y } GROUP BY ?k } . FILTER ( ?z = 32 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?z ) WHERE { ?k rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 . ?k property:P530 ?y } GROUP BY ?k } . FILTER ( ?z = 32 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?z ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?y } GROUP BY ?k } . FILTER ( ?z = 32 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P138
Q8063
USER
Which rock comes from Norway ?
(c(Q8063),P138,Q20)
action filter_type
action find_reverse
entity Q20
relation P138
type Q8063
[{'concept': 'Q8063'}, 'P138', 'Q20']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q20 . ?v rdf:type ontology:Q8063 }
Norway
action filter_type
action find_reverse
entity Norway
relation named after
type rock
[{'concept': 'rock'}, 'named after', 'Norway']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Norway . ?v rdf:type ontology:rock }
[]
rock
Q1468713
SYSTEM
norite
Q1468713
(c(Q8063),P138,Q20)
action filter_type
action find_reverse
entity Q20
relation P138
type Q8063
[ANSWER] comes from Norway
[{'concept': 'Q8063'}, 'P138', 'Q20']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q20 . ?v rdf:type ontology:Q8063 }
norite
Norite comes from Norway
norite
action filter_type
action find_reverse
entity Norway
relation named after
type rock
[{'concept': 'rock'}, 'named after', 'Norway']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Norway . ?v rdf:type ontology:rock }
[]