Simple Question (Direct)
Simple Question
Q3429359
P22
Q502895
USER
Who was the dad of Jørgen Ottesen Brahe ?
(Q3429359,P22,c(Q502895))
action filter_type
action find
entity Q3429359
relation P22
type Q502895
['Q3429359', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3429359 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Jørgen Ottesen Brahe
action filter_type
action find
entity Jørgen Ottesen Brahe
relation father
type common name
['Jørgen Ottesen Brahe', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Jørgen_Ottesen_Brahe property:father ?h . ?h rdf:type ontology:common_name }
[]
common name
Q2630476
SYSTEM
Otte Brahe
Q2630476
(Q3429359,P22,c(Q502895))
action filter_type
action find
entity Q3429359
relation P22
type Q502895
The dad of Jørgen Ottesen Brahe was J rgen [ANSWER]
['Q3429359', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3429359 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Otte Brahe
The dad of Jørgen Ottesen Brahe was J rgen Otte Brahe
Otte Brahe
action filter_type
action find
entity Jørgen Ottesen Brahe
relation father
type common name
['Jørgen Ottesen Brahe', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Jørgen_Ottesen_Brahe property:father ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2630476
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q2630476)
action filter_type
action find
entity Q2630476
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2630476']
SELECT DISTINCT ?m WHERE { resource:Q2630476 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Otte Brahe
action filter_type
action find
entity Otte Brahe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Otte Brahe']
SELECT DISTINCT ?m WHERE { resource:Otte_Brahe property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q2917684
SYSTEM
Beate Clausdatter Bille
Q2917684
(c(Q502895),P26,Q2630476)
action filter_type
action find
entity Q2630476
relation P26
type Q502895
The spouse of that one is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2630476']
SELECT DISTINCT ?m WHERE { resource:Q2630476 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Beate Clausdatter Bille
The spouse of that one is Lady Beate Clausdatter Bille
Beate Clausdatter Bille
action filter_type
action find
entity Otte Brahe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Otte Brahe']
SELECT DISTINCT ?m WHERE { resource:Otte_Brahe property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2917684 Q989798
P25
Q502895
USER
Does Georg Deppe have that one as a parent ?
(Q989798,P25,Q2917684)
action is_in
entity Q989798
action find
entity Q2917684
relation P25
['Q989798', 'P25', 'Q2917684']
ASK WHERE { resource:Q2917684 property:P25 resource:Q989798 }
Beate Clausdatter Bille Georg Deppe
action is_in
entity Georg Deppe
action find
entity Beate Clausdatter Bille
relation mother
['Georg Deppe', 'mother', 'Beate Clausdatter Bille']
ASK WHERE { resource:Beate_Clausdatter_Bille property:mother resource:Georg_Deppe }
[]
common name
SYSTEM
NO
(Q989798,P25,Q2917684)
action is_in
entity Q989798
action find
entity Q2917684
relation P25
[ANSWER]
['Q989798', 'P25', 'Q2917684']
ASK WHERE { resource:Q2917684 property:P25 resource:Q989798 }
No
action is_in
entity Georg Deppe
action find
entity Beate Clausdatter Bille
relation mother
['Georg Deppe', 'mother', 'Beate Clausdatter Bille']
ASK WHERE { resource:Beate_Clausdatter_Bille property:mother resource:Georg_Deppe }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works had their voice dubbing done by min number of people ?
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?k ) WHERE { ?q property:P725 ?c . ?q rdf:type ontology:Q386724 . ?c rdf:type ontology:Q502895 } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?d rdf:type ontology:Q386724 . ?o rdf:type ontology:Q502895 . ?d property:P725 ?o } GROUP BY ?d } . FILTER ( ?g = ?r ) }
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?k ) WHERE { ?q property:voice_actor ?c . ?q rdf:type ontology:work . ?c rdf:type ontology:common_name } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?d rdf:type ontology:work . ?o rdf:type ontology:common_name . ?d property:voice_actor ?o } GROUP BY ?d } . FILTER ( ?g = ?r ) }
[]
common name work
Q10864091
SYSTEM
Isshūkan Friends
Q10864091
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] had their voice dubbing done by min number of people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?k ) WHERE { ?q property:P725 ?c . ?q rdf:type ontology:Q386724 . ?c rdf:type ontology:Q502895 } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?d rdf:type ontology:Q386724 . ?o rdf:type ontology:Q502895 . ?d property:P725 ?o } GROUP BY ?d } . FILTER ( ?g = ?r ) }
Isshūkan Friends
Isshūkan Friends had their voice dubbing done by min number of people
Isshūkan Friends
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?k ) WHERE { ?q property:voice_actor ?c . ?q rdf:type ontology:work . ?c rdf:type ontology:common_name } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?d rdf:type ontology:work . ?o rdf:type ontology:common_name . ?d property:voice_actor ?o } GROUP BY ?d } . FILTER ( ?g = ?r ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10864091 Q8019647
P800
Q502895
USER
Does William V. Manning have that one as their notable work ?
(Q8019647,P800,Q10864091)
action is_in
entity Q8019647
action find
entity Q10864091
relation P800
['Q8019647', 'P800', 'Q10864091']
ASK WHERE { resource:Q10864091 property:P800 resource:Q8019647 }
Isshūkan Friends William V. Manning
action is_in
entity William V. Manning
action find
entity Isshūkan Friends
relation notable work
['William V. Manning', 'notable work', 'Isshūkan Friends']
ASK WHERE { resource:Isshūkan_Friends property:notable_work resource:William_V._Manning }
[]
common name
SYSTEM
NO
(Q8019647,P800,Q10864091)
action is_in
entity Q8019647
action find
entity Q10864091
relation P800
[ANSWER]
['Q8019647', 'P800', 'Q10864091']
ASK WHERE { resource:Q10864091 property:P800 resource:Q8019647 }
No
action is_in
entity William V. Manning
action find
entity Isshūkan Friends
relation notable work
['William V. Manning', 'notable work', 'Isshūkan Friends']
ASK WHERE { resource:Isshūkan_Friends property:notable_work resource:William_V._Manning }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3429359
P21 P7
Q502895
USER
Which people are Jørgen Ottesen Brahe a brother of and have the gender as male ?
AND((c(Q502895),P7,Q3429359), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3429359
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q3429359'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P7 resource:Q3429359 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male Jørgen Ottesen Brahe
action filter_type
action intersection
action find_reverse
entity Jørgen Ottesen Brahe
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Jørgen Ottesen Brahe'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:brother resource:Jørgen_Ottesen_Brahe . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q3430350 Q36620 Q3430228
SYSTEM
Axel Ottesen Brahe, Tycho Brahe, Steen Brahe
Q3430350 Q36620 Q3430228
AND((c(Q502895),P7,Q3429359), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3429359
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are Jørgen Ottesen Brahe a brother of and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q3429359'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P7 resource:Q3429359 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Axel Ottesen Brahe Tycho Brahe Steen Brahe
Axel Ottesen Brahe, Tycho Brahe and Steen Brahe are Jørgen Ottesen Brahe a brother of and have the gender as male
Axel Ottesen Brahe Tycho Brahe Steen Brahe
action filter_type
action intersection
action find_reverse
entity Jørgen Ottesen Brahe
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Jørgen Ottesen Brahe'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:brother resource:Jørgen_Ottesen_Brahe . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?l = ?y ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?l = ?y ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?l = ?y ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?d } } . { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?l = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q36620
P20
Q56061
USER
How many administrative territories did Tycho Brahe expire ?
(Q36620,P20,c(Q56061))
action count
action filter_type
action find
entity Q36620
relation P20
type Q56061
['Q36620', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q36620 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Tycho Brahe
action count
action filter_type
action find
entity Tycho Brahe
relation place of death
type administrative territorial entity
['Tycho Brahe', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Tycho_Brahe property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1085
(Q36620,P20,c(Q56061))
action count
action filter_type
action find
entity Q36620
relation P20
type Q56061
[ANSWER]
['Q36620', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q36620 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Prague
1
action count
action filter_type
action find
entity Tycho Brahe
relation place of death
type administrative territorial entity
['Tycho Brahe', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Tycho_Brahe property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q113717
Q56061
USER
And what about Theodor Vahlen?
(Q113717,P20,c(Q56061))
action count
action filter_type
action find
entity Q113717
relation P20
type Q56061
['Q113717', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q113717 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Theodor Vahlen
action count
action filter_type
action find
entity Theodor Vahlen
relation place of death
type administrative territorial entity
['Theodor Vahlen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Theodor_Vahlen property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q113717,P20,c(Q56061))
action count
action filter_type
action find
entity Q113717
relation P20
type Q56061
[ANSWER]
['Q113717', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q113717 property:P20 ?u . ?u rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Theodor Vahlen
relation place of death
type administrative territorial entity
['Theodor Vahlen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Theodor_Vahlen property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q113717
P27
Q1048835
USER
Which political territory is that person a civilian of ?
action filter_type
action find
entity Q113717
relation P27
type Q1048835
SELECT DISTINCT ?d WHERE { resource:Q113717 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Theodor Vahlen
action filter_type
action find
entity Theodor Vahlen
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?d WHERE { resource:Theodor_Vahlen property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
action filter_type
action find
entity Q113717
relation P27
type Q1048835
[ANSWER] is that person a civilian of
SELECT DISTINCT ?d WHERE { resource:Q113717 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Austria
Austria is that person a civilian of
Austria
action filter_type
action find
entity Theodor Vahlen
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?d WHERE { resource:Theodor_Vahlen property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q40 Q183
P47
Q1048835
USER
Does Germany share the border with that one ?
(Q40,P47,Q183)
action is_in
entity Q183
action find
entity Q40
relation P47
['Q40', 'P47', 'Q183']
ASK WHERE { resource:Q40 property:P47 resource:Q183 }
Austria Germany
action is_in
entity Germany
action find
entity Austria
relation shares border with
['Austria', 'shares border with', 'Germany']
ASK WHERE { resource:Austria property:shares_border_with resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q40,P47,Q183)
action is_in
entity Q183
action find
entity Q40
relation P47
[ANSWER]
['Q40', 'P47', 'Q183']
ASK WHERE { resource:Q40 property:P47 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Austria
relation shares border with
['Austria', 'shares border with', 'Germany']
ASK WHERE { resource:Austria property:shares_border_with resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36620 Q48054
P27
Q1048835
USER
Is Erfurt the country of citizenship of Tycho Brahe ?
(Q36620,P27,Q48054)
action is_in
entity Q48054
action find
entity Q36620
relation P27
['Q36620', 'P27', 'Q48054']
ASK WHERE { resource:Q36620 property:P27 resource:Q48054 }
Tycho Brahe Erfurt
action is_in
entity Erfurt
action find
entity Tycho Brahe
relation country of citizenship
['Tycho Brahe', 'country of citizenship', 'Erfurt']
ASK WHERE { resource:Tycho_Brahe property:country_of_citizenship resource:Erfurt }
[]
political territorial entity
SYSTEM
NO
(Q36620,P27,Q48054)
action is_in
entity Q48054
action find
entity Q36620
relation P27
[ANSWER]
['Q36620', 'P27', 'Q48054']
ASK WHERE { resource:Q36620 property:P27 resource:Q48054 }
No
action is_in
entity Erfurt
action find
entity Tycho Brahe
relation country of citizenship
['Tycho Brahe', 'country of citizenship', 'Erfurt']
ASK WHERE { resource:Tycho_Brahe property:country_of_citizenship resource:Erfurt }
[]