Simple Question (Direct)
Simple Question
Q27608031
P641
Q349
USER
Which sport was 2012 German Badminton Championships – Men's doubles a part of ?
(Q27608031,P641,c(Q349))
action filter_type
action find
entity Q27608031
relation P641
type Q349
['Q27608031', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q27608031 property:P641 ?u . ?u rdf:type ontology:Q349 }
2012 German Badminton Championships – Men's doubles
action filter_type
action find
entity 2012 German Badminton Championships – Men's doubles
relation sport
type sport
["2012 German Badminton Championships – Men's doubles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:2012_German_Badminton_Championships_–_Men's_doubles property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27608031,P641,c(Q349))
action filter_type
action find
entity Q27608031
relation P641
type Q349
[ANSWER] was 2012 German [ANSWER] Championships – Men's doubles a part of
['Q27608031', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q27608031 property:P641 ?u . ?u rdf:type ontology:Q349 }
badminton
Badminton was 2012 German Badminton Championships – Men's doubles a part of
badminton
action filter_type
action find
entity 2012 German Badminton Championships – Men's doubles
relation sport
type sport
["2012 German Badminton Championships – Men's doubles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:2012_German_Badminton_Championships_–_Men's_doubles property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27608031
P17
Q1048835
USER
Which political territory does 2012 German Badminton Championships – Men's doubles belong to ?
(Q27608031,P17,c(Q1048835))
action filter_type
action find
entity Q27608031
relation P17
type Q1048835
['Q27608031', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q27608031 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
2012 German Badminton Championships – Men's doubles
action filter_type
action find
entity 2012 German Badminton Championships – Men's doubles
relation country
type political territorial entity
["2012 German Badminton Championships – Men's doubles", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:2012_German_Badminton_Championships_–_Men's_doubles property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q27608031,P17,c(Q1048835))
action filter_type
action find
entity Q27608031
relation P17
type Q1048835
[ANSWER] does 2012 German Badminton Championships – Men's doubles belong to
['Q27608031', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q27608031 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany does 2012 German Badminton Championships – Men's doubles belong to
Germany
action filter_type
action find
entity 2012 German Badminton Championships – Men's doubles
relation country
type political territorial entity
["2012 German Badminton Championships – Men's doubles", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:2012_German_Badminton_Championships_–_Men's_doubles property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P108
Q502895
USER
Which people have that political territory as their employer ?
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q183 . ?g rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:Germany . ?g rdf:type ontology:common_name }
[]
common name
Q2514 Q57855 Q1492424
SYSTEM
Willy Brandt, Georg Friedrich Grotefend, Marieluise Deißmann-Merten
Q2514 Q57855 Q1492424
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[ANSWERS] have that political territory as their employer
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q183 . ?g rdf:type ontology:Q502895 }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten have that political territory as their employer
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:Germany . ?g rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q486972
USER
How many human settlements were that person born in ?
(Q2514,P19,c(Q486972))
['Q2514', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2514 property:Q1322263 ?z . ?z rdf:type ontology:Q486972 }
['Willy Brandt', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Willy_Brandt property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
human settlement
Quantitative|Count|Single entity type|Clarification
Q57855
SYSTEM
Did you mean Georg Friedrich Grotefend ?
(Q2514,P19,c(Q486972)) (Q57855,P19,c(Q486972)) (Q1492424,P19,c(Q486972))
[ANSWER]
['Q2514', 'P19', {'concept': 'Q486972'}] ['Q57855', 'P19', {'concept': 'Q486972'}] ['Q1492424', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2514 property:Q1322263 ?z . ?z rdf:type ontology:Q486972 }
Did you mean Georg Friedrich Grotefend ?
Georg Friedrich Grotefend
['Willy Brandt', 'place of birth', {'concept': 'human settlement'}] ['Georg Friedrich Grotefend', 'place of birth', {'concept': 'human settlement'}] ['Marieluise Deißmann-Merten', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Willy_Brandt property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Willy Brandt. Could you tell me the answer for that?
(Q2514,P19,c(Q486972))
Q2514
['Q2514', 'P19', {'concept': 'Q486972'}]
['Willy Brandt', 'place of birth', {'concept': 'human settlement'}]
[]
SYSTEM
1
Q2843
(Q2514,P19,c(Q486972))
[ANSWER]
['Q2514', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2514 property:Q1322263 ?z . ?z rdf:type ontology:Q486972 }
Lübeck
1
['Willy Brandt', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Willy_Brandt property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2514
P25
Q502895
USER
Which female person has a child named Willy Brandt ?
(Q2514,P25,c(Q502895))
action filter_type
action find
entity Q2514
relation P25
type Q502895
['Q2514', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2514 property:P25 ?z . ?z rdf:type ontology:Q502895 }
Willy Brandt
action filter_type
action find
entity Willy Brandt
relation mother
type common name
['Willy Brandt', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Willy_Brandt property:mother ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1903042
SYSTEM
Martha Frahm
Q1903042
(Q2514,P25,c(Q502895))
action filter_type
action find
entity Q2514
relation P25
type Q502895
And [ANSWER] has a child named Willy Brandt
['Q2514', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2514 property:P25 ?z . ?z rdf:type ontology:Q502895 }
Martha Frahm
And Martha Frahm has a child named Willy Brandt
Martha Frahm
action filter_type
action find
entity Willy Brandt
relation mother
type common name
['Willy Brandt', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Willy_Brandt property:mother ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11499520
Q502895
USER
And what about Atsuko-naishinnō?
(Q11499520,P25,c(Q502895))
action filter_type
action find
entity Q11499520
relation P25
type Q502895
['Q11499520', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q11499520 property:P25 ?j }
Atsuko-naishinnō
action filter_type
action find
entity Atsuko-naishinnō
relation mother
type common name
['Atsuko-naishinnō', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Atsuko-naishinnō property:mother ?j }
[]
common name
Q127411
SYSTEM
Fujiwara no Takaiko
Q127411
(Q11499520,P25,c(Q502895))
action filter_type
action find
entity Q11499520
relation P25
type Q502895
[ANSWER]
['Q11499520', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q11499520 property:P25 ?j }
Fujiwara no Takaiko
Fujiwara no Takaiko
action filter_type
action find
entity Atsuko-naishinnō
relation mother
type common name
['Atsuko-naishinnō', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Atsuko-naishinnō property:mother ?j }
[]