Simple Question (Direct)
Simple Question
Q7496790
P106
Q12737077
USER
What does Shim Dong-Woon do for a living ?
(Q7496790,P106,c(Q12737077))
action filter_type
action find
entity Q7496790
relation P106
type Q12737077
['Q7496790', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q7496790 property:P106 ?v }
Shim Dong-Woon
action filter_type
action find
entity Shim Dong-Woon
relation occupation
type occupation
['Shim Dong-Woon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Shim_Dong-Woon property:occupation ?v }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7496790,P106,c(Q12737077))
action filter_type
action find
entity Q7496790
relation P106
type Q12737077
Shim Dong-Woon does for a living as [ANSWER]
['Q7496790', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q7496790 property:P106 ?v }
association football player
Shim Dong-Woon does for a living as association football player
association football player
action filter_type
action find
entity Shim Dong-Woon
relation occupation
type occupation
['Shim Dong-Woon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Shim_Dong-Woon property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7496790
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q7496790
relation P19
type Q15617994
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q7496790 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Shim Dong-Woon
action filter_type
action find
entity Shim Dong-Woon
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Shim_Dong-Woon property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q7496790
relation P19
type Q15617994
[ANSWER] is the place of birth of that person
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q7496790 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
South Korea
South Korea is the place of birth of that person
South Korea
action filter_type
action find
entity Shim Dong-Woon
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Shim_Dong-Woon property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
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 74 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 74
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { ?c property:P530 ?s . ?c rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?n = 74 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 74
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { ?c property:diplomatic_relation ?s . ?c rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?n = 74 ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 74
[ANSWERS] have diplomatic relations with around 74 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { ?c property:P530 ?s . ?c rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?n = 74 ) }
Australia Canada
Australia and Canada have diplomatic relations with around 74 administrative territories
Australia Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 74
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { ?c property:diplomatic_relation ?s . ?c rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?n = 74 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q408 Q16
P463
Q874405
USER
What were Australia and Canada a member of ?
(Q408,P463,c(Q874405)) (Q16,P463,c(Q874405))
action union
action filter_type
action find
entity Q408
relation P463
type Q874405
action filter_type
action find
entity Q16
relation P463
type Q874405
['Q408', 'P463', {'concept': 'Q874405'}] ['Q16', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { { resource:Q408 property:P463 ?a . ?a rdf:type ontology:Q874405 } UNION { resource:Q16 property:P463 ?a . ?a rdf:type ontology:Q874405 } }
Australia Canada
action union
action filter_type
action find
entity Australia
relation member of
type social group
action filter_type
action find
entity Canada
relation member of
type social group
['Australia', 'member of', {'concept': 'social group'}] ['Canada', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { { resource:Australia property:member_of ?a . ?a rdf:type ontology:social_group } UNION { resource:Canada property:member_of ?a . ?a rdf:type ontology:social_group } }
[]
social group
Q38130 Q295875 Q782942
SYSTEM
League of Nations, ANZUS, Australia Group
Q295875 Q782942 Q38130 Q782942
(Q408,P463,c(Q874405)) (Q16,P463,c(Q874405))
action union
action filter_type
action find
entity Q408
relation P463
type Q874405
action filter_type
action find
entity Q16
relation P463
type Q874405
The [ANSWERS] were Australia and Canada a member of
['Q408', 'P463', {'concept': 'Q874405'}] ['Q16', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { { resource:Q408 property:P463 ?a . ?a rdf:type ontology:Q874405 } UNION { resource:Q16 property:P463 ?a . ?a rdf:type ontology:Q874405 } }
ANZUS Australia Group League of Nations Australia Group
The League of Nations, ANZUS and Australia Group were Australia and Canada a member of
League of Nations ANZUS Australia Group
action union
action filter_type
action find
entity Australia
relation member of
type social group
action filter_type
action find
entity Canada
relation member of
type social group
['Australia', 'member of', {'concept': 'social group'}] ['Canada', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { { resource:Australia property:member_of ?a . ?a rdf:type ontology:social_group } UNION { resource:Canada property:member_of ?a . ?a rdf:type ontology:social_group } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38130
P108
Q502895
USER
Which person has that social group as its employer ?
(c(Q502895),P108,Q38130)
action filter_type
action find_reverse
entity Q38130
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q38130']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q38130 . ?n rdf:type ontology:Q502895 }
League of Nations
action filter_type
action find_reverse
entity League of Nations
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'League of Nations']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:League_of_Nations . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q295875
SYSTEM
Did you mean ANZUS ?
Q38130 Q295875 Q782942
(c(Q502895),P108,Q38130) (c(Q502895),P108,Q295875) (c(Q502895),P108,Q782942)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q38130'] [{'concept': 'Q502895'}, 'P108', 'Q295875'] [{'concept': 'Q502895'}, 'P108', 'Q782942']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q38130 . ?n rdf:type ontology:Q502895 }
League of Nations ANZUS Australia Group
Did you mean ANZUS ?
ANZUS
[{'concept': 'common name'}, 'employer', 'League of Nations'] [{'concept': 'common name'}, 'employer', 'ANZUS'] [{'concept': 'common name'}, 'employer', 'Australia Group']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:League_of_Nations . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant League of Nations. Could you tell me the answer for that?
(c(Q502895),P108,Q38130)
Q38130
[{'concept': 'Q502895'}, 'P108', 'Q38130']
[{'concept': 'common name'}, 'employer', 'League of Nations']
[]
Q2375777
SYSTEM
Maurice Baumont
Q2375777
(c(Q502895),P108,Q38130)
action filter_type
action find_reverse
entity Q38130
relation P108
type Q502895
[ANSWER] has that social group as its employer
[{'concept': 'Q502895'}, 'P108', 'Q38130']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q38130 . ?n rdf:type ontology:Q502895 }
Maurice Baumont
Maurice Baumont has that social group as its employer
Maurice Baumont
action filter_type
action find_reverse
entity League of Nations
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'League of Nations']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:League_of_Nations . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2375777
P20
Q56061
USER
How many administrative territories did the expiration of Maurice Baumont occur ?
(Q2375777,P20,c(Q56061))
action count
action filter_type
action find
entity Q2375777
relation P20
type Q56061
['Q2375777', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q2375777 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Maurice Baumont
action count
action filter_type
action find
entity Maurice Baumont
relation place of death
type administrative territorial entity
['Maurice Baumont', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Maurice_Baumont property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q2375777,P20,c(Q56061))
action count
action filter_type
action find
entity Q2375777
relation P20
type Q56061
[ANSWER]
['Q2375777', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q2375777 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Paris
1
action count
action filter_type
action find
entity Maurice Baumont
relation place of death
type administrative territorial entity
['Maurice Baumont', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Maurice_Baumont property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1423591
Q56061
USER
And what about Wilhelm Pohl?
(Q1423591,P20,c(Q56061))
action count
action filter_type
action find
entity Q1423591
relation P20
type Q56061
['Q1423591', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q1423591 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Wilhelm Pohl
action count
action filter_type
action find
entity Wilhelm Pohl
relation place of death
type administrative territorial entity
['Wilhelm Pohl', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Wilhelm_Pohl property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q1423591,P20,c(Q56061))
action count
action filter_type
action find
entity Q1423591
relation P20
type Q56061
[ANSWER]
['Q1423591', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q1423591 property:P20 ?o . ?o rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Wilhelm Pohl
relation place of death
type administrative territorial entity
['Wilhelm Pohl', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Wilhelm_Pohl property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]