Simple Question (Direct)
Simple Question
Q20641359
P19
Q56061
USER
Which administrative territory was Arthur Pritchard born in ?
(Q20641359,P19,c(Q56061))
action filter_type
action find
entity Q20641359
relation P19
type Q56061
['Q20641359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q20641359 property:P19 ?r }
Arthur Pritchard
action filter_type
action find
entity Arthur Pritchard
relation place of birth
type administrative territorial entity
['Arthur Pritchard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Arthur_Pritchard property:place_of_birth ?r }
[]
administrative territorial entity
Q101254
SYSTEM
Newport
Q101254
(Q20641359,P19,c(Q56061))
action filter_type
action find
entity Q20641359
relation P19
type Q56061
Arthur Pritchard was born [ANSWER]
['Q20641359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q20641359 property:P19 ?r }
Newport
Arthur Pritchard was born Newport
Newport
action filter_type
action find
entity Arthur Pritchard
relation place of birth
type administrative territorial entity
['Arthur Pritchard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Arthur_Pritchard property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20641359
P641
Q349
USER
Which sport was that person a part of ?
(Q101254,P641,c(Q349))
action filter_type
action find
entity Q20641359
relation P641
type Q349
['Q101254', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q20641359 property:P641 ?r }
Arthur Pritchard
action filter_type
action find
entity Arthur Pritchard
relation sport
type sport
['Newport', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Arthur_Pritchard property:sport ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q101254,P641,c(Q349))
action filter_type
action find
entity Q20641359
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q101254', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q20641359 property:P641 ?r }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Arthur Pritchard
relation sport
type sport
['Newport', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Arthur_Pritchard property:sport ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20641359
P21
Q290
USER
Which sex does Arthur Pritchard belong to ?
(Q20641359,P21,c(Q290))
action filter_type
action find
entity Q20641359
relation P21
type Q290
['Q20641359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q20641359 property:P21 ?p . ?p rdf:type ontology:Q290 }
Arthur Pritchard
action filter_type
action find
entity Arthur Pritchard
relation gender
type sex
['Arthur Pritchard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Arthur_Pritchard property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20641359,P21,c(Q290))
action filter_type
action find
entity Q20641359
relation P21
type Q290
Arthur Pritchard belongs to [ANSWER]
['Q20641359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q20641359 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Arthur Pritchard belongs to male
male
action filter_type
action find
entity Arthur Pritchard
relation gender
type sex
['Arthur Pritchard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Arthur_Pritchard property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q79529
USER
Which chemical substance has that sex as its toponym ?
(c(Q79529),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q6581097 . ?l rdf:type ontology:Q79529 }
male
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:male . ?l rdf:type ontology:chemical_substance }
[]
chemical substance
Q19833612
SYSTEM
fabrièsite
Q19833612
(c(Q79529),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[ANSWER] has that sex as its toponym
[{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q6581097 . ?l rdf:type ontology:Q79529 }
fabrièsite
Fabrièsite has that sex as its toponym
fabrièsite
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:male . ?l rdf:type ontology:chemical_substance }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19833612
P2695
Q811979
USER
Which architectural structure is famous for containing that chemical substance ?
(Q19833612,P2695,c(Q811979))
action filter_type
action find
entity Q19833612
relation P2695
type Q811979
['Q19833612', 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { resource:Q19833612 property:P2695 ?j . ?j rdf:type ontology:Q811979 }
fabrièsite
action filter_type
action find
entity fabrièsite
relation type locality
type architectural structure
['fabrièsite', 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { resource:fabrièsite property:type_locality ?j . ?j rdf:type ontology:architectural_structure }
[]
architectural structure
Q24576101
SYSTEM
Hpakant-Tawmaw jade tract
Q24576101
(Q19833612,P2695,c(Q811979))
action filter_type
action find
entity Q19833612
relation P2695
type Q811979
[ANSWER] is famous for containing that chemical substance
['Q19833612', 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { resource:Q19833612 property:P2695 ?j . ?j rdf:type ontology:Q811979 }
Hpakant-Tawmaw jade tract
Hpakant-Tawmaw jade tract is famous for containing that chemical substance
Hpakant-Tawmaw jade tract
action filter_type
action find
entity fabrièsite
relation type locality
type architectural structure
['fabrièsite', 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { resource:fabrièsite property:type_locality ?j . ?j rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q35749 Q1752346 Q502895
USER
Which people have been mentioned in exactly 1 parliaments or assemblies ?
(c(Q502895),P248,c(Q35749)|c(Q1752346))
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q35749
action find_tuple_counts
relation P248
type Q502895
type Q1752346
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?l WHERE { { ?l property:P248 ?e . ?l rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1752346 } UNION { ?l property:P248 ?e . ?e rdf:type ontology:Q35749 . ?l rdf:type ontology:Q502895 } } GROUP BY ?l } }
action equal
action union
action find_tuple_counts
relation stated in
type common name
type parliament
action find_tuple_counts
relation stated in
type common name
type assembly
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?l WHERE { { ?l property:stated_in ?e . ?l rdf:type ontology:common_name . ?e rdf:type ontology:assembly } UNION { ?l property:stated_in ?e . ?e rdf:type ontology:parliament . ?l rdf:type ontology:common_name } } GROUP BY ?l } }
[]
parliament assembly 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(Q35749)|c(Q1752346))
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q35749
action find_tuple_counts
relation P248
type Q502895
type Q1752346
value 1
[ANSWERS] have been mentioned in exactly 1 parliaments or assemblies
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?l WHERE { { ?l property:P248 ?e . ?l rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1752346 } UNION { ?l property:P248 ?e . ?e rdf:type ontology:Q35749 . ?l rdf:type ontology:Q502895 } } GROUP BY ?l } }
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 mentioned in exactly 1 parliaments or assemblies
Greg Smith John Davies David Smith
action equal
action union
action find_tuple_counts
relation stated in
type common name
type parliament
action find_tuple_counts
relation stated in
type common name
type assembly
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?l WHERE { { ?l property:stated_in ?e . ?l rdf:type ontology:common_name . ?e rdf:type ontology:assembly } UNION { ?l property:stated_in ?e . ?e rdf:type ontology:parliament . ?l rdf:type ontology:common_name } } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q686533 Q19833612
P162 P138
Q502895
USER
Which people are fabrièsite named after or produced Gods and Monsters ?
OR((Q19833612,P138,c(Q502895)), (Q686533,P162,c(Q502895)))
action filter_type
action union
action find
entity Q19833612
relation P138
action find
entity Q686533
relation P162
type Q502895
{'OR': [['Q19833612', 'P138', {'concept': 'Q502895'}], ['Q686533', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q19833612 property:P138 ?w } UNION { resource:Q686533 property:P162 ?w } } . ?w rdf:type ontology:Q502895 }
Gods and Monsters fabrièsite
action filter_type
action union
action find
entity fabrièsite
relation named after
action find
entity Gods and Monsters
relation producer
type common name
{'OR': [['fabrièsite', 'named after', {'concept': 'common name'}], ['Gods and Monsters', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:fabrièsite property:named_after ?w } UNION { resource:Gods_and_Monsters property:producer ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q7149902 Q16644347
SYSTEM
Paul Colichman, Jacques Fabriès
Q7149902 Q16644347
OR((Q19833612,P138,c(Q502895)), (Q686533,P162,c(Q502895)))
action filter_type
action union
action find
entity Q19833612
relation P138
action find
entity Q686533
relation P162
type Q502895
[ANSWERS]
{'OR': [['Q19833612', 'P138', {'concept': 'Q502895'}], ['Q686533', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q19833612 property:P138 ?w } UNION { resource:Q686533 property:P162 ?w } } . ?w rdf:type ontology:Q502895 }
Paul Colichman Jacques Fabriès
Which people are fabrièsite named after or produced Gods and Monsters
Paul Colichman Jacques Fabriès
action filter_type
action union
action find
entity fabrièsite
relation named after
action find
entity Gods and Monsters
relation producer
type common name
{'OR': [['fabrièsite', 'named after', {'concept': 'common name'}], ['Gods and Monsters', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:fabrièsite property:named_after ?w } UNION { resource:Gods_and_Monsters property:producer ?w } } . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7149902 Q16644347
P21
Q290
USER
What are the sex of those people ?
(Q7149902,P21,c(Q290)) (Q16644347,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q7149902', 'P21', {'concept': 'Q290'}] ['Q16644347', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . ?w property:P21 ?n . VALUES ( ?w ) { ( resource:Q7149902 ) ( resource:Q16644347 ) } }
Paul Colichman Jacques Fabriès
action filter_type
action find
entity prev_answer
relation gender
type sex
['Paul Colichman', 'gender', {'concept': 'sex'}] ['Jacques Fabriès', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . ?w property:gender ?n . VALUES ( ?w ) { ( resource:Paul_Colichman ) ( resource:Jacques_Fabriès ) } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q7149902,P21,c(Q290)) (Q16644347,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are both [ANSWER] and [ANSWER]
['Q7149902', 'P21', {'concept': 'Q290'}] ['Q16644347', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . ?w property:P21 ?n . VALUES ( ?w ) { ( resource:Q7149902 ) ( resource:Q16644347 ) } }
male male
The sex of those people are both male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Paul Colichman', 'gender', {'concept': 'sex'}] ['Jacques Fabriès', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . ?w property:gender ?n . VALUES ( ?w ) { ( resource:Paul_Colichman ) ( resource:Jacques_Fabriès ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7149902
P1431
Q15416
USER
Which television program was Paul Colichman an executive producer of ?
(c(Q15416),P1431,Q7149902)
action filter_type
action find_reverse
entity Q7149902
relation P1431
type Q15416
[{'concept': 'Q15416'}, 'P1431', 'Q7149902']
SELECT DISTINCT ?t WHERE { ?t property:P1431 resource:Q7149902 . ?t rdf:type ontology:Q15416 }
Paul Colichman
action filter_type
action find_reverse
entity Paul Colichman
relation executive producer
type television program
[{'concept': 'television program'}, 'executive producer', 'Paul Colichman']
SELECT DISTINCT ?t WHERE { ?t property:executive_producer resource:Paul_Colichman . ?t rdf:type ontology:television_program }
[]
television program
Q7491827
SYSTEM
She's Living for This
Q7491827
(c(Q15416),P1431,Q7149902)
action filter_type
action find_reverse
entity Q7149902
relation P1431
type Q15416
[ANSWER] was Paul Colichman an executive producer of
[{'concept': 'Q15416'}, 'P1431', 'Q7149902']
SELECT DISTINCT ?t WHERE { ?t property:P1431 resource:Q7149902 . ?t rdf:type ontology:Q15416 }
She's Living for This
She's Living for This was Paul Colichman an executive producer of
She's Living for This
action filter_type
action find_reverse
entity Paul Colichman
relation executive producer
type television program
[{'concept': 'television program'}, 'executive producer', 'Paul Colichman']
SELECT DISTINCT ?t WHERE { ?t property:executive_producer resource:Paul_Colichman . ?t rdf:type ontology:television_program }
[]