Simple Question (Direct)
Simple Question
Q958594
P40
Q502895
USER
Which person is a successor of Francis Schaeffer ?
(Q958594,P40,c(Q502895))
action filter_type
action find
entity Q958594
relation P40
type Q502895
['Q958594', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q958594 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Francis Schaeffer
action filter_type
action find
entity Francis Schaeffer
relation child
type common name
['Francis Schaeffer', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Francis_Schaeffer property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q5489433
SYSTEM
Frank Schaeffer
Q5489433
(Q958594,P40,c(Q502895))
action filter_type
action find
entity Q958594
relation P40
type Q502895
[ANSWER] is a successor of Francis Schaeffer
['Q958594', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q958594 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Frank Schaeffer
Frank Schaeffer is a successor of Francis Schaeffer
Frank Schaeffer
action filter_type
action find
entity Francis Schaeffer
relation child
type common name
['Francis Schaeffer', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Francis_Schaeffer property:child ?k . ?k rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q379248
P1303
Q34379 Q502895
USER
How many musical instruments do less number of people know to play than Timbales ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q379248
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P1303 ?p . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P1303 resource:Q379248 . ?u rdf:type ontology:Q502895 } } . FILTER ( ?y < ?a ) }
Timbales
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Timbales
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:instrument ?p . ?d rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:instrument resource:Timbales . ?u rdf:type ontology:common_name } } . FILTER ( ?y < ?a ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q379248
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P1303 ?p . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P1303 resource:Q379248 . ?u rdf:type ontology:Q502895 } } . FILTER ( ?y < ?a ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Timbales
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:instrument ?p . ?d rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:instrument resource:Timbales . ?u rdf:type ontology:common_name } } . FILTER ( ?y < ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q958594
P50
Q2342494
USER
Which collectables were written by Francis Schaeffer ?
(c(Q2342494),P50,Q958594)
action filter_type
action find_reverse
entity Q958594
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q958594']
SELECT DISTINCT ?o WHERE { ?o property:P50 resource:Q958594 . ?o rdf:type ontology:Q2342494 }
Francis Schaeffer
action filter_type
action find_reverse
entity Francis Schaeffer
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Francis Schaeffer']
SELECT DISTINCT ?o WHERE { ?o property:author resource:Francis_Schaeffer . ?o rdf:type ontology:collectable }
[]
collectable
Q7736914 Q7225739 Q5688788
SYSTEM
The God Who Is There, Pollution and the Death of Man, He Is There and He Is Not Silent
Q7225739 Q7736914 Q5688788 Q7847520 Q5397031
(c(Q2342494),P50,Q958594)
action filter_type
action find_reverse
entity Q958594
relation P50
type Q2342494
The God Who is There, Pollution and the Death of Man and He is There and He is Not Silent were written by Francis Schaeffer
[{'concept': 'Q2342494'}, 'P50', 'Q958594']
SELECT DISTINCT ?o WHERE { ?o property:P50 resource:Q958594 . ?o rdf:type ontology:Q2342494 }
Pollution and the Death of Man The God Who Is There He Is There and He Is Not Silent True Spirituality Escape from Reason
The God Who is There, Pollution and the Death of Man and He is There and He is Not Silent were written by Francis Schaeffer
The God Who Is There Pollution and the Death of Man He Is There and He Is Not Silent
action filter_type
action find_reverse
entity Francis Schaeffer
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Francis Schaeffer']
SELECT DISTINCT ?o WHERE { ?o property:author resource:Francis_Schaeffer . ?o rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q958594
P22
Q502895
USER
Which person has that one as father ?
(c(Q502895),P22,Q7736914) (c(Q502895),P22,Q7225739) (c(Q502895),P22,Q5688788)
action filter_type
action find_reverse
entity Q958594
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7736914'] [{'concept': 'Q502895'}, 'P22', 'Q7225739'] [{'concept': 'Q502895'}, 'P22', 'Q5688788']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q958594 . ?k rdf:type ontology:Q502895 }
Francis Schaeffer
action filter_type
action find_reverse
entity Francis Schaeffer
relation father
type common name
[{'concept': 'common name'}, 'father', 'The God Who Is There'] [{'concept': 'common name'}, 'father', 'Pollution and the Death of Man'] [{'concept': 'common name'}, 'father', 'He Is There and He Is Not Silent']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Francis_Schaeffer . ?k rdf:type ontology:common_name }
[]
common name
Q5489433
SYSTEM
Frank Schaeffer
Q5489433
(c(Q502895),P22,Q7736914) (c(Q502895),P22,Q7225739) (c(Q502895),P22,Q5688788)
action filter_type
action find_reverse
entity Q958594
relation P22
type Q502895
[ANSWER] has that one as father
[{'concept': 'Q502895'}, 'P22', 'Q7736914'] [{'concept': 'Q502895'}, 'P22', 'Q7225739'] [{'concept': 'Q502895'}, 'P22', 'Q5688788']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q958594 . ?k rdf:type ontology:Q502895 }
Frank Schaeffer
Frank Schaeffer has that one as father
Frank Schaeffer
action filter_type
action find_reverse
entity Francis Schaeffer
relation father
type common name
[{'concept': 'common name'}, 'father', 'The God Who Is There'] [{'concept': 'common name'}, 'father', 'Pollution and the Death of Man'] [{'concept': 'common name'}, 'father', 'He Is There and He Is Not Silent']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Francis_Schaeffer . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21664274 Q958594
P69 P485
Q163740
USER
Which nonprofit organizations hold the archives of Francis Schaeffer or were William Herbert Carruth educated ?
OR((Q958594,P485,c(Q163740)), (Q21664274,P69,c(Q163740)))
action filter_type
action union
action find
entity Q958594
relation P485
action find
entity Q21664274
relation P69
type Q163740
{'OR': [['Q958594', 'P485', {'concept': 'Q163740'}], ['Q21664274', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q958594 property:P485 ?m } UNION { resource:Q21664274 property:P69 ?m } } . ?m rdf:type ontology:Q163740 }
William Herbert Carruth Francis Schaeffer
action filter_type
action union
action find
entity Francis Schaeffer
relation archives at
action find
entity William Herbert Carruth
relation educated at
type nonprofit organization
{'OR': [['Francis Schaeffer', 'archives at', {'concept': 'nonprofit organization'}], ['William Herbert Carruth', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Francis_Schaeffer property:archives_at ?m } UNION { resource:William_Herbert_Carruth property:educated_at ?m } } . ?m rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371 Q747179
SYSTEM
Harvard University, Wheaton College
Q13371 Q747179
OR((Q958594,P485,c(Q163740)), (Q21664274,P69,c(Q163740)))
action filter_type
action union
action find
entity Q958594
relation P485
action find
entity Q21664274
relation P69
type Q163740
[ANSWERS] hold the archives of Francis Schaeffer or were William Herbert Carruth educated
{'OR': [['Q958594', 'P485', {'concept': 'Q163740'}], ['Q21664274', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q958594 property:P485 ?m } UNION { resource:Q21664274 property:P69 ?m } } . ?m rdf:type ontology:Q163740 }
Harvard University Wheaton College
Harvard University and Wheaton College hold the archives of Francis Schaeffer or were William Herbert Carruth educated
Harvard University Wheaton College
action filter_type
action union
action find
entity Francis Schaeffer
relation archives at
action find
entity William Herbert Carruth
relation educated at
type nonprofit organization
{'OR': [['Francis Schaeffer', 'archives at', {'concept': 'nonprofit organization'}], ['William Herbert Carruth', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Francis_Schaeffer property:archives_at ?m } UNION { resource:William_Herbert_Carruth property:educated_at ?m } } . ?m rdf:type ontology:nonprofit_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q747179
P140
Q874405
USER
Which social group is the religion of that nonprofit organization ?
(Q747179,P140,c(Q874405))
action filter_type
action find
entity Q747179
relation P140
type Q874405
['Q747179', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q747179 property:P140 ?r . ?r rdf:type ontology:Q874405 }
Wheaton College
action filter_type
action find
entity Wheaton College
relation religion
type social group
['Wheaton College', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Wheaton_College property:religion ?r . ?r rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q13371
SYSTEM
Did you mean Harvard University ?
Q13371 Q747179
(Q13371,P140,c(Q874405)) (Q747179,P140,c(Q874405))
[ANSWER]
['Q13371', 'P140', {'concept': 'Q874405'}] ['Q747179', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q747179 property:P140 ?r . ?r rdf:type ontology:Q874405 }
Harvard University Wheaton College
Did you mean Harvard University ?
Harvard University
['Harvard University', 'religion', {'concept': 'social group'}] ['Wheaton College', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Wheaton_College property:religion ?r . ?r rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Wheaton College. Could you tell me the answer for that?
(Q747179,P140,c(Q874405))
Q747179
['Q747179', 'P140', {'concept': 'Q874405'}]
['Wheaton College', 'religion', {'concept': 'social group'}]
[]
Q16055034
SYSTEM
undenominationalism
Q16055034
(Q747179,P140,c(Q874405))
action filter_type
action find
entity Q747179
relation P140
type Q874405
[ANSWER] is the religion of that nonprofit organization
['Q747179', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q747179 property:P140 ?r . ?r rdf:type ontology:Q874405 }
undenominationalism
Undenominationalism is the religion of that nonprofit organization
undenominationalism
action filter_type
action find
entity Wheaton College
relation religion
type social group
['Wheaton College', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Wheaton_College property:religion ?r . ?r rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P140
Q874405
USER
How many social groups are the religions associated with that social group ?
(Q16055034,P140,c(Q874405))
action count
action filter_type
action find
entity Q16055034
relation P140
type Q874405
['Q16055034', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:Q874405 . resource:Q16055034 property:P140 ?a }
action count
action filter_type
action find
entity undenominationalism
relation religion
type social group
['undenominationalism', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:social_group . resource:undenominationalism property:religion ?a }
[]
social group
SYSTEM
1
Q5043
(Q16055034,P140,c(Q874405))
action count
action filter_type
action find
entity Q16055034
relation P140
type Q874405
[ANSWER]
['Q16055034', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:Q874405 . resource:Q16055034 property:P140 ?a }
Christianity
1
action count
action filter_type
action find
entity undenominationalism
relation religion
type social group
['undenominationalism', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ontology:social_group . resource:undenominationalism property:religion ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q10484117
P137
Q874405 Q62447
USER
How many aerodromes can be described as service operator of greater number of social groups than Eneryda Airbase ?
(c(Q62447),P137,c(Q874405))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q874405
action count
action filter_type
action find
entity Q10484117
relation P137
type Q62447
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { ?s rdf:type ontology:Q62447 . ?v rdf:type ontology:Q874405 . ?s property:P137 ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q10484117 property:P137 ?y . ?y rdf:type ontology:Q62447 } } . FILTER ( ?w > ?z ) }
Eneryda Airbase
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type social group
action count
action filter_type
action find
entity Eneryda Airbase
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { ?s rdf:type ontology:aerodrome . ?v rdf:type ontology:social_group . ?s property:operator ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Eneryda_Airbase property:operator ?y . ?y rdf:type ontology:aerodrome } } . FILTER ( ?w > ?z ) }
[]
social group aerodrome
SYSTEM
8
Q2788843 Q9001 Q1432146 Q771340 Q466835 Q429304 Q1416280 Q127958
(c(Q62447),P137,c(Q874405))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q874405
action count
action filter_type
action find
entity Q10484117
relation P137
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { ?s rdf:type ontology:Q62447 . ?v rdf:type ontology:Q874405 . ?s property:P137 ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q10484117 property:P137 ?y . ?y rdf:type ontology:Q62447 } } . FILTER ( ?w > ?z ) }
Bantayan Airport Isle of Man Airport Nashville International Airport William P. Hobby Airport Washington Dulles International Airport Marrakesh Menara Airport Agadir–Al Massira Airport Thessaloniki International Airport
8
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type social group
action count
action filter_type
action find
entity Eneryda Airbase
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { ?s rdf:type ontology:aerodrome . ?v rdf:type ontology:social_group . ?s property:operator ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Eneryda_Airbase property:operator ?y . ?y rdf:type ontology:aerodrome } } . FILTER ( ?w > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q478595
P137
Q874405 Q62447
USER
And how about Tan Son Nhat International Airport?
(c(Q62447),P137,c(Q874405))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q874405
action count
action filter_type
action find
entity Q478595
relation P137
type Q62447
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?a ) WHERE { ?g property:P137 ?b . ?g rdf:type ontology:Q62447 . ?b rdf:type ontology:Q874405 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:Q62447 . resource:Q478595 property:P137 ?q } } . FILTER ( ?a > ?o ) }
Tan Son Nhat International Airport
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type social group
action count
action filter_type
action find
entity Tan Son Nhat International Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?a ) WHERE { ?g property:operator ?b . ?g rdf:type ontology:aerodrome . ?b rdf:type ontology:social_group } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:aerodrome . resource:Tan_Son_Nhat_International_Airport property:operator ?q } } . FILTER ( ?a > ?o ) }
[]
social group aerodrome
SYSTEM
8
Q2788843 Q9001 Q1432146 Q771340 Q466835 Q429304 Q1416280 Q127958
(c(Q62447),P137,c(Q874405))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q874405
action count
action filter_type
action find
entity Q478595
relation P137
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?a ) WHERE { ?g property:P137 ?b . ?g rdf:type ontology:Q62447 . ?b rdf:type ontology:Q874405 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:Q62447 . resource:Q478595 property:P137 ?q } } . FILTER ( ?a > ?o ) }
Bantayan Airport Isle of Man Airport Nashville International Airport William P. Hobby Airport Washington Dulles International Airport Marrakesh Menara Airport Agadir–Al Massira Airport Thessaloniki International Airport
8
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type social group
action count
action filter_type
action find
entity Tan Son Nhat International Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?a ) WHERE { ?g property:operator ?b . ?g rdf:type ontology:aerodrome . ?b rdf:type ontology:social_group } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:aerodrome . resource:Tan_Son_Nhat_International_Airport property:operator ?q } } . FILTER ( ?a > ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2993164 Q7736914
P50
Q502895
USER
Which people were the writers of The God Who Is There or Twilight Watch ?
OR((Q7736914,P50,c(Q502895)), (Q2993164,P50,c(Q502895)))
action filter_type
action union
action find
entity Q7736914
relation P50
action find
entity Q2993164
relation P50
type Q502895
{'OR': [['Q7736914', 'P50', {'concept': 'Q502895'}], ['Q2993164', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q7736914 property:P50 ?q } UNION { resource:Q2993164 property:P50 ?q } } . ?q rdf:type ontology:Q502895 }
Twilight Watch The God Who Is There
action filter_type
action union
action find
entity The God Who Is There
relation author
action find
entity Twilight Watch
relation author
type common name
{'OR': [['The God Who Is There', 'author', {'concept': 'common name'}], ['Twilight Watch', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_God_Who_Is_There property:author ?q } UNION { resource:Twilight_Watch property:author ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q958594 Q52224
SYSTEM
Francis Schaeffer, Sergey Lukyanenko
Q958594 Q52224
OR((Q7736914,P50,c(Q502895)), (Q2993164,P50,c(Q502895)))
action filter_type
action union
action find
entity Q7736914
relation P50
action find
entity Q2993164
relation P50
type Q502895
[ANSWERS] were the writers of The God Who Is There or Twilight Watch
{'OR': [['Q7736914', 'P50', {'concept': 'Q502895'}], ['Q2993164', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q7736914 property:P50 ?q } UNION { resource:Q2993164 property:P50 ?q } } . ?q rdf:type ontology:Q502895 }
Francis Schaeffer Sergey Lukyanenko
Francis Schaeffer and Sergey Lukyanenko were the writers of The God Who Is There or Twilight Watch
Francis Schaeffer Sergey Lukyanenko
action filter_type
action union
action find
entity The God Who Is There
relation author
action find
entity Twilight Watch
relation author
type common name
{'OR': [['The God Who Is There', 'author', {'concept': 'common name'}], ['Twilight Watch', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_God_Who_Is_There property:author ?q } UNION { resource:Twilight_Watch property:author ?q } } . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q958594
P1412
Q34770
USER
Which language does that person speak in ?
(Q958594,P1412,c(Q34770))
action filter_type
action find
entity Q958594
relation P1412
type Q34770
['Q958594', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q958594 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Francis Schaeffer
action filter_type
action find
entity Francis Schaeffer
relation languages spoken, written or signed
type language
['Francis Schaeffer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Francis_Schaeffer property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q958594
SYSTEM
Did you mean Francis Schaeffer ?
Q958594 Q52224
(Q958594,P1412,c(Q34770)) (Q52224,P1412,c(Q34770))
[ANSWER]
['Q958594', 'P1412', {'concept': 'Q34770'}] ['Q52224', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q958594 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Francis Schaeffer Sergey Lukyanenko
Did you mean Francis Schaeffer ?
Francis Schaeffer
['Francis Schaeffer', 'languages spoken, written or signed', {'concept': 'language'}] ['Sergey Lukyanenko', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Francis_Schaeffer property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q958594,P1412,c(Q34770))
['Q958594', 'P1412', {'concept': 'Q34770'}]
['Francis Schaeffer', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q958594,P1412,c(Q34770))
action filter_type
action find
entity Q958594
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q958594', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q958594 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Francis Schaeffer
relation languages spoken, written or signed
type language
['Francis Schaeffer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Francis_Schaeffer property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]