Simple Question (Direct)
Simple Question
Q6130324
P734
Q82799
USER
Who is associated with James Brown ?
(Q6130324,P734,c(Q82799))
action filter_type
action find
entity Q6130324
relation P734
type Q82799
['Q6130324', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q6130324 property:P734 ?a . ?a rdf:type ontology:Q82799 }
James Brown
action filter_type
action find
entity James Brown
relation family name
type name
['James Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:James_Brown property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q6130324,P734,c(Q82799))
action filter_type
action find
entity Q6130324
relation P734
type Q82799
[ANSWER] is associated with James [ANSWER]
['Q6130324', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q6130324 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Brown
Brown is associated with James Brown
Brown
action filter_type
action find
entity James Brown
relation family name
type name
['James Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:James_Brown property:family_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6130324
P39
Q12737077
USER
Which occupation was a position for which James Brown was appointed ?
(Q6130324,P39,c(Q12737077))
action filter_type
action find
entity Q6130324
relation P39
type Q12737077
['Q6130324', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6130324 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
James Brown
action filter_type
action find
entity James Brown
relation position held
type occupation
['James Brown', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:James_Brown property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q19461542
SYSTEM
Bishop of Louisiana
Q19461542
(Q6130324,P39,c(Q12737077))
action filter_type
action find
entity Q6130324
relation P39
type Q12737077
The [ANSWER] was a position for which James Brown was appointed
['Q6130324', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6130324 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Bishop of Louisiana
The Bishop of Louisiana was a position for which James Brown was appointed
Bishop of Louisiana
action filter_type
action find
entity James Brown
relation position held
type occupation
['James Brown', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:James_Brown property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19461542 Q682443 Q2592406
P361
Q879146
USER
Is Bishop of Louisiana a part of Episcopal Church and Living Church ?
(Q19461542,P361,Q682443) (Q19461542,P361,Q2592406)
action is_in
entity Q19461542
action intersection
action find_reverse
entity Q682443
relation P361
action find_reverse
entity Q2592406
relation P361
['Q19461542', 'P361', 'Q682443'] ['Q19461542', 'P361', 'Q2592406']
ASK WHERE { resource:Q19461542 property:P361 resource:Q2592406 . resource:Q19461542 property:P361 resource:Q682443 }
Bishop of Louisiana Episcopal Church Living Church
action is_in
entity Bishop of Louisiana
action intersection
action find_reverse
entity Episcopal Church
relation part of
action find_reverse
entity Living Church
relation part of
['Bishop of Louisiana', 'part of', 'Episcopal Church'] ['Bishop of Louisiana', 'part of', 'Living Church']
ASK WHERE { resource:Bishop_of_Louisiana property:part_of resource:Living_Church . resource:Bishop_of_Louisiana property:part_of resource:Episcopal_Church }
[]
Christian denomination
SYSTEM
YES and NO respectively
(Q19461542,P361,Q682443) (Q19461542,P361,Q2592406)
action is_in
entity Q19461542
action intersection
action find_reverse
entity Q682443
relation P361
action find_reverse
entity Q2592406
relation P361
[ANSWER]
['Q19461542', 'P361', 'Q682443'] ['Q19461542', 'P361', 'Q2592406']
ASK WHERE { resource:Q19461542 property:P361 resource:Q2592406 . resource:Q19461542 property:P361 resource:Q682443 }
YES and NO respectively
action is_in
entity Bishop of Louisiana
action intersection
action find_reverse
entity Episcopal Church
relation part of
action find_reverse
entity Living Church
relation part of
['Bishop of Louisiana', 'part of', 'Episcopal Church'] ['Bishop of Louisiana', 'part of', 'Living Church']
ASK WHERE { resource:Bishop_of_Louisiana property:part_of resource:Living_Church . resource:Bishop_of_Louisiana property:part_of resource:Episcopal_Church }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6130324 Q673813
P27
Q15617994
USER
Is Euratsfeld the native country of James Brown ?
(Q6130324,P27,Q673813)
action is_in
entity Q673813
action find
entity Q6130324
relation P27
['Q6130324', 'P27', 'Q673813']
ASK WHERE { resource:Q6130324 property:P27 resource:Q673813 }
James Brown Euratsfeld
action is_in
entity Euratsfeld
action find
entity James Brown
relation country of citizenship
['James Brown', 'country of citizenship', 'Euratsfeld']
ASK WHERE { resource:James_Brown property:country_of_citizenship resource:Euratsfeld }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6130324,P27,Q673813)
action is_in
entity Q673813
action find
entity Q6130324
relation P27
[ANSWER]
['Q6130324', 'P27', 'Q673813']
ASK WHERE { resource:Q6130324 property:P27 resource:Q673813 }
No
action is_in
entity Euratsfeld
action find
entity James Brown
relation country of citizenship
['James Brown', 'country of citizenship', 'Euratsfeld']
ASK WHERE { resource:James_Brown property:country_of_citizenship resource:Euratsfeld }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19461542 Q12483963 Q682443
P361
Q879146
USER
Is Bishop of Louisiana a portion of Protestant Christian Church in Bali and Episcopal Church ?
(Q19461542,P361,Q12483963) (Q19461542,P361,Q682443)
action is_in
entity Q19461542
action intersection
action find_reverse
entity Q12483963
relation P361
action find_reverse
entity Q682443
relation P361
['Q19461542', 'P361', 'Q12483963'] ['Q19461542', 'P361', 'Q682443']
ASK WHERE { resource:Q19461542 property:P361 resource:Q12483963 . resource:Q19461542 property:P361 resource:Q682443 }
Bishop of Louisiana Protestant Christian Church in Bali Episcopal Church
action is_in
entity Bishop of Louisiana
action intersection
action find_reverse
entity Protestant Christian Church in Bali
relation part of
action find_reverse
entity Episcopal Church
relation part of
['Bishop of Louisiana', 'part of', 'Protestant Christian Church in Bali'] ['Bishop of Louisiana', 'part of', 'Episcopal Church']
ASK WHERE { resource:Bishop_of_Louisiana property:part_of resource:Protestant_Christian_Church_in_Bali . resource:Bishop_of_Louisiana property:part_of resource:Episcopal_Church }
[]
Christian denomination
SYSTEM
NO and YES respectively
(Q19461542,P361,Q12483963) (Q19461542,P361,Q682443)
action is_in
entity Q19461542
action intersection
action find_reverse
entity Q12483963
relation P361
action find_reverse
entity Q682443
relation P361
[ANSWER]
['Q19461542', 'P361', 'Q12483963'] ['Q19461542', 'P361', 'Q682443']
ASK WHERE { resource:Q19461542 property:P361 resource:Q12483963 . resource:Q19461542 property:P361 resource:Q682443 }
NO and YES respectively
action is_in
entity Bishop of Louisiana
action intersection
action find_reverse
entity Protestant Christian Church in Bali
relation part of
action find_reverse
entity Episcopal Church
relation part of
['Bishop of Louisiana', 'part of', 'Protestant Christian Church in Bali'] ['Bishop of Louisiana', 'part of', 'Episcopal Church']
ASK WHERE { resource:Bishop_of_Louisiana property:part_of resource:Protestant_Christian_Church_in_Bali . resource:Bishop_of_Louisiana property:part_of resource:Episcopal_Church }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13421990 Q1860
P407
Q34770
USER
Is Brown composed in English ?
(Q13421990,P407,Q1860)
action is_in
entity Q1860
action find
entity Q13421990
relation P407
['Q13421990', 'P407', 'Q1860']
ASK WHERE { resource:Q13421990 property:P407 resource:Q1860 }
Brown English
action is_in
entity English
action find
entity Brown
relation language of work or name
['Brown', 'language of work or name', 'English']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:English }
[]
language
SYSTEM
YES
(Q13421990,P407,Q1860)
action is_in
entity Q1860
action find
entity Q13421990
relation P407
[ANSWER]
['Q13421990', 'P407', 'Q1860']
ASK WHERE { resource:Q13421990 property:P407 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Brown
relation language of work or name
['Brown', 'language of work or name', 'English']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:English }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of exactly 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P417 ?i . ?i rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?i } . FILTER ( ?m = 3 ) }
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:patron_saint ?i . ?i rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?i } . FILTER ( ?m = 3 ) }
[]
common name occupation
SYSTEM
3
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P417 ?i . ?i rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?i } . FILTER ( ?m = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
3
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:patron_saint ?i . ?i rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?i } . FILTER ( ?m = 3 ) }
[]