Simple Question (Direct)
Simple Question
Q2422714
P27
Q1048835
USER
Which political territory is Thomas Brunner a civilian of ?
(Q2422714,P27,c(Q1048835))
action filter_type
action find
entity Q2422714
relation P27
type Q1048835
['Q2422714', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q2422714 property:P27 ?m }
Thomas Brunner
action filter_type
action find
entity Thomas Brunner
relation country of citizenship
type political territorial entity
['Thomas Brunner', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Thomas_Brunner property:country_of_citizenship ?m }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2422714,P27,c(Q1048835))
action filter_type
action find
entity Q2422714
relation P27
type Q1048835
[ANSWER] is Thomas Brunner a civilian of
['Q2422714', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q2422714 property:P27 ?m }
Germany
Germany is Thomas Brunner a civilian of
Germany
action filter_type
action find
entity Thomas Brunner
relation country of citizenship
type political territorial entity
['Thomas Brunner', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Thomas_Brunner property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2422714
P19
Q515
USER
Where was that person born ?
(Q183,P19,c(Q515))
action filter_type
action find
entity Q2422714
relation P19
type Q515
['Q183', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q2422714 property:P19 ?m . ?m rdf:type ontology:Q515 }
Thomas Brunner
action filter_type
action find
entity Thomas Brunner
relation place of birth
type city
['Germany', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Thomas_Brunner property:place_of_birth ?m . ?m rdf:type ontology:city }
[]
city
Q3974
SYSTEM
Landshut
Q3974
(Q183,P19,c(Q515))
action filter_type
action find
entity Q2422714
relation P19
type Q515
That person was born in [ANSWER]
['Q183', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q2422714 property:P19 ?m . ?m rdf:type ontology:Q515 }
Landshut
That person was born in Landshut
Landshut
action filter_type
action find
entity Thomas Brunner
relation place of birth
type city
['Germany', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Thomas_Brunner property:place_of_birth ?m . ?m rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3974
P937
Q502895
USER
Which people have that city as work location ?
(c(Q502895),P937,Q3974)
action filter_type
action find_reverse
entity Q3974
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q3974']
SELECT DISTINCT ?v WHERE { ?v property:P937 resource:Q3974 . ?v rdf:type ontology:Q502895 }
Landshut
action filter_type
action find_reverse
entity Landshut
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Landshut']
SELECT DISTINCT ?v WHERE { ?v property:work_location resource:Landshut . ?v rdf:type ontology:common_name }
[]
common name
Q64049 Q76638 Q1395221
SYSTEM
Friedrich Tiedemann, Gregor Strasser, Thomas Gambke
Q1928561 Q1395221 Q2128046 Q76638 Q1709195 Q1669811 Q1608484 Q64049 Q3783164 Q78745 Q1223385 Q15448526 Q1649609 Q1098531 Q500414 Q1255710 Q106834 Q1513505 Q14916779 Q1706513 Q2425371 Q896372 Q584816 Q1819280 Q1579185
(c(Q502895),P937,Q3974)
action filter_type
action find_reverse
entity Q3974
relation P937
type Q502895
[ANSWERS] have that city as work location
[{'concept': 'Q502895'}, 'P937', 'Q3974']
SELECT DISTINCT ?v WHERE { ?v property:P937 resource:Q3974 . ?v rdf:type ontology:Q502895 }
Michael Meyer Thomas Gambke Rainer Christlein Gregor Strasser Rita Falk Otto Marschall Herbert Huber Friedrich Tiedemann Mair von Landshut Julius Hermann Schultes Dietmar Franzke Ludwig Renner Matthäus Fingerlos Claus Gigl Andreas Schlittmeier Meinhard Prill Mirjam Pressler Joseph Milbiller Helmut Radlmeier Joseph Mussinan Thomas Keyßner Hans Leinberger Erich Kühnhackl Leonhard Schmidtner Hans Dietl
Friedrich Tiedemann, Gregor Strasser and Thomas Gambke have that city as work location
Friedrich Tiedemann Gregor Strasser Thomas Gambke
action filter_type
action find_reverse
entity Landshut
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Landshut']
SELECT DISTINCT ?v WHERE { ?v property:work_location resource:Landshut . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1395221
P710
Q1499496
USER
Which German presidential elections were that person a participant of ?
(c(Q1499496),P710,Q1395221)
action filter_type
action find_reverse
entity Q1395221
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q1395221']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1395221 . ?x rdf:type ontology:Q1499496 }
Thomas Gambke
action filter_type
action find_reverse
entity Thomas Gambke
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Thomas Gambke']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Thomas_Gambke . ?x rdf:type ontology:German_presidential_election }
[]
German presidential election
Clarification for simple ques.
Q64049
SYSTEM
Did you mean Friedrich Tiedemann ?
Q64049 Q76638 Q1395221
(c(Q1499496),P710,Q64049) (c(Q1499496),P710,Q76638) (c(Q1499496),P710,Q1395221)
[ANSWER]
[{'concept': 'Q1499496'}, 'P710', 'Q64049'] [{'concept': 'Q1499496'}, 'P710', 'Q76638'] [{'concept': 'Q1499496'}, 'P710', 'Q1395221']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1395221 . ?x rdf:type ontology:Q1499496 }
Friedrich Tiedemann Gregor Strasser Thomas Gambke
Did you mean Friedrich Tiedemann ?
Friedrich Tiedemann
[{'concept': 'German presidential election'}, 'participant', 'Friedrich Tiedemann'] [{'concept': 'German presidential election'}, 'participant', 'Gregor Strasser'] [{'concept': 'German presidential election'}, 'participant', 'Thomas Gambke']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Thomas_Gambke . ?x rdf:type ontology:German_presidential_election }
[]
Simple Question (Coreferenced)
USER
No, I meant Thomas Gambke. Could you tell me the answer for that?
(c(Q1499496),P710,Q1395221)
Q1395221
[{'concept': 'Q1499496'}, 'P710', 'Q1395221']
[{'concept': 'German presidential election'}, 'participant', 'Thomas Gambke']
[]
Q707063 Q670933
SYSTEM
German presidential election, 2010, German presidential election, 2012
Q707063 Q670933
(c(Q1499496),P710,Q1395221)
action filter_type
action find_reverse
entity Q1395221
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q1395221']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1395221 . ?x rdf:type ontology:Q1499496 }
German presidential election, 2010 German presidential election, 2012
German presidential election, 2010 and German presidential election, 2012 were that person a participant of
German presidential election, 2010 German presidential election, 2012
action filter_type
action find_reverse
entity Thomas Gambke
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Thomas Gambke']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Thomas_Gambke . ?x rdf:type ontology:German_presidential_election }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6988489
P1344
Q502895
USER
Did Neil E. Schore take part in those German presidential elections ?
(Q6988489,P1344,Q707063) (Q6988489,P1344,Q670933)
action is_in
entity prev_answer
action find
entity Q6988489
relation P1344
['Q6988489', 'P1344', 'Q707063'] ['Q6988489', 'P1344', 'Q670933']
ASK WHERE { resource:Q6988489 property:P1344 ?t . VALUES ( ?t ) { ( resource:Q707063 ) ( resource:Q670933 ) } }
Neil E. Schore
action is_in
entity prev_answer
action find
entity Neil E. Schore
relation participant of
['Neil E. Schore', 'participant of', 'German presidential election, 2010'] ['Neil E. Schore', 'participant of', 'German presidential election, 2012']
ASK WHERE { resource:Neil_E._Schore property:participant_of ?t . VALUES ( ?t ) { ( resource:German_presidential_election,_2010 ) ( resource:German_presidential_election,_2012 ) } }
[]
common name
SYSTEM
NO
(Q6988489,P1344,Q707063) (Q6988489,P1344,Q670933)
action is_in
entity prev_answer
action find
entity Q6988489
relation P1344
[ANSWER]
['Q6988489', 'P1344', 'Q707063'] ['Q6988489', 'P1344', 'Q670933']
ASK WHERE { resource:Q6988489 property:P1344 ?t . VALUES ( ?t ) { ( resource:Q707063 ) ( resource:Q670933 ) } }
No
action is_in
entity prev_answer
action find
entity Neil E. Schore
relation participant of
['Neil E. Schore', 'participant of', 'German presidential election, 2010'] ['Neil E. Schore', 'participant of', 'German presidential election, 2012']
ASK WHERE { resource:Neil_E._Schore property:participant_of ?t . VALUES ( ?t ) { ( resource:German_presidential_election,_2010 ) ( resource:German_presidential_election,_2012 ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q7725634 Q41176
USER
Which people are max number of literary works and buildings dedicated to ?
(c(Q7725634)|c(Q41176),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
[[{'concept': 'Q7725634'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?o WHERE { { ?c property:P825 ?o . ?c rdf:type ontology:Q7725634 . ?o rdf:type ontology:Q502895 } UNION { ?c property:P825 ?o . ?o rdf:type ontology:Q502895 . ?c rdf:type ontology:Q41176 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q41176 ) } . ?w rdf:type ?b } GROUP BY ?h } . FILTER ( ?z = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
[[{'concept': 'literary work'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?o WHERE { { ?c property:dedicated_to ?o . ?c rdf:type ontology:literary_work . ?o rdf:type ontology:common_name } UNION { ?c property:dedicated_to ?o . ?o rdf:type ontology:common_name . ?c rdf:type ontology:building } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:building ) } . ?w rdf:type ?b } GROUP BY ?h } . FILTER ( ?z = ?y ) }
[]
common name literary work building
Q317997
SYSTEM
Ōjin
Q317997
(c(Q7725634)|c(Q41176),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
Max number of literary works and buildings are located [ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?o WHERE { { ?c property:P825 ?o . ?c rdf:type ontology:Q7725634 . ?o rdf:type ontology:Q502895 } UNION { ?c property:P825 ?o . ?o rdf:type ontology:Q502895 . ?c rdf:type ontology:Q41176 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q41176 ) } . ?w rdf:type ?b } GROUP BY ?h } . FILTER ( ?z = ?y ) }
Ōjin
Max number of literary works and buildings are located Ōjin
Ōjin
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
[[{'concept': 'literary work'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?o WHERE { { ?c property:dedicated_to ?o . ?c rdf:type ontology:literary_work . ?o rdf:type ontology:common_name } UNION { ?c property:dedicated_to ?o . ?o rdf:type ontology:common_name . ?c rdf:type ontology:building } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:building ) } . ?w rdf:type ?b } GROUP BY ?h } . FILTER ( ?z = ?y ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q317997 Q6920013
P27
Q15617994
USER
Is that person an inhabitant of Mount Carmel Area School District ?
(Q317997,P27,Q6920013)
action is_in
entity Q6920013
action find
entity Q317997
relation P27
['Q317997', 'P27', 'Q6920013']
ASK WHERE { resource:Q317997 property:P27 resource:Q6920013 }
Ōjin Mount Carmel Area School District
action is_in
entity Mount Carmel Area School District
action find
entity Ōjin
relation country of citizenship
['Ōjin', 'country of citizenship', 'Mount Carmel Area School District']
ASK WHERE { resource:Ōjin property:country_of_citizenship resource:Mount_Carmel_Area_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q317997,P27,Q6920013)
action is_in
entity Q6920013
action find
entity Q317997
relation P27
[ANSWER]
['Q317997', 'P27', 'Q6920013']
ASK WHERE { resource:Q317997 property:P27 resource:Q6920013 }
No
action is_in
entity Mount Carmel Area School District
action find
entity Ōjin
relation country of citizenship
['Ōjin', 'country of citizenship', 'Mount Carmel Area School District']
ASK WHERE { resource:Ōjin property:country_of_citizenship resource:Mount_Carmel_Area_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q7042619
P530
Q15617994
USER
Does Nkoranza South District have diplomatic relations with Germany ?
(Q183,P530,Q7042619)
action is_in
entity Q7042619
action find
entity Q183
relation P530
['Q183', 'P530', 'Q7042619']
ASK WHERE { resource:Q183 property:P530 resource:Q7042619 }
Germany Nkoranza South District
action is_in
entity Nkoranza South District
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Nkoranza South District']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Nkoranza_South_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q7042619)
action is_in
entity Q7042619
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q7042619']
ASK WHERE { resource:Q183 property:P530 resource:Q7042619 }
No
action is_in
entity Nkoranza South District
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Nkoranza South District']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Nkoranza_South_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317997
P22
Q502895
USER
Who was the dad of Ōjin ?
(Q317997,P22,c(Q502895))
action filter_type
action find
entity Q317997
relation P22
type Q502895
['Q317997', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q317997 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Ōjin
action filter_type
action find
entity Ōjin
relation father
type common name
['Ōjin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ōjin property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q179971
SYSTEM
Chūai
Q179971
(Q317997,P22,c(Q502895))
action filter_type
action find
entity Q317997
relation P22
type Q502895
The dad of Ōjin was also [ANSWER]
['Q317997', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q317997 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Chūai
The dad of Ōjin was also Chūai
Chūai
action filter_type
action find
entity Ōjin
relation father
type common name
['Ōjin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ōjin property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179971
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q179971,P39,c(Q12737077))
action filter_type
action find
entity Q179971
relation P39
type Q12737077
['Q179971', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q179971 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Chūai
action filter_type
action find
entity Chūai
relation position held
type occupation
['Chūai', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Chūai property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q208233
SYSTEM
Emperor of Japan
Q208233
(Q179971,P39,c(Q12737077))
action filter_type
action find
entity Q179971
relation P39
type Q12737077
[ANSWER]
['Q179971', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q179971 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Emperor of Japan
Emperor of Japan
Emperor of Japan
action filter_type
action find
entity Chūai
relation position held
type occupation
['Chūai', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Chūai property:position_held ?x . ?x rdf:type ontology:occupation }
[]