Simple Question (Direct)
Simple Question
Q16016616
P735
Q82799
USER
Which name is Wally Taylor known by ?
(Q16016616,P735,c(Q82799))
action filter_type
action find
entity Q16016616
relation P735
type Q82799
['Q16016616', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q16016616 property:P735 ?e . ?e rdf:type ontology:Q82799 }
Wally Taylor
action filter_type
action find
entity Wally Taylor
relation given name
type name
['Wally Taylor', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Wally_Taylor property:given_name ?e . ?e rdf:type ontology:name }
[]
name
Q19823817
SYSTEM
Wally
Q19823817
(Q16016616,P735,c(Q82799))
action filter_type
action find
entity Q16016616
relation P735
type Q82799
[ANSWER] Taylor is known as [ANSWER]
['Q16016616', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q16016616 property:P735 ?e . ?e rdf:type ontology:Q82799 }
Wally
Wally Taylor is known as Wally
Wally
action filter_type
action find
entity Wally Taylor
relation given name
type name
['Wally Taylor', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Wally_Taylor property:given_name ?e . ?e rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q2342494 Q6619679
USER
Which people were atleast 1 collectables and fictional humanoids inspired by ?
(c(Q2342494)|c(Q6619679),P941,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:P941 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P941 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q6619679 } } GROUP BY ?f } . FILTER ( ?h >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'collectable'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:inspired_by ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:collectable } UNION { ?k property:inspired_by ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:fictional_humanoid } } GROUP BY ?f } . FILTER ( ?h >= 1 ) }
[]
common name collectable fictional humanoid
Q22686 Q2907490 Q849
SYSTEM
Donald Trump, Bo Gritz, François Villon
Q2907490 Q299271 Q849 Q22686 Q5545355 Q2409128
(c(Q2342494)|c(Q6619679),P941,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:P941 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P941 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q6619679 } } GROUP BY ?f } . FILTER ( ?h >= 1 ) }
Bo Gritz Bahram V François Villon Donald Trump George Turberville Dušan Popov
Which people were atleast 1 collectables and fictional humanoids inspired by
Donald Trump Bo Gritz François Villon
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'collectable'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:inspired_by ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:collectable } UNION { ?k property:inspired_by ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:fictional_humanoid } } GROUP BY ?f } . FILTER ( ?h >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22686 Q2907490 Q849
P106
Q12737077
USER
What do Donald Trump, Bo Gritz and François Villon do for a living ?
(Q22686,P106,c(Q12737077)) (Q2907490,P106,c(Q12737077)) (Q849,P106,c(Q12737077))
action union
action filter_type
action find
entity Q22686
relation P106
type Q12737077
action filter_type
action find
entity Q2907490
relation P106
type Q12737077
action filter_type
action find
entity Q849
relation P106
type Q12737077
['Q22686', 'P106', {'concept': 'Q12737077'}] ['Q2907490', 'P106', {'concept': 'Q12737077'}] ['Q849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?y property:P106 ?g . VALUES ( ?y ) { ( resource:Q2907490 ) ( resource:Q22686 ) } }
Donald Trump Bo Gritz François Villon
action union
action filter_type
action find
entity Donald Trump
relation occupation
type occupation
action filter_type
action find
entity Bo Gritz
relation occupation
type occupation
action filter_type
action find
entity François Villon
relation occupation
type occupation
['Donald Trump', 'occupation', {'concept': 'occupation'}] ['Bo Gritz', 'occupation', {'concept': 'occupation'}] ['François Villon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?y property:occupation ?g . VALUES ( ?y ) { ( resource:Bo_Gritz ) ( resource:Donald_Trump ) } }
[]
occupation
Q557880 Q372436 Q15980158
SYSTEM
investor, statesman, non-fiction writer
Q557880 Q372436 Q15958642 Q15980158 Q82955 Q43845 Q695829 Q911554 Q3427922 Q36180 Q131524 Q82955 Q47064 Q49757 Q36180
(Q22686,P106,c(Q12737077)) (Q2907490,P106,c(Q12737077)) (Q849,P106,c(Q12737077))
action union
action filter_type
action find
entity Q22686
relation P106
type Q12737077
action filter_type
action find
entity Q2907490
relation P106
type Q12737077
action filter_type
action find
entity Q849
relation P106
type Q12737077
[ANSWERS] Donald Trump , Bo Gritz and François Villon do for a living
['Q22686', 'P106', {'concept': 'Q12737077'}] ['Q2907490', 'P106', {'concept': 'Q12737077'}] ['Q849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?y property:P106 ?g . VALUES ( ?y ) { ( resource:Q2907490 ) ( resource:Q22686 ) } }
investor statesman political writer non-fiction writer politician businessperson property developer business magnate restaurateur writer entrepreneur politician military personnel poet writer
Investor, statesman and non-fiction writer Donald Trump , Bo Gritz and François Villon do for a living
investor statesman non-fiction writer
action union
action filter_type
action find
entity Donald Trump
relation occupation
type occupation
action filter_type
action find
entity Bo Gritz
relation occupation
type occupation
action filter_type
action find
entity François Villon
relation occupation
type occupation
['Donald Trump', 'occupation', {'concept': 'occupation'}] ['Bo Gritz', 'occupation', {'concept': 'occupation'}] ['François Villon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?y property:occupation ?g . VALUES ( ?y ) { ( resource:Bo_Gritz ) ( resource:Donald_Trump ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P9
Q502895
USER
Who is the sister of Donald Trump ?
(Q22686,P9,c(Q502895))
action filter_type
action find
entity Q22686
relation P9
type Q502895
['Q22686', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q22686 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation sister
type common name
['Donald Trump', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Donald_Trump property:sister ?k . ?k rdf:type ontology:common_name }
[]
common name
Q736223
SYSTEM
Maryanne Trump Barry
Q736223
(Q22686,P9,c(Q502895))
action filter_type
action find
entity Q22686
relation P9
type Q502895
The sister of Donald Trump is [ANSWER]
['Q22686', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q22686 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Maryanne Trump Barry
The sister of Donald Trump is Maryanne Trump Barry
Maryanne Trump Barry
action filter_type
action find
entity Donald Trump
relation sister
type common name
['Donald Trump', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Donald_Trump property:sister ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P102
Q7210356
USER
Which party does Donald Trump belong to ?
(Q22686,P102,c(Q7210356))
action filter_type
action find
entity Q22686
relation P102
type Q7210356
['Q22686', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q22686 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation member of political party
type political organization
['Donald Trump', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Trump property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q22686,P102,c(Q7210356))
action filter_type
action find
entity Q22686
relation P102
type Q7210356
Donald Trump belongs to [ANSWER]
['Q22686', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q22686 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Republican Party
Donald Trump belongs to Republican Party
Republican Party
action filter_type
action find
entity Donald Trump
relation member of political party
type political organization
['Donald Trump', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Donald_Trump property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10395108
Q7210356
USER
And how about Zezéu Ribeiro?
(Q10395108,P102,c(Q7210356))
action filter_type
action find
entity Q10395108
relation P102
type Q7210356
['Q10395108', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q10395108 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Zezéu Ribeiro
action filter_type
action find
entity Zezéu Ribeiro
relation member of political party
type political organization
['Zezéu Ribeiro', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Zezéu_Ribeiro property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q657089
SYSTEM
Workers' Party
Q657089
(Q10395108,P102,c(Q7210356))
action filter_type
action find
entity Q10395108
relation P102
type Q7210356
[ANSWER]
['Q10395108', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q10395108 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Workers' Party
Workers' Party
action filter_type
action find
entity Zezéu Ribeiro
relation member of political party
type political organization
['Zezéu Ribeiro', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Zezéu_Ribeiro property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q657089 Q341724
P159
Q56061
USER
Is Čunovo the headquarter of Workers' Party located ?
(Q657089,P159,Q341724)
action is_in
entity Q341724
action find
entity Q657089
relation P159
['Q657089', 'P159', 'Q341724']
ASK WHERE { resource:Q657089 property:P159 resource:Q341724 }
Workers' Party Čunovo
action is_in
entity Čunovo
action find
entity Workers' Party
relation headquarters location
["Workers' Party", 'headquarters location', 'Čunovo']
ASK WHERE { resource:Workers'_Party property:headquarters_location resource:Čunovo }
[]
administrative territorial entity
SYSTEM
NO
(Q657089,P159,Q341724)
action is_in
entity Q341724
action find
entity Q657089
relation P159
[ANSWER]
['Q657089', 'P159', 'Q341724']
ASK WHERE { resource:Q657089 property:P159 resource:Q341724 }
No
action is_in
entity Čunovo
action find
entity Workers' Party
relation headquarters location
["Workers' Party", 'headquarters location', 'Čunovo']
ASK WHERE { resource:Workers'_Party property:headquarters_location resource:Čunovo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q22686 Q3903194 Q63593
P22
Q502895
USER
Does Donald Trump have Piero Caravita and Princess Maria Augusta of Saxony as a father ?
(Q22686,P22,Q3903194) (Q22686,P22,Q63593)
action is_in
entity Q22686
action intersection
action find_reverse
entity Q3903194
relation P22
action find_reverse
entity Q63593
relation P22
['Q22686', 'P22', 'Q3903194'] ['Q22686', 'P22', 'Q63593']
ASK WHERE { resource:Q22686 property:P22 resource:Q63593 . resource:Q22686 property:P22 resource:Q3903194 }
Donald Trump Piero Caravita Princess Maria Augusta of Saxony
action is_in
entity Donald Trump
action intersection
action find_reverse
entity Piero Caravita
relation father
action find_reverse
entity Princess Maria Augusta of Saxony
relation father
['Donald Trump', 'father', 'Piero Caravita'] ['Donald Trump', 'father', 'Princess Maria Augusta of Saxony']
ASK WHERE { resource:Donald_Trump property:father resource:Princess_Maria_Augusta_of_Saxony . resource:Donald_Trump property:father resource:Piero_Caravita }
[]
common name
SYSTEM
NO
(Q22686,P22,Q3903194) (Q22686,P22,Q63593)
action is_in
entity Q22686
action intersection
action find_reverse
entity Q3903194
relation P22
action find_reverse
entity Q63593
relation P22
[ANSWER]
['Q22686', 'P22', 'Q3903194'] ['Q22686', 'P22', 'Q63593']
ASK WHERE { resource:Q22686 property:P22 resource:Q63593 . resource:Q22686 property:P22 resource:Q3903194 }
No
action is_in
entity Donald Trump
action intersection
action find_reverse
entity Piero Caravita
relation father
action find_reverse
entity Princess Maria Augusta of Saxony
relation father
['Donald Trump', 'father', 'Piero Caravita'] ['Donald Trump', 'father', 'Princess Maria Augusta of Saxony']
ASK WHERE { resource:Donald_Trump property:father resource:Princess_Maria_Augusta_of_Saxony . resource:Donald_Trump property:father resource:Piero_Caravita }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P463
Q502895
USER
Which person is a part of Republican Party ?
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?g WHERE { ?g property:P463 resource:Q29468 . ?g rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?g WHERE { ?g property:member_of resource:Republican_Party . ?g rdf:type ontology:common_name }
[]
common name
Q2522486
SYSTEM
Victor Murdock
Q2522486
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[ANSWER] is a part of Republican Party
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?g WHERE { ?g property:P463 resource:Q29468 . ?g rdf:type ontology:Q502895 }
Victor Murdock
Victor Murdock is a part of Republican Party
Victor Murdock
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?g WHERE { ?g property:member_of resource:Republican_Party . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P1038
Q502895
USER
Who are related to Donald Trump ?
(c(Q502895),P1038,Q22686)
action filter_type
action find
entity Q22686
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q22686']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q22686 property:P1038 ?a }
Donald Trump
action filter_type
action find
entity Donald Trump
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Donald Trump']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Donald_Trump property:relative ?a }
[]
common name
Q21070387 Q23600580 Q1576675
SYSTEM
Frederick Trump, Elizabeth Christ Trump, John G. Trump
Q21070387 Q23600580 Q1576675
(c(Q502895),P1038,Q22686)
action filter_type
action find
entity Q22686
relation P1038
type Q502895
[ANSWERS] are related to Donald Trump
[{'concept': 'Q502895'}, 'P1038', 'Q22686']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q22686 property:P1038 ?a }
Frederick Trump Elizabeth Christ Trump John G. Trump
Frederick Trump, Elizabeth Christ Trump and John G. Trump are related to Donald Trump
Frederick Trump Elizabeth Christ Trump John G. Trump
action filter_type
action find
entity Donald Trump
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Donald Trump']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Donald_Trump property:relative ?a }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21070387 Q23600580 Q1576675
P1038
Q502895
USER
Which people are related to those ones ?
(c(Q502895),P1038,Q21070387) (c(Q502895),P1038,Q23600580) (c(Q502895),P1038,Q1576675)
action filter_type
action find
entity prev_answer
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q21070387'] [{'concept': 'Q502895'}, 'P1038', 'Q23600580'] [{'concept': 'Q502895'}, 'P1038', 'Q1576675']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?p property:P1038 ?l . VALUES ( ?p ) { ( resource:Q21070387 ) ( resource:Q23600580 ) ( resource:Q1576675 ) } }
Frederick Trump Elizabeth Christ Trump John G. Trump
action filter_type
action find
entity prev_answer
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Frederick Trump'] [{'concept': 'common name'}, 'relative', 'Elizabeth Christ Trump'] [{'concept': 'common name'}, 'relative', 'John G. Trump']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?p property:relative ?l . VALUES ( ?p ) { ( resource:Frederick_Trump ) ( resource:Elizabeth_Christ_Trump ) ( resource:John_G._Trump ) } }
[]
common name
Q22686
SYSTEM
Donald Trump
Q22686
(c(Q502895),P1038,Q21070387) (c(Q502895),P1038,Q23600580) (c(Q502895),P1038,Q1576675)
action filter_type
action find
entity prev_answer
relation P1038
type Q502895
[ANSWER] is related to those ones
[{'concept': 'Q502895'}, 'P1038', 'Q21070387'] [{'concept': 'Q502895'}, 'P1038', 'Q23600580'] [{'concept': 'Q502895'}, 'P1038', 'Q1576675']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?p property:P1038 ?l . VALUES ( ?p ) { ( resource:Q21070387 ) ( resource:Q23600580 ) ( resource:Q1576675 ) } }
Donald Trump
Donald Trump is related to those ones
Donald Trump
action filter_type
action find
entity prev_answer
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Frederick Trump'] [{'concept': 'common name'}, 'relative', 'Elizabeth Christ Trump'] [{'concept': 'common name'}, 'relative', 'John G. Trump']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?p property:relative ?l . VALUES ( ?p ) { ( resource:Frederick_Trump ) ( resource:Elizabeth_Christ_Trump ) ( resource:John_G._Trump ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22686
P734
Q82799
USER
Which name is associated with that person ?
(Q22686,P734,c(Q82799))
action filter_type
action find
entity Q22686
relation P734
type Q82799
['Q22686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q22686 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation family name
type name
['Donald Trump', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Donald_Trump property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q16944413
SYSTEM
Trump
Q16944413
(Q22686,P734,c(Q82799))
action filter_type
action find
entity Q22686
relation P734
type Q82799
[ANSWER] is associated with that person
['Q22686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q22686 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Trump
Trump is associated with that person
Trump
action filter_type
action find
entity Donald Trump
relation family name
type name
['Donald Trump', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Donald_Trump property:family_name ?l . ?l rdf:type ontology:name }
[]