Simple Question (Direct)
Simple Question
Q5344445
P1412
Q34770
USER
Which language can Edward Michael Conolly read ?
(Q5344445,P1412,c(Q34770))
action filter_type
action find
entity Q5344445
relation P1412
type Q34770
['Q5344445', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q5344445 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Edward Michael Conolly
action filter_type
action find
entity Edward Michael Conolly
relation languages spoken, written or signed
type language
['Edward Michael Conolly', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Edward_Michael_Conolly property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5344445,P1412,c(Q34770))
action filter_type
action find
entity Q5344445
relation P1412
type Q34770
Edward Michael Conolly can read in [ANSWER]
['Q5344445', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q5344445 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
English
Edward Michael Conolly can read in English
English
action filter_type
action find
entity Edward Michael Conolly
relation languages spoken, written or signed
type language
['Edward Michael Conolly', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Edward_Michael_Conolly property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5344445
P106
Q12737077
USER
What is the job of that person ?
(Q1860,P106,c(Q12737077))
action filter_type
action find
entity Q5344445
relation P106
type Q12737077
['Q1860', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5344445 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Edward Michael Conolly
action filter_type
action find
entity Edward Michael Conolly
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Michael_Conolly property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1860,P106,c(Q12737077))
action filter_type
action find
entity Q5344445
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q1860', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5344445 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Edward Michael Conolly
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Michael_Conolly property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5344445
P21
Q290
USER
Which sex does Edward Michael Conolly belong to ?
(Q5344445,P21,c(Q290))
action filter_type
action find
entity Q5344445
relation P21
type Q290
['Q5344445', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q5344445 property:P21 ?o . ?o rdf:type ontology:Q290 }
Edward Michael Conolly
action filter_type
action find
entity Edward Michael Conolly
relation gender
type sex
['Edward Michael Conolly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Michael_Conolly property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5344445,P21,c(Q290))
action filter_type
action find
entity Q5344445
relation P21
type Q290
Edward Michael Conolly belongs to [ANSWER]
['Q5344445', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q5344445 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Edward Michael Conolly belongs to male
male
action filter_type
action find
entity Edward Michael Conolly
relation gender
type sex
['Edward Michael Conolly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Edward_Michael_Conolly property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3442052
Q290
USER
And what about Rory Markas?
(Q3442052,P21,c(Q290))
action filter_type
action find
entity Q3442052
relation P21
type Q290
['Q3442052', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3442052 property:P21 ?t . ?t rdf:type ontology:Q290 }
Rory Markas
action filter_type
action find
entity Rory Markas
relation gender
type sex
['Rory Markas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Rory_Markas property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3442052,P21,c(Q290))
action filter_type
action find
entity Q3442052
relation P21
type Q290
[ANSWER]
['Q3442052', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3442052 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Rory Markas
relation gender
type sex
['Rory Markas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Rory_Markas property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6118734 Q5344445
P39
Q12737077
USER
Which occupations were the positions for which Edward Michael Conolly and Jacob Henry Tillett were appointed ?
AND((Q5344445,P39,c(Q12737077)), (Q6118734,P39,c(Q12737077)))
action filter_type
action intersection
action find
entity Q5344445
relation P39
action find
entity Q6118734
relation P39
type Q12737077
{'AND': [['Q5344445', 'P39', {'concept': 'Q12737077'}], ['Q6118734', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { resource:Q5344445 property:P39 ?p . resource:Q6118734 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Jacob Henry Tillett Edward Michael Conolly
action filter_type
action intersection
action find
entity Edward Michael Conolly
relation position held
action find
entity Jacob Henry Tillett
relation position held
type occupation
{'AND': [['Edward Michael Conolly', 'position held', {'concept': 'occupation'}], ['Jacob Henry Tillett', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { resource:Edward_Michael_Conolly property:position_held ?p . resource:Jacob_Henry_Tillett property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
AND((Q5344445,P39,c(Q12737077)), (Q6118734,P39,c(Q12737077)))
action filter_type
action intersection
action find
entity Q5344445
relation P39
action find
entity Q6118734
relation P39
type Q12737077
[ANSWER] was the positions for which Edward Michael Conolly and Jacob Henry Tillett was appointed
{'AND': [['Q5344445', 'P39', {'concept': 'Q12737077'}], ['Q6118734', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { resource:Q5344445 property:P39 ?p . resource:Q6118734 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom was the positions for which Edward Michael Conolly and Jacob Henry Tillett was appointed
Member of Parliament in the United Kingdom
action filter_type
action intersection
action find
entity Edward Michael Conolly
relation position held
action find
entity Jacob Henry Tillett
relation position held
type occupation
{'AND': [['Edward Michael Conolly', 'position held', {'concept': 'occupation'}], ['Jacob Henry Tillett', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { resource:Edward_Michael_Conolly property:position_held ?p . resource:Jacob_Henry_Tillett property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4308284 Q5344445
P39
Q12737077
USER
Which occupations were the positions held by Edward Michael Conolly or Jennifer Musa ?
OR((Q5344445,P39,c(Q12737077)), (Q4308284,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q5344445
relation P39
action find
entity Q4308284
relation P39
type Q12737077
{'OR': [['Q5344445', 'P39', {'concept': 'Q12737077'}], ['Q4308284', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Q4308284 ) ( resource:Q5344445 ) } . ?w property:P39 ?l } . ?l rdf:type ontology:Q12737077 }
Jennifer Musa Edward Michael Conolly
action filter_type
action union
action find
entity Edward Michael Conolly
relation position held
action find
entity Jennifer Musa
relation position held
type occupation
{'OR': [['Edward Michael Conolly', 'position held', {'concept': 'occupation'}], ['Jennifer Musa', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Jennifer_Musa ) ( resource:Edward_Michael_Conolly ) } . ?w property:position_held ?l } . ?l rdf:type ontology:occupation }
[]
occupation
Q20760546 Q16707842
SYSTEM
Member of the National Assembly of Pakistan, Member of Parliament in the United Kingdom
Q20760546 Q16707842
OR((Q5344445,P39,c(Q12737077)), (Q4308284,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q5344445
relation P39
action find
entity Q4308284
relation P39
type Q12737077
[ANSWERS] were the positions held by Edward Michael Conolly or Jennifer Musa
{'OR': [['Q5344445', 'P39', {'concept': 'Q12737077'}], ['Q4308284', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Q4308284 ) ( resource:Q5344445 ) } . ?w property:P39 ?l } . ?l rdf:type ontology:Q12737077 }
Member of the National Assembly of Pakistan Member of Parliament in the United Kingdom
Member of the National Assembly of Pakistan and Member of Parliament in the United Kingdom were the positions held by Edward Michael Conolly or Jennifer Musa
Member of the National Assembly of Pakistan Member of Parliament in the United Kingdom
action filter_type
action union
action find
entity Edward Michael Conolly
relation position held
action find
entity Jennifer Musa
relation position held
type occupation
{'OR': [['Edward Michael Conolly', 'position held', {'concept': 'occupation'}], ['Jennifer Musa', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?w ) { ( resource:Jennifer_Musa ) ( resource:Edward_Michael_Conolly ) } . ?w property:position_held ?l } . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20760546 Q16707842
P1001
Q15617994
USER
Which administrative territories come under the jurisdiction of those occupations ?
(Q20760546,P1001,c(Q15617994)) (Q16707842,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q20760546', 'P1001', {'concept': 'Q15617994'}] ['Q16707842', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?e property:P1001 ?s . VALUES ( ?e ) { ( resource:Q20760546 ) ( resource:Q16707842 ) } . ?s rdf:type ontology:Q15617994 }
Member of the National Assembly of Pakistan Member of Parliament in the United Kingdom
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the National Assembly of Pakistan', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?e property:applies_to_jurisdiction ?s . VALUES ( ?e ) { ( resource:Member_of_the_National_Assembly_of_Pakistan ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843 Q145
SYSTEM
Pakistan, United Kingdom
Q843 Q145
(Q20760546,P1001,c(Q15617994)) (Q16707842,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS] come under the jurisdiction of those occupations
['Q20760546', 'P1001', {'concept': 'Q15617994'}] ['Q16707842', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?e property:P1001 ?s . VALUES ( ?e ) { ( resource:Q20760546 ) ( resource:Q16707842 ) } . ?s rdf:type ontology:Q15617994 }
Pakistan United Kingdom
Pakistan and United Kingdom come under the jurisdiction of those occupations
Pakistan United Kingdom
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the National Assembly of Pakistan', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?e property:applies_to_jurisdiction ?s . VALUES ( ?e ) { ( resource:Member_of_the_National_Assembly_of_Pakistan ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q843 Q145
P159
Q43229
USER
Which organizations have HQ at those administrative territories ?
(c(Q43229),P159,Q843) (c(Q43229),P159,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q843'] [{'concept': 'Q43229'}, 'P159', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P159 ?i . ?z rdf:type ontology:Q43229 . VALUES ( ?i ) { ( resource:Q843 ) ( resource:Q145 ) } }
Pakistan United Kingdom
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Pakistan'] [{'concept': 'organization'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:headquarters_location ?i . ?z rdf:type ontology:organization . VALUES ( ?i ) { ( resource:Pakistan ) ( resource:United_Kingdom ) } }
[]
organization
Q740559 Q1983591 Q5303672
SYSTEM
Graftgold, Renegade Software, Dowty Rotol
Q17027525 Q4827750 Q17067500 Q7855624 Q4788543 Q7864915 Q1983591 Q5303672 Q16971066 Q17101734 Q5393358 Q7864931 Q16249688 Q6662870 Q7135547 Q294849 Q2055297 Q5288441 Q3796545 Q6553037 Q5289303 Q5519528 Q7925348 Q6978890 Q6521101 Q1495018 Q5073284 Q5063181 Q5564102 Q6048188 Q19872405 Q4689454 Q5270583 Q3645095 Q16850876 Q60033 Q740559 Q5441282 Q6358686 Q5264294 Q19604616 Q18162020 Q17148363 Q6929437 Q17032096 Q8042941 Q1226566 Q4691850 Q17100665 Q6739340 Q7246523 Q2828220 Q6458792 Q7978823 Q6398515 Q7747433 Q17017990 Q5971572 Q7597799 Q5086817 Q5603199 Q6044011 Q7755046 Q7774963 Q5559440 Q5053998 Q2130281 Q6753800 Q3046634 Q7247909 Q7981439 Q5206357 Q7510916 Q6040404 Q5331201 Q5327508 Q5415877 Q5305209 Q4869748 Q8252257 Q4727397 Q16204559 Q5309267 Q6417014 Q5156523 Q392140 Q6954773 Q2858969 Q7623070 Q7759409 Q7933893 Q5136532 Q3568505 Q5281211 Q5417852 Q5453090 Q16997436 Q16953805 Q16994995 Q5158390 Q6824811 Q408697 Q2105067 Q17113395 Q5014833 Q4035073 Q7679879 Q16242914 Q2005933 Q5211789 Q6696066
(c(Q43229),P159,Q843) (c(Q43229),P159,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[ANSWERS] have HQ at those administrative territories
[{'concept': 'Q43229'}, 'P159', 'Q843'] [{'concept': 'Q43229'}, 'P159', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P159 ?i . ?z rdf:type ontology:Q43229 . VALUES ( ?i ) { ( resource:Q843 ) ( resource:Q145 ) } }
Nai Zindagi Trust Avari Hotels Integrated Defence Systems Turn2us Area Gas Boards UK Online Renegade Software Dowty Rotol Ashtons Emerson Group Ernest Jones UK Property Shop ELGIN Lloyds Pharmacy Paranormal Site Investigators Comet Group Freesat Dogs Trust Image Works LineOne Dolls House Emporium GamCare Vickers plc National Telephone Company Lembrassa Help the Aged Chapman Guitars Century Network Giraffe Restaurants International Animal Rescue Crimpy AfriMobile Dialog Vizz British UFO Research Association Joseph Rowntree Foundation Waterlow and Sons Graftgold Feel Good Drinks Co Kamkorp Design Research Society Warren James Jewellers Netto UK Independent Betting Adjudication Service Mr Muscle Semichem Xansa Dinky Toys Age UK National Froebel Foundation Makhad Trust Priyo Mobile Air Partner PLC LIRIC Associates WebsEdge Keystone accountability The Link Southern Whaling and Sealing Company IKEA Family Mobile Stan Mobile Chartered Institute of Logistics and Transport Green Shield Stamps Intelligent Games The One Network The Wildlife Trusts Gibsons Games Cats Protection Associated Motor Cycles Mapesbury Communications Ltd Easynet Profero Wellington Lodge DVDVideoSoft Siemens Plessey Institute of IT Training Easynet Connect Easily Ltd Evans Dragon Gate UK Battersea Dogs and Cats Home British Airways Ltd. Alive & Kicking QuidditchUK Drumond Park Kiss Network CompletelyNovel Age Concern NNB Generation Company Apricot Computers Streetcar The Range Home and Leisure Virgin Care Clubland William Clark & Sons Disabled Motoring UK Everyman Cinemas First Independent Films Matamp MPP Global Solutions Internacionale Retail Concept Searching Limited Metrocab Airfix Porterbrook Maclure, Macdonald and Co. CWC Group Limited Beyond Software Talkmobile Angels Den Rivarossi Dalya Mobile LucasVarity
Graftgold, Renegade Software and Dowty Rotol have HQ at those administrative territories
Graftgold Renegade Software Dowty Rotol
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Pakistan'] [{'concept': 'organization'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:headquarters_location ?i . ?z rdf:type ontology:organization . VALUES ( ?i ) { ( resource:Pakistan ) ( resource:United_Kingdom ) } }
[]