Simple Question (Direct)
Simple Question
Q13914359
P106
Q12737077
USER
What is the job of Mahdi Kamil ?
(Q13914359,P106,c(Q12737077))
action filter_type
action find
entity Q13914359
relation P106
type Q12737077
['Q13914359', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q13914359 property:P106 ?o }
Mahdi Kamil
action filter_type
action find
entity Mahdi Kamil
relation occupation
type occupation
['Mahdi Kamil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Mahdi_Kamil property:occupation ?o }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q13914359,P106,c(Q12737077))
action filter_type
action find
entity Q13914359
relation P106
type Q12737077
The job of Mahdi Kamil is an [ANSWER]
['Q13914359', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q13914359 property:P106 ?o }
association football player
The job of Mahdi Kamil is an association football player
association football player
action filter_type
action find
entity Mahdi Kamil
relation occupation
type occupation
['Mahdi Kamil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Mahdi_Kamil property:occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13914359
P54
Q1194951
USER
Which national sports team is Mahdi Kamil a member of ?
(Q13914359,P54,c(Q1194951))
action filter_type
action find
entity Q13914359
relation P54
type Q1194951
['Q13914359', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q13914359 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Mahdi Kamil
action filter_type
action find
entity Mahdi Kamil
relation member of sports team
type national sports team
['Mahdi Kamil', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Mahdi_Kamil property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q186243
SYSTEM
Iraq national football team
Q186243
(Q13914359,P54,c(Q1194951))
action filter_type
action find
entity Q13914359
relation P54
type Q1194951
And [ANSWER] is Mahdi Kamil a member of
['Q13914359', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q13914359 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Iraq national football team
And Iraq national football team is Mahdi Kamil a member of
Iraq national football team
action filter_type
action find
entity Mahdi Kamil
relation member of sports team
type national sports team
['Mahdi Kamil', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Mahdi_Kamil property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186243
P1923
Q15275719
USER
Which recurring event did that national sports team take part in ?
(c(Q15275719),P1923,Q186243)
action filter_type
action find_reverse
entity Q186243
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q186243']
SELECT DISTINCT ?d WHERE { ?d property:P1923 resource:Q186243 . ?d rdf:type ontology:Q15275719 }
Iraq national football team
action filter_type
action find_reverse
entity Iraq national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Iraq national football team']
SELECT DISTINCT ?d WHERE { ?d property:participating_teams resource:Iraq_national_football_team . ?d rdf:type ontology:recurring_event }
[]
recurring event
Q46938
SYSTEM
1986 FIFA World Cup
Q46938
(c(Q15275719),P1923,Q186243)
action filter_type
action find_reverse
entity Q186243
relation P1923
type Q15275719
Part that national sports team took in the [ANSWER]
[{'concept': 'Q15275719'}, 'P1923', 'Q186243']
SELECT DISTINCT ?d WHERE { ?d property:P1923 resource:Q186243 . ?d rdf:type ontology:Q15275719 }
1986 FIFA World Cup
Part that national sports team took in the 1986 FIFA World Cup
1986 FIFA World Cup
action filter_type
action find_reverse
entity Iraq national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Iraq national football team']
SELECT DISTINCT ?d WHERE { ?d property:participating_teams resource:Iraq_national_football_team . ?d rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q186243
P1344
Q15275719
USER
Which recurring event did Iraq national football team compete in ?
(Q186243,P1344,c(Q15275719))
action filter_type
action find
entity Q186243
relation P1344
type Q15275719
['Q186243', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15275719 . resource:Q186243 property:P1344 ?b }
Iraq national football team
action filter_type
action find
entity Iraq national football team
relation participant of
type recurring event
['Iraq national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:recurring_event . resource:Iraq_national_football_team property:participant_of ?b }
[]
recurring event
Q46938
SYSTEM
1986 FIFA World Cup
Q46938
(Q186243,P1344,c(Q15275719))
action filter_type
action find
entity Q186243
relation P1344
type Q15275719
Iraq national football team competed in [ANSWER]
['Q186243', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15275719 . resource:Q186243 property:P1344 ?b }
1986 FIFA World Cup
Iraq national football team competed in 1986 FIFA World Cup
1986 FIFA World Cup
action filter_type
action find
entity Iraq national football team
relation participant of
type recurring event
['Iraq national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:recurring_event . resource:Iraq_national_football_team property:participant_of ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q571693
Q15275719
USER
And what about Omar Gonzalez?
(Q571693,P1344,c(Q15275719))
action filter_type
action find
entity Q571693
relation P1344
type Q15275719
['Q571693', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?i WHERE { resource:Q571693 property:P1344 ?i . ?i rdf:type ontology:Q15275719 }
Omar Gonzalez
action filter_type
action find
entity Omar Gonzalez
relation participant of
type recurring event
['Omar Gonzalez', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?i WHERE { resource:Omar_Gonzalez property:participant_of ?i . ?i rdf:type ontology:recurring_event }
[]
recurring event
Q79859
SYSTEM
2014 FIFA World Cup
Q79859
(Q571693,P1344,c(Q15275719))
action filter_type
action find
entity Q571693
relation P1344
type Q15275719
[ANSWER]
['Q571693', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?i WHERE { resource:Q571693 property:P1344 ?i . ?i rdf:type ontology:Q15275719 }
2014 FIFA World Cup
2014 FIFA World Cup
action filter_type
action find
entity Omar Gonzalez
relation participant of
type recurring event
['Omar Gonzalez', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?i WHERE { resource:Omar_Gonzalez property:participant_of ?i . ?i rdf:type ontology:recurring_event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q15275719 Q500834 Q2031291
USER
How many recurring events are approximately the same number of tournaments and releases a component of as that recurring event ?
(c(Q500834)|c(Q2031291),P361,c(Q15275719))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q15275719
type Q500834
action find_reverse_tuple_counts
relation P361
type Q15275719
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q79859
relation P361
type Q500834
type Q2031291
[[{'concept': 'Q500834'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q500834 ) ( ontology:Q2031291 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P361 resource:Q79859 . { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q500834 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?x = ?h ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type recurring event
type tournament
action find_reverse_tuple_counts
relation part of
type recurring event
type release
action count
action filter_multi_types
action find_reverse
entity 2014 FIFA World Cup
relation part of
type tournament
type release
[[{'concept': 'tournament'}, {'concept': 'release'}], 'part of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:tournament ) ( ontology:release ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:part_of resource:2014_FIFA_World_Cup . { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:tournament ) ( ontology:release ) } } } } . FILTER ( ?x = ?h ) }
[]
recurring event tournament release
SYSTEM
2
Q176883 Q79859
(c(Q500834)|c(Q2031291),P361,c(Q15275719))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q15275719
type Q500834
action find_reverse_tuple_counts
relation P361
type Q15275719
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q79859
relation P361
type Q500834
type Q2031291
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q500834 ) ( ontology:Q2031291 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P361 resource:Q79859 . { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q500834 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?x = ?h ) }
2010 FIFA World Cup 2014 FIFA World Cup
2
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type recurring event
type tournament
action find_reverse_tuple_counts
relation part of
type recurring event
type release
action count
action filter_multi_types
action find_reverse
entity 2014 FIFA World Cup
relation part of
type tournament
type release
[[{'concept': 'tournament'}, {'concept': 'release'}], 'part of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:tournament ) ( ontology:release ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:part_of resource:2014_FIFA_World_Cup . { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:tournament ) ( ontology:release ) } } } } . FILTER ( ?x = ?h ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q937857 Q186243
P54 P106
Q502895
USER
Which people play for the team named Iraq national football team and have the profession as association football player ?
AND((c(Q502895),P54,Q186243), (c(Q502895),P106,Q937857))
action filter_type
action intersection
action find_reverse
entity Q186243
relation P54
action find_reverse
entity Q937857
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q186243'], [{'concept': 'Q502895'}, 'P106', 'Q937857']]}
SELECT DISTINCT ?m WHERE { ?m property:P54 resource:Q186243 . ?m property:P106 resource:Q937857 . ?m rdf:type ontology:Q502895 }
association football player Iraq national football team
action filter_type
action intersection
action find_reverse
entity Iraq national football team
relation member of sports team
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Iraq national football team'], [{'concept': 'common name'}, 'occupation', 'association football player']]}
SELECT DISTINCT ?m WHERE { ?m property:member_of_sports_team resource:Iraq_national_football_team . ?m property:occupation resource:association_football_player . ?m rdf:type ontology:common_name }
[]
common name
Q331433 Q726777 Q16235786 Q6943819 Q6126804 Q6956805 Q5638986 Q4742129 Q19904166 Q368870
SYSTEM
Some of them are Raad Hammoudi, Mahdi Karim, Mohammed Jabbar Rubat, Muthana Khalid, Jalil Zaidan Agool, Nabeel Sabah, Haidar Abdul-Jabar, Ameer Sabah, Jalil Hanoon, Hawar Mulla Mohammed
Q3814935 Q4705119 Q4683880 Q8027714 Q473313 Q6943305 Q6126804 Q5949650 Q7398237 Q7404495 Q7175991 Q15983047 Q13635576 Q5301223 Q5368780 Q3806421 Q5984603 Q4120073 Q1569060 Q4831597 Q21066439 Q620322 Q3946508 Q16235786 Q15983050 Q6893122 Q4120195 Q21004702 Q4683898 Q3603377 Q3959043 Q2715708 Q4724921 Q4120199 Q7424008 Q6164186 Q3617882 Q1373263 Q726777 Q5338371 Q762175 Q19560852 Q5638986 Q21004882 Q8027712 Q956267 Q626305 Q9142733 Q4747182 Q21266356 Q4695375 Q18057258 Q2610160 Q2610167 Q6943210 Q12203667 Q368870 Q258593 Q5368771 Q7403424 Q6956805 Q7282655 Q5679867 Q5399353 Q4725075 Q617369 Q6942936 Q15712000 Q4724561 Q4725181 Q6164178 Q4695778 Q4695462 Q4115806 Q7409510 Q16729696 Q4695268 Q13652469 Q10542231 Q7961941 Q4742129 Q919262 Q927581 Q5679004 Q10464696 Q10467208 Q18350419 Q4116070 Q6970020 Q7424267 Q4663789 Q5936720 Q2609904 Q2609900 Q4118755 Q5646501 Q20641546 Q6982818 Q20806762 Q2715374 Q7280237 Q318780 Q667239 Q4867475 Q3802591 Q5548383 Q5269909 Q3611615 Q3841882 Q4724700 Q19904166 Q5638987 Q5949505 Q2271934 Q4120033 Q7399602 Q670177 Q23418706 Q704690 Q4747177 Q13660616 Q7397960 Q7709847 Q2623853 Q2608976 Q21180907 Q6370547 Q18354012 Q5437265 Q382620 Q4665227 Q23542664 Q13914307 Q2404106 Q10556598 Q6892846 Q16236469 Q5638990 Q5638993 Q2074968 Q2134375 Q5638996 Q2319132 Q548436 Q4705116 Q401433 Q2458606 Q7961683 Q10542761 Q165866 Q4120129 Q10514049 Q7398848 Q2108940 Q7395562 Q7961694 Q6893673 Q202856 Q5638998 Q7111325 Q16150023 Q594140 Q5984715 Q974050 Q6399555 Q6893267 Q4705125 Q7400009 Q6370647 Q4705129 Q21642609 Q6891275 Q6943819 Q8049683 Q18378470 Q5399350 Q331433 Q4695224 Q4166581 Q4695222 Q10526042 Q6957519 Q4724850 Q6110188 Q5517382 Q4747037 Q443185 Q10450071 Q4747030 Q3606997 Q16599437 Q4166079 Q5636779 Q5949640 Q5949642 Q6734084 Q4725257 Q6399545 Q576874 Q1389004 Q13914359 Q7505813 Q19757713 Q8049908 Q2824672 Q6474183 Q18246217 Q8049907 Q4120067 Q8027710 Q608402 Q7408518 Q550349 Q2539944
AND((c(Q502895),P54,Q186243), (c(Q502895),P106,Q937857))
action filter_type
action intersection
action find_reverse
entity Q186243
relation P54
action find_reverse
entity Q937857
relation P106
type Q502895
[ANSWERS] play for the team named Iraq national football team and have the profession as association football player
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q186243'], [{'concept': 'Q502895'}, 'P106', 'Q937857']]}
SELECT DISTINCT ?m WHERE { ?m property:P54 resource:Q186243 . ?m property:P106 resource:Q937857 . ?m rdf:type ontology:Q502895 }
Khalil Allawi Alaa Ahmad Adnan Dirjal Wissam Zaki Ammo Baba Mustafa Nadhim Jalil Zaidan Agool Hussam Fawzi Saeed Mohsen Salih Jaber Peter Murad Ali Hosni Mohammed Hameed Farhan Douglas Aziz Emad Hashim Jamal Ali Ibrahim Kamil Ahmad Abid Ali Haidar Abdul-Razzaq Ayoub Odisho Ayman Hussein Mohannad Abdul-Raheem Samir Shaker Mohammed Jabbar Rubat Mahdi Kamel Mohammed Hammad Ahmad Ali Jaber Sabah Abdul-Jalil Adnan Mohammad Hassb Rahim Hameed Shaker Mahmoud Ali Rehema Ali Kadhim Nabeel Abbas Sarha Jassim Swadi Anad Abid Qusay Munir Mahdi Karim Edison David Salih Sadir Hazem Jassam Haidar Abdul-Jabar Nazar Ashraf Wissam Kadhim Ali Abbas Al-Hilfi Abbas Obeid Ahmad Ibrahim Khalaf Ammar Gaiym Abbas Attiya Ahmad Kadhim Assad Bashar Rasan Essam Yassin Oday Taleb Mustafa Ahmad Thair Jassam Hawar Mulla Mohammed Luay Salah Emad Aoda Salah Al-Deen Siamand Nabeel Sabah Rafid Badr Al-Deen Hassan Turki Attiya Essam Hamad Salim Ali Mutashar Khaldoun Ibrahim Muslim Mubarak Marwan Hussein Ali Adnan Kadhim Ali Salah Hashim Jassim Mohammed Haji Ahmed Daham Karim Ahmad Salah Alwan Saad Attiya Samir Kadhim Hassan Hashim Ridha Ahmad Ayad Farhan Shakor Qahtan Chathir Drain Walid Khalid Afat Ameer Sabah Rawez Lawan Basim Qasim Hashim Khamis Hassan Hussein Abdul-Wahed Hesham Mohammed Hussein Ali Wahid Haitham Kadhim Natik Hashim Sarmad Rasheed Abbas Rehema Humam Tariq Dara Mohammed Samer Saeed Mustafa Karim Hamza Hadi Muhsin Abdul-Qadir Tariq Nawaf Falah Arjan Mustafa Salam Shaker Radhi Shenaishil Younis Mahmoud Ghanim Oraibi Basim Jamal Mahmoud Al-Salihi Ismail Mohammed Sharif Yahya Alwan Dhurgham Ismail Ali Hussein Shihab Maad Ibrahim Ali Bahjat Jalil Hanoon Haidar Aboodi Hussain Ayed Osama Rashid Mohammed Nasser Shakroun Sahib Abbas Hassan Saad Abdul-Amir Herdi Siamand Noor Sabri Ammar Abdul-Hussein Al-Asadi Ali Faez Atia Sadiq Saadoun Abdul-Ridha Thamer Yousif Basil Gorgis Mohammed Ali Karim Hamza Adnan Karim Allawi Sameh Saeed Fatah Nsaief Bassim Abbas Abdul-Jabar Hashim Hanoon Amjad Attwan Ali Qasim Muayad Khalid Ahmad Fadhel Mohammed Abdul-Zahra Ali Qasim Mshari Haidar Mahmoud Haidar Obeid Anmar Almubaraki Razzaq Farhan Haidar Sabah Abdul-Wahab Abu Al-Hail Haris Mohammed Alaa Abdul-Hussein Ahmad Radhi Nadhum Shaker Waleed Bahar Sabah Jeayer Ahmed Yasin Ahmad Mnajed Justin Meram Safwan Abdul-Ghani Hawbir Moustafa Saad Qais Noaman Waleed Salem Al-Lami Mohannad Nassir Halgurd Mulla Mohammed Haidar Raad Ous Ibrahim Osama Ali Emad Mohammed Ibrahim Salim Saad Mohammed Gassid Khalid Mushir Mohammed Qabel Alaa Gatea Saif Salman Karim Saddam Alaa Kadhim Faisal Jassim Mohamed Jassim Mahdi Muthana Khalid Yaser Kasim Mustafa Jawda Essam Hamad Salem Raad Hammoudi Ahmad Abdul-Jabar Haidar Abdul-Amir Ahmad Abbas Hattab Jalal Hasan Nadeem Karim Ali Hasan Kamal Jabir Shakir Gaith Abdul-Ghani Amjad Radhi Nashat Akram Herdi Noor Al-Deen Amjad Kalaf Ahmad Jassim Saad Natiq Falah Hassan Habib Jafar Hussam Ibrahim Hussam Kadhim Mahir Habib Radhi Ali Wahaib Shnaiyn Khalid Mohammed Sabbar Fareed Majeed Hussein Saeed Mahdi Kamil Shwan Jalal Abbas Rahim Yassir Raad Adnan Hamad Laith Hussein Rebin Sulaka Yassir Abdul-Mohsen Jassim Mohammed Ghulam Wissam Gassid Karrar Jassim Samal Saeed Hammadi Ahmad Alaa Abdul-Zahra
Raad Hammoudi, Mahdi Karim, Mohammed Jabbar Rubat, Muthana Khalid, Jalil Zaidan Agool, Nabeel Sabah, Haidar Abdul-Jabar, Ameer Sabah, Jalil Hanoon and Hawar Mulla Mohammed play for the team named Iraq national football team and have the profession as association football player
Raad Hammoudi Mahdi Karim Mohammed Jabbar Rubat Muthana Khalid Jalil Zaidan Agool Nabeel Sabah Haidar Abdul-Jabar Ameer Sabah Jalil Hanoon Hawar Mulla Mohammed
action filter_type
action intersection
action find_reverse
entity Iraq national football team
relation member of sports team
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Iraq national football team'], [{'concept': 'common name'}, 'occupation', 'association football player']]}
SELECT DISTINCT ?m WHERE { ?m property:member_of_sports_team resource:Iraq_national_football_team . ?m property:occupation resource:association_football_player . ?m rdf:type ontology:common_name }
[]