Simple Question (Direct)
Simple Question
Q15978692
P69
Q486972
USER
What is the human settlement where Ellie Holcomb was educated ?
(Q15978692,P69,c(Q486972))
action filter_type
action find
entity Q15978692
relation P69
type Q486972
['Q15978692', 'P69', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q15978692 property:P69 ?a . ?a rdf:type ontology:Q486972 }
Ellie Holcomb
action filter_type
action find
entity Ellie Holcomb
relation educated at
type human settlement
['Ellie Holcomb', 'educated at', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Ellie_Holcomb property:educated_at ?a . ?a rdf:type ontology:human_settlement }
[]
human settlement
Q1150105
SYSTEM
University of Tennessee
Q1150105
(Q15978692,P69,c(Q486972))
action filter_type
action find
entity Q15978692
relation P69
type Q486972
The human settlement Ellie Holcomb was educated is the [ANSWER]
['Q15978692', 'P69', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q15978692 property:P69 ?a . ?a rdf:type ontology:Q486972 }
University of Tennessee
The human settlement Ellie Holcomb was educated is the University of Tennessee
University of Tennessee
action filter_type
action find
entity Ellie Holcomb
relation educated at
type human settlement
['Ellie Holcomb', 'educated at', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Ellie_Holcomb property:educated_at ?a . ?a rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15978692
P175
Q482994
USER
Who delivered the performance of Ellie Holcomb ?
(c(Q482994),P175,Q15978692)
action filter_type
action find_reverse
entity Q15978692
relation P175
type Q482994
[{'concept': 'Q482994'}, 'P175', 'Q15978692']
SELECT DISTINCT ?g WHERE { ?g property:P175 resource:Q15978692 . ?g rdf:type ontology:Q482994 }
Ellie Holcomb
action filter_type
action find_reverse
entity Ellie Holcomb
relation performer
type album
[{'concept': 'album'}, 'performer', 'Ellie Holcomb']
SELECT DISTINCT ?g WHERE { ?g property:performer resource:Ellie_Holcomb . ?g rdf:type ontology:album }
[]
album
Q17143129
SYSTEM
With You Now
Q17143129
(c(Q482994),P175,Q15978692)
action filter_type
action find_reverse
entity Q15978692
relation P175
type Q482994
[ANSWER] delivered the performance of Ellie Holcomb
[{'concept': 'Q482994'}, 'P175', 'Q15978692']
SELECT DISTINCT ?g WHERE { ?g property:P175 resource:Q15978692 . ?g rdf:type ontology:Q482994 }
With You Now
With You Now delivered the performance of Ellie Holcomb
With You Now
action filter_type
action find_reverse
entity Ellie Holcomb
relation performer
type album
[{'concept': 'album'}, 'performer', 'Ellie Holcomb']
SELECT DISTINCT ?g WHERE { ?g property:performer resource:Ellie_Holcomb . ?g rdf:type ontology:album }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15978692
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q17143129)
action filter_type
action find_reverse
entity Q15978692
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q17143129']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P40 resource:Q15978692 }
Ellie Holcomb
action filter_type
action find_reverse
entity Ellie Holcomb
relation child
type common name
[{'concept': 'common name'}, 'child', 'With You Now']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:child resource:Ellie_Holcomb }
[]
common name
Q4976044
SYSTEM
Brown Bannister
Q4976044
(c(Q502895),P40,Q17143129)
action filter_type
action find_reverse
entity Q15978692
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q17143129']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P40 resource:Q15978692 }
Brown Bannister
Brown Bannister has that one as a child
Brown Bannister
action filter_type
action find_reverse
entity Ellie Holcomb
relation child
type common name
[{'concept': 'common name'}, 'child', 'With You Now']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:child resource:Ellie_Holcomb }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q4976044
P21 P22
Q502895
USER
Which people have Brown Bannister as a parent and are a female ?
AND((c(Q502895),P22,Q4976044), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q4976044
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q4976044'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q4976044 . ?e property:P21 resource:Q6581072 . ?e rdf:type ontology:Q502895 }
female Brown Bannister
action filter_type
action intersection
action find_reverse
entity Brown Bannister
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Brown Bannister'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?e WHERE { ?e property:father resource:Brown_Bannister . ?e property:gender resource:female . ?e rdf:type ontology:common_name }
[]
common name
Q15978692
SYSTEM
Ellie Holcomb
Q15978692
AND((c(Q502895),P22,Q4976044), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q4976044
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Brown Bannister as a parent and are a female
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q4976044'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q4976044 . ?e property:P21 resource:Q6581072 . ?e rdf:type ontology:Q502895 }
Ellie Holcomb
Ellie Holcomb have Brown Bannister as a parent and are a female
Ellie Holcomb
action filter_type
action intersection
action find_reverse
entity Brown Bannister
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Brown Bannister'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?e WHERE { ?e property:father resource:Brown_Bannister . ?e property:gender resource:female . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q1752346 Q35749 Q502895
USER
Which people have been acknowledged in max number of assemblies and parliaments ?
(c(Q502895),P248,c(Q1752346)|c(Q35749))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q35749
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?u WHERE { { ?u property:P248 ?s . ?u rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1752346 } UNION { ?u property:P248 ?s . ?u rdf:type ontology:Q502895 . ?s rdf:type ontology:Q35749 } } GROUP BY ?u } . FILTER ( ?z = ?d ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?o WHERE { { ?o property:P248 ?j . ?o rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1752346 } UNION { ?o property:P248 ?j . ?j rdf:type ontology:Q35749 . ?o rdf:type ontology:Q502895 } } GROUP BY ?o } } }
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type parliament
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?u WHERE { { ?u property:stated_in ?s . ?u rdf:type ontology:common_name . ?s rdf:type ontology:assembly } UNION { ?u property:stated_in ?s . ?u rdf:type ontology:common_name . ?s rdf:type ontology:parliament } } GROUP BY ?u } . FILTER ( ?z = ?d ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?o WHERE { { ?o property:stated_in ?j . ?o rdf:type ontology:common_name . ?j rdf:type ontology:assembly } UNION { ?o property:stated_in ?j . ?j rdf:type ontology:parliament . ?o rdf:type ontology:common_name } } GROUP BY ?o } } }
[]
assembly parliament common name
Q5606262 Q6228730 Q5239885
SYSTEM
Greg Smith, John Davies, David Smith
Q5606264 Q5606262 Q11035229 Q6249873 Q15999511 Q16059754 Q17626521 Q8020387 Q16031816 Q6228730 Q6237308 Q18166520 Q5239885 Q17385895 Q6262700
(c(Q502895),P248,c(Q1752346)|c(Q35749))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q35749
[ANSWERS] have been acknowledged in max number of assemblies and parliaments
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?u WHERE { { ?u property:P248 ?s . ?u rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1752346 } UNION { ?u property:P248 ?s . ?u rdf:type ontology:Q502895 . ?s rdf:type ontology:Q35749 } } GROUP BY ?u } . FILTER ( ?z = ?d ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?o WHERE { { ?o property:P248 ?j . ?o rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1752346 } UNION { ?o property:P248 ?j . ?j rdf:type ontology:Q35749 . ?o rdf:type ontology:Q502895 } } GROUP BY ?o } } }
Greg Smith Greg Smith John Carter John Murphy William Robinson James Brown Colin Campbell William Williams William Walker John Davies John Hall William Thompson David Smith David Evans John Walker
Greg Smith, John Davies and David Smith have been acknowledged in max number of assemblies and parliaments
Greg Smith John Davies David Smith
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type parliament
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?u WHERE { { ?u property:stated_in ?s . ?u rdf:type ontology:common_name . ?s rdf:type ontology:assembly } UNION { ?u property:stated_in ?s . ?u rdf:type ontology:common_name . ?s rdf:type ontology:parliament } } GROUP BY ?u } . FILTER ( ?z = ?d ) . { SELECT DISTINCT ( MAX ( ?w ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?o WHERE { { ?o property:stated_in ?j . ?o rdf:type ontology:common_name . ?j rdf:type ontology:assembly } UNION { ?o property:stated_in ?j . ?j rdf:type ontology:parliament . ?o rdf:type ontology:common_name } } GROUP BY ?o } } }
[]