Simple Question (Direct)
Simple Question
Q3262865
P102
Q7210356
USER
Which party does Louis Perrein belong to ?
(Q3262865,P102,c(Q7210356))
action filter_type
action find
entity Q3262865
relation P102
type Q7210356
['Q3262865', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q3262865 property:P102 ?k }
Louis Perrein
action filter_type
action find
entity Louis Perrein
relation member of political party
type political organization
['Louis Perrein', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:Louis_Perrein property:member_of_political_party ?k }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q3262865,P102,c(Q7210356))
action filter_type
action find
entity Q3262865
relation P102
type Q7210356
Louis Perrein belongs to [ANSWER]
['Q3262865', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q3262865 property:P102 ?k }
Socialist Party
Louis Perrein belongs to Socialist Party
Socialist Party
action filter_type
action find
entity Louis Perrein
relation member of political party
type political organization
['Louis Perrein', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:Louis_Perrein property:member_of_political_party ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3262865
P106
Q12737077
USER
What is the profession of that person ?
(Q170972,P106,c(Q12737077))
action filter_type
action find
entity Q3262865
relation P106
type Q12737077
['Q170972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3262865 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Louis Perrein
action filter_type
action find
entity Louis Perrein
relation occupation
type occupation
['Socialist Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Louis_Perrein property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q170972,P106,c(Q12737077))
action filter_type
action find
entity Q3262865
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q170972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3262865 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity Louis Perrein
relation occupation
type occupation
['Socialist Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Louis_Perrein property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3262865
P937
Q56061
USER
How many administrative territories are the work locations of Louis Perrein ?
(Q3262865,P937,c(Q56061))
action count
action filter_type
action find
entity Q3262865
relation P937
type Q56061
['Q3262865', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q3262865 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Louis Perrein
action count
action filter_type
action find
entity Louis Perrein
relation work location
type administrative territorial entity
['Louis Perrein', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Louis_Perrein property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q3262865,P937,c(Q56061))
action count
action filter_type
action find
entity Q3262865
relation P937
type Q56061
[ANSWER]
['Q3262865', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q3262865 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Paris
1
action count
action filter_type
action find
entity Louis Perrein
relation work location
type administrative territorial entity
['Louis Perrein', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Louis_Perrein property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5438811
P19
Q56061
USER
Which administrative territory was Fawwaz Haddad born at ?
(Q5438811,P19,c(Q56061))
action filter_type
action find
entity Q5438811
relation P19
type Q56061
['Q5438811', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5438811 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Fawwaz Haddad
action filter_type
action find
entity Fawwaz Haddad
relation place of birth
type administrative territorial entity
['Fawwaz Haddad', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Fawwaz_Haddad property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3766
SYSTEM
Damascus
Q3766
(Q5438811,P19,c(Q56061))
action filter_type
action find
entity Q5438811
relation P19
type Q56061
Fawwaz Haddad was born in [ANSWER]
['Q5438811', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5438811 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Damascus
Fawwaz Haddad was born in Damascus
Damascus
action filter_type
action find
entity Fawwaz Haddad
relation place of birth
type administrative territorial entity
['Fawwaz Haddad', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Fawwaz_Haddad property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3766
P20
Q502895
USER
Which people have that administrative territory as the location of death ?
(c(Q502895),P20,Q3766)
action filter_type
action find_reverse
entity Q3766
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q3766']
SELECT DISTINCT ?m WHERE { ?m property:P20 resource:Q3766 . ?m rdf:type ontology:Q502895 }
Damascus
action filter_type
action find_reverse
entity Damascus
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Damascus']
SELECT DISTINCT ?m WHERE { ?m property:place_of_death resource:Damascus . ?m rdf:type ontology:common_name }
[]
common name
Q491558 Q118725 Q1111208
SYSTEM
Ibn Taymiyyah, Hafez al-Assad, Zaynab bint Ali
Q440248 Q287311 Q3391074 Q84335 Q18221776 Q3128843 Q4063334 Q26705492 Q456977 Q1450502 Q21704638 Q167543 Q4689242 Q7818192 Q548228 Q1974591 Q1686857 Q21109180 Q292484 Q287643 Q5860430 Q1588608 Q3607449 Q5099607 Q7402995 Q293554 Q286553 Q3126821 Q1710138 Q3296097 Q3774929 Q169834 Q312973 Q4121866 Q3271866 Q12248183 Q293464 Q335145 Q160460 Q4166497 Q381970 Q3333542 Q2364272 Q16013665 Q1337746 Q451427 Q706694 Q335045 Q2631159 Q4121169 Q2833742 Q4665962 Q963733 Q3160071 Q334903 Q1751022 Q6991487 Q189550 Q2891095 Q301261 Q426371 Q6943238 Q2688925 Q298577 Q240263 Q1243803 Q1841706 Q179825 Q1553676 Q401199 Q3333003 Q2482350 Q3138765 Q16668168 Q1341927 Q12201802 Q403242 Q2462315 Q3772432 Q1356575 Q1378907 Q12216636 Q192960 Q1283948 Q3603344 Q1751018 Q230497 Q512593 Q968674 Q846343 Q307440 Q6300057 Q317420 Q6893243 Q118725 Q1111208 Q263575 Q2302424 Q6930539 Q217442 Q1323505 Q12216624 Q71394 Q3918343 Q144693 Q1359497 Q18348804 Q4683934 Q956744 Q716704 Q1413107 Q2453214 Q671162 Q6853385 Q3776556 Q1486113 Q2314674 Q7285959 Q1884964 Q3777268 Q181154 Q369690 Q8581 Q4120436 Q1397989 Q2739346 Q537945 Q119679 Q4664558 Q2739438 Q264210 Q1185486 Q20988645 Q1112739 Q491558 Q741727 Q668603 Q1782343 Q223311 Q20747570 Q355745 Q3483226 Q732137 Q735665 Q20716765 Q3292615 Q284003 Q435699 Q923662 Q46420 Q5359843 Q493136 Q423124 Q402245 Q1389167 Q4665589 Q565665 Q529235 Q785506
(c(Q502895),P20,Q3766)
action filter_type
action find_reverse
entity Q3766
relation P20
type Q502895
[ANSWERS] have that administrative territory as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q3766']
SELECT DISTINCT ?m WHERE { ?m property:P20 resource:Q3766 . ?m rdf:type ontology:Q502895 }
Odo de St Amand Jamil al-Ulshi Élie IV d'Antioche Alois Brunner Muhammad ibn Shâkir al-Kutubî Haydar al-Kuzbari Solhi al-Wadi Tawfiq Said Munajjid Dawoud Rajiha Naaman Belkind Edmond Combes Husni al-Za'im Afif al-Bizri Toma Tomas Assef Shawkat Osman Sabri Omar Amiralay Muhammad ibn Musa al-Balasaghuni Sayf al-Din al-Amidi Ata al-Ayyubi Fernando de Aranda Hasan Turkmani Yusuf ibn Abd al-Rahman al-Mizzi Yussef Sleman Sakinah (Fatima al-Kubra) bint Husayn Al-Dhahabi Al-Mu'azzam Hanna Malek Hassan al-Hakim Marwan Arafat Izzat Darwaza Ahmad al-Khatib Nur ad-Din Zangi Muhammad Mahdi Al-Jawahiri Maya Nasser Nazir Ismail Al-Kamil Ibn al-Baitar Al-Farabi Ibn Abidin Imad Mughniyah Méthode Ier d'Antioche Sulayman al-Murshid Sami al-Jundi Khaled el-Hassani ben el-Hachemi Usama ibn Munqidh Bassel al-Assad Abu Hamid al-Gharnati Georgi Naydenov Naji Jaber Alexandre III d'Antioche Abdullah Atfeh Muhammad ibn Tughj al-Ikhshid Jacques Terrane Abu Daoud Sabri al-Asali Nenad Stavrić Imad ad-Din Zengi Uri Ilan Musa bin Nusayr Ḥasan Ibn-Muḥammad al-Būrīnī Mustafa Badreddine Muhsin al-Barazi Marwan I Celadet Bedir Khan George Elmacin Theodore Rshtuni Abdelkader El Djezairi Kadri Cemilpascha Ahmed Cevad Pasha Mélèce II d'Antioche Macarios III Zaim Hiérothée Ier d'Antioche Khusain Kudashev Engelbert Kolland ʿAbd-al-Wahhāb Ibn-ʿAlī Tāǧ-ad-Dīn as-Subkī Muhammad al-Maghut Yasin al-Hashimi Abd al-Wahhab Al-Bayati Ibn al-Qalanisi Euthymios Saifi Salim Kallas Baibars Džafer Kulenović Abd al-Rahman al-Shaghouri Bashir al-Azma Tariq ibn Ziyad Tutush I Khalid Bakdash Sibt ibn al-Jawzi Abdul Rahman Munif Juan Jacobo Fernandez Abdul Rahman al-Iryani Mohammed Nasif Kheirbek Hafez al-Assad Zaynab bint Ali Jane Digby Hayyim ben Joseph Vital Mu'in al-Madi Yazid I Ekrem Cemilpaşa Salim Hatum Ibn Khallikan Ghulam Muhammad Tarzi Zaki al-Arsuzi Hisham Ikhtiyar Constantin Oțet Adnan al-Malki Jamal al-Atassi Ibn Malik Tihamér Vujicsics Jezzar Pasha Faris al-Khoury Muhammad al-Ashmar Gregory II Youssef Ibn Budayr Yosef Lishansky Rajeh Mahmoud Mahmoud Zuabi Janbirdi al-Ghazali Muawiyah I Ibn Kathir Saladin Ibn al-Salah Fateh Moudarres Asma bint Umays Ali Bey al-Abbasi Ibn Qayyim Al-Jawziyya Abd al-Karim al-Jundi Ali Eid Muawiya II Demetrius I Qadi Mansur ibn Furaykh Abu Darda Ibn Taymiyyah Ghazi Kanaan Khalil Mardam Bey Konrad Swinarski Eli Cohen Çeteci Abdullah Pasha Mawdud Sidi El Hadj Mohammed Ben Yelles Salah Jadid Bedr Khan Beg Muhammad Pasha al-Azm Marie Jubran Al-Walid I Henry Thomas Buckle Mahmud Sulayman al-Maghribi Ibn ul-Arabi Elez Dervišević Bilal ibn Ribah Taj al-Din al-Hasani Mohamed Said Ramadan Al-Bouti Samir Kuntar Abdul Qader Arnaoot Ibn 'Asakir Ibn Rajab Ibn Qudamah
Ibn Taymiyyah, Hafez al-Assad and Zaynab bint Ali have that administrative territory as the location of death
Ibn Taymiyyah Hafez al-Assad Zaynab bint Ali
action filter_type
action find_reverse
entity Damascus
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Damascus']
SELECT DISTINCT ?m WHERE { ?m property:place_of_death resource:Damascus . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3766
P937
Q502895
USER
Who works at that administrative territory ?
(c(Q502895),P937,Q491558) (c(Q502895),P937,Q118725) (c(Q502895),P937,Q1111208)
action filter_type
action find_reverse
entity Q3766
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q491558'] [{'concept': 'Q502895'}, 'P937', 'Q118725'] [{'concept': 'Q502895'}, 'P937', 'Q1111208']
SELECT DISTINCT ?i WHERE { ?i property:P937 resource:Q3766 . ?i rdf:type ontology:Q502895 }
Damascus
action filter_type
action find_reverse
entity Damascus
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Ibn Taymiyyah'] [{'concept': 'common name'}, 'work location', 'Hafez al-Assad'] [{'concept': 'common name'}, 'work location', 'Zaynab bint Ali']
SELECT DISTINCT ?i WHERE { ?i property:work_location resource:Damascus . ?i rdf:type ontology:common_name }
[]
common name
Q491558 Q1039632 Q4166497
SYSTEM
Ibn Taymiyyah, Carl Malsch, Ibn Abidin
Q2546688 Q24572906 Q5438811 Q2909966 Q1145312 Q984484 Q293551 Q4166497 Q3123742 Q1039632 Q491558
(c(Q502895),P937,Q491558) (c(Q502895),P937,Q118725) (c(Q502895),P937,Q1111208)
action filter_type
action find_reverse
entity Q3766
relation P937
type Q502895
[ANSWERS] work at that administrative territory
[{'concept': 'Q502895'}, 'P937', 'Q491558'] [{'concept': 'Q502895'}, 'P937', 'Q118725'] [{'concept': 'Q502895'}, 'P937', 'Q1111208']
SELECT DISTINCT ?i WHERE { ?i property:P937 resource:Q3766 . ?i rdf:type ontology:Q502895 }
Walter Weber Hadiya Khalaf Abbas Fawwaz Haddad Jacob Berab Uqbah ibn Amir Ali ibn Isa al-Kahhal Ahmed Mohammed al-Maqqari Ibn Abidin Muhammad Kurd Ali Carl Malsch Ibn Taymiyyah
Ibn Taymiyyah, Carl Malsch and Ibn Abidin work at that administrative territory
Ibn Taymiyyah Carl Malsch Ibn Abidin
action filter_type
action find_reverse
entity Damascus
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Ibn Taymiyyah'] [{'concept': 'common name'}, 'work location', 'Hafez al-Assad'] [{'concept': 'common name'}, 'work location', 'Zaynab bint Ali']
SELECT DISTINCT ?i WHERE { ?i property:work_location resource:Damascus . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1234713 Q3766
P106 P937
Q502895
USER
Which people have Damascus as their work location and are not working as theologian ?
AND((c(Q502895),P937,Q3766), NOT((c(Q502895),P106,Q1234713)))
action filter_type
action difference
action find_reverse
entity Q3766
relation P937
action find_reverse
entity Q1234713
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q3766'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q1234713']]}]}
SELECT DISTINCT ?a WHERE { MINUS { ?a property:P106 resource:Q1234713 } . ?a property:P937 resource:Q3766 . ?a rdf:type ontology:Q502895 }
theologian Damascus
action filter_type
action difference
action find_reverse
entity Damascus
relation work location
action find_reverse
entity theologian
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Damascus'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'theologian']]}]}
SELECT DISTINCT ?a WHERE { MINUS { ?a property:occupation resource:theologian } . ?a property:work_location resource:Damascus . ?a rdf:type ontology:common_name }
[]
common name
Q2546688 Q24572906 Q5438811 Q1145312 Q2909966 Q984484 Q293551 Q3123742
SYSTEM
Walter Weber, Hadiya Khalaf Abbas, Fawwaz Haddad, Uqbah ibn Amir, Jacob Berab, Ali ibn Isa al-Kahhal, Ahmed Mohammed al-Maqqari, Muhammad Kurd Ali
Q2546688 Q24572906 Q5438811 Q1145312 Q2909966 Q984484 Q293551 Q3123742
AND((c(Q502895),P937,Q3766), NOT((c(Q502895),P106,Q1234713)))
action filter_type
action difference
action find_reverse
entity Q3766
relation P937
action find_reverse
entity Q1234713
relation P106
type Q502895
[ANSWERS] have Damascus as their work location and are not working as theologian
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q3766'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q1234713']]}]}
SELECT DISTINCT ?a WHERE { MINUS { ?a property:P106 resource:Q1234713 } . ?a property:P937 resource:Q3766 . ?a rdf:type ontology:Q502895 }
Walter Weber Hadiya Khalaf Abbas Fawwaz Haddad Uqbah ibn Amir Jacob Berab Ali ibn Isa al-Kahhal Ahmed Mohammed al-Maqqari Muhammad Kurd Ali
Walter Weber, Hadiya Khalaf Abbas, Fawwaz Haddad, Uqbah ibn Amir, Jacob Berab, Ali ibn Isa al-Kahhal, Ahmed Mohammed al-Maqqari and Muhammad Kurd Ali have Damascus as their work location and are not working as theologian
Walter Weber Hadiya Khalaf Abbas Fawwaz Haddad Uqbah ibn Amir Jacob Berab Ali ibn Isa al-Kahhal Ahmed Mohammed al-Maqqari Muhammad Kurd Ali
action filter_type
action difference
action find_reverse
entity Damascus
relation work location
action find_reverse
entity theologian
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Damascus'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'theologian']]}]}
SELECT DISTINCT ?a WHERE { MINUS { ?a property:occupation resource:theologian } . ?a property:work_location resource:Damascus . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q207939
P941
Q502895 Q502895 Q15850590
USER
How many people were less number of people or theatrical genres inspired by than Alexander McQueen ?
(c(Q502895)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q207939
relation P941
type Q502895
type Q15850590
[[{'concept': 'Q502895'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?h rdf:type ontology:Q502895 . ?a rdf:type ontology:Q502895 . ?h property:P941 ?a } UNION { ?h property:P941 ?a . ?h rdf:type ontology:Q15850590 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P941 resource:Q207939 . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q15850590 ) } } } } . FILTER ( ?e < ?u ) }
Alexander McQueen
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Alexander McQueen
relation inspired by
type common name
type theatrical genre
[[{'concept': 'common name'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?h rdf:type ontology:common_name . ?a rdf:type ontology:common_name . ?h property:inspired_by ?a } UNION { ?h property:inspired_by ?a . ?h rdf:type ontology:theatrical_genre . ?a rdf:type ontology:common_name } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:inspired_by resource:Alexander_McQueen . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:theatrical_genre ) } } } } . FILTER ( ?e < ?u ) }
[]
common name common name theatrical genre
SYSTEM
180
Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q58801 Q129308 Q42305 Q558333 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q37693 Q712955 Q302650 Q531161 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q947525 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q229432 Q123071 Q44272 Q94002 Q49285 Q27429917 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q527735 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q502895)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q207939
relation P941
type Q502895
type Q15850590
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?h rdf:type ontology:Q502895 . ?a rdf:type ontology:Q502895 . ?h property:P941 ?a } UNION { ?h property:P941 ?a . ?h rdf:type ontology:Q15850590 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P941 resource:Q207939 . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q15850590 ) } } } } . FILTER ( ?e < ?u ) }
Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Conrad Veidt John of England Richard I of England Buddy Hackett Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Paul Gauguin Bobby Driscoll Tate Donovan Elizabeth Kenny Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Robert Gant Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Lucretia Arnold Böcklin Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
180
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Alexander McQueen
relation inspired by
type common name
type theatrical genre
[[{'concept': 'common name'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) ?a WHERE { { ?h rdf:type ontology:common_name . ?a rdf:type ontology:common_name . ?h property:inspired_by ?a } UNION { ?h property:inspired_by ?a . ?h rdf:type ontology:theatrical_genre . ?a rdf:type ontology:common_name } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:inspired_by resource:Alexander_McQueen . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:theatrical_genre ) } } } } . FILTER ( ?e < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q576222
P941
Q502895 Q502895 Q15850590
USER
And also tell me about Floris van Dyck?
(c(Q502895)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q576222
relation P941
type Q502895
type Q15850590
[[{'concept': 'Q502895'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q15850590 ) } . ?m rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P941 resource:Q576222 . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q15850590 } } } } . FILTER ( ?w < ?s ) }
Floris van Dyck
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Floris van Dyck
relation inspired by
type common name
type theatrical genre
[[{'concept': 'common name'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:theatrical_genre ) } . ?m rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:inspired_by resource:Floris_van_Dyck . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:theatrical_genre } } } } . FILTER ( ?w < ?s ) }
[]
common name common name theatrical genre
SYSTEM
180
Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q58801 Q129308 Q42305 Q558333 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q37693 Q712955 Q302650 Q531161 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q947525 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q229432 Q123071 Q44272 Q94002 Q49285 Q27429917 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q527735 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q502895)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q576222
relation P941
type Q502895
type Q15850590
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q15850590 ) } . ?m rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P941 resource:Q576222 . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q15850590 } } } } . FILTER ( ?w < ?s ) }
Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Conrad Veidt John of England Richard I of England Buddy Hackett Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Paul Gauguin Bobby Driscoll Tate Donovan Elizabeth Kenny Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Robert Gant Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Lucretia Arnold Böcklin Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
180
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Floris van Dyck
relation inspired by
type common name
type theatrical genre
[[{'concept': 'common name'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:theatrical_genre ) } . ?m rdf:type ?k } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:inspired_by resource:Floris_van_Dyck . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:theatrical_genre } } } } . FILTER ( ?w < ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24572906
P27
Q15617994
USER
Which administrative territory does Hadiya Khalaf Abbas belong to ?
(Q24572906,P27,c(Q15617994))
action filter_type
action find
entity Q24572906
relation P27
type Q15617994
['Q24572906', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q24572906 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Hadiya Khalaf Abbas
action filter_type
action find
entity Hadiya Khalaf Abbas
relation country of citizenship
type designation for an administrative territorial entity
['Hadiya Khalaf Abbas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Hadiya_Khalaf_Abbas property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q858
SYSTEM
Syria
Q858
(Q24572906,P27,c(Q15617994))
action filter_type
action find
entity Q24572906
relation P27
type Q15617994
Hadiya Khalaf Abbas belongs to [ANSWER]
['Q24572906', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q24572906 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Syria
Hadiya Khalaf Abbas belongs to Syria
Syria
action filter_type
action find
entity Hadiya Khalaf Abbas
relation country of citizenship
type designation for an administrative territorial entity
['Hadiya Khalaf Abbas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Hadiya_Khalaf_Abbas property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24572906
P140
Q874405
USER
Which social group does that person relate to ?
(Q858,P140,c(Q874405))
action filter_type
action find
entity Q24572906
relation P140
type Q874405
['Q858', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q24572906 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Hadiya Khalaf Abbas
action filter_type
action find
entity Hadiya Khalaf Abbas
relation religion
type social group
['Syria', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Hadiya_Khalaf_Abbas property:religion ?a . ?a rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q858,P140,c(Q874405))
action filter_type
action find
entity Q24572906
relation P140
type Q874405
That person relates to [ANSWER]
['Q858', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q24572906 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Islam
That person relates to Islam
Islam
action filter_type
action find
entity Hadiya Khalaf Abbas
relation religion
type social group
['Syria', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Hadiya_Khalaf_Abbas property:religion ?a . ?a rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3484495 Q24572906
P140
Q874405
USER
Or Simon van Limburg?
OR((Q24572906,P140,c(Q874405)), (Q3484495,P140,c(Q874405)))
action filter_type
action union
action find
entity Q24572906
relation P140
action find
entity Q3484495
relation P140
type Q874405
{'OR': [['Q24572906', 'P140', {'concept': 'Q874405'}], ['Q3484495', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q874405 . { { resource:Q24572906 property:P140 ?x } UNION { resource:Q3484495 property:P140 ?x } } }
Simon van Limburg Hadiya Khalaf Abbas
action filter_type
action union
action find
entity Hadiya Khalaf Abbas
relation religion
action find
entity Simon van Limburg
relation religion
type social group
{'OR': [['Hadiya Khalaf Abbas', 'religion', {'concept': 'social group'}], ['Simon van Limburg', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:social_group . { { resource:Hadiya_Khalaf_Abbas property:religion ?x } UNION { resource:Simon_van_Limburg property:religion ?x } } }
[]
social group
Q5043 Q432
SYSTEM
Christianity, Islam
Q5043 Q432
OR((Q24572906,P140,c(Q874405)), (Q3484495,P140,c(Q874405)))
action filter_type
action union
action find
entity Q24572906
relation P140
action find
entity Q3484495
relation P140
type Q874405
[ANSWERS]
{'OR': [['Q24572906', 'P140', {'concept': 'Q874405'}], ['Q3484495', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q874405 . { { resource:Q24572906 property:P140 ?x } UNION { resource:Q3484495 property:P140 ?x } } }
Christianity Islam
Christianity Islam
action filter_type
action union
action find
entity Hadiya Khalaf Abbas
relation religion
action find
entity Simon van Limburg
relation religion
type social group
{'OR': [['Hadiya Khalaf Abbas', 'religion', {'concept': 'social group'}], ['Simon van Limburg', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:social_group . { { resource:Hadiya_Khalaf_Abbas property:religion ?x } UNION { resource:Simon_van_Limburg property:religion ?x } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q874405
USER
Which ship types are the origin of atmost 1 social group ?
(c(Q874405),P138,c(Q2235308))
action atmost
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q874405
value 1
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P138 ?v . ?v rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q874405 } GROUP BY ?v } . FILTER ( ?i <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation named after
type ship type
type social group
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:named_after ?v . ?v rdf:type ontology:ship_type . ?s rdf:type ontology:social_group } GROUP BY ?v } . FILTER ( ?i <= 1 ) }
[]
ship type social group
Q280710 Q4442824 Q1444474
SYSTEM
HMS Invincible, HMS Spica, HMS Queen Elizabeth
Q1548116 Q574079 Q1752985 Q5634305 Q389965 Q13422371 Q1564757 Q2290619 Q2259226 Q35926 Q4383934 Q2557165 Q1032062 Q1778372 Q1483548 Q1254229 Q9364230 Q827360 Q2371 Q3940407 Q155222 Q4993491 Q749820 Q194096 Q1469689 Q558429 Q1812747 Q7391557 Q2258930 Q1422739 Q6158554 Q74858 Q10513230 Q1968832 Q911858 Q2448527 Q1047321 Q3614442 Q18760824 Q5634951 Q3273486 Q2301794 Q820879 Q978671 Q2703331 Q19303904 Q609925 Q5632411 Q554838 Q11416678 Q10515261 Q5971123 Q6109002 Q1887991 Q5631498 Q6141010 Q10513085 Q2573043 Q7198244 Q1971215 Q900379 Q10513243 Q5633568 Q3206808 Q2166261 Q5632178 Q4351305 Q4040220 Q3903735 Q1564571 Q52901 Q5634182 Q1565629 Q32770 Q32771 Q19801858 Q75035 Q283452 Q2506862 Q3424471 Q280710 Q5633971 Q6138862 Q5632563 Q390455 Q255306 Q6159079 Q4351939 Q5636029 Q2837649 Q12766634 Q562674 Q137256 Q10513104 Q2038001 Q16846235 Q4352977 Q2490432 Q820478 Q18760862 Q523960 Q7870497 Q14852061 Q464370 Q7391608 Q7391565 Q2709917 Q339124 Q262899 Q7870667 Q3798336 Q7277328 Q5631590 Q26674641 Q6141293 Q1479687 Q10515280 Q3427401 Q1138094 Q5228097 Q201639 Q912950 Q729875 Q2384053 Q2981505 Q7604010 Q2094314 Q686751 Q925439 Q19799542 Q19800534 Q661264 Q588644 Q4040143 Q4057885 Q1668136 Q2207272 Q5634498 Q10862679 Q498614 Q1564228 Q5601951 Q1881850 Q899710 Q1602430 Q10706637 Q1351895 Q2557371 Q2494128 Q804091 Q14493958 Q10515073 Q10513290 Q324809 Q3563939 Q496778 Q1141369 Q574063 Q388075 Q18162952 Q557286 Q43464 Q2608583 Q1136398 Q4109990 Q7432747 Q960276 Q959845 Q1419883 Q18713207 Q827424 Q1078399 Q1483636 Q7391649 Q9332479 Q5634817 Q2654409 Q1062925 Q705804 Q681339 Q2273174 Q1545526 Q11457293 Q5634082 Q4347031 Q3839602 Q2269717 Q16223597 Q2008029 Q1152088 Q1258451 Q46266 Q2301492 Q46264 Q1052831 Q820669 Q838148 Q752939 Q2283194 Q1408520 Q1797485 Q4571916 Q2704292 Q920520 Q5631940 Q21152409 Q10515256 Q11269215 Q10515155 Q10515285 Q2206996 Q702335 Q6158589 Q150857 Q1475511 Q10515026 Q7866735 Q3007443 Q1303926 Q1564997 Q10493454 Q7872159 Q1372001 Q5630713 Q7870889 Q5633694 Q1500444 Q477173 Q10513279 Q221796 Q4346186 Q10884878 Q705582 Q512615 Q372672 Q3947217 Q655030 Q5397127 Q446316 Q18921160 Q2573281 Q476096 Q1139653 Q615525 Q210651 Q3124982 Q5631537 Q7277388 Q3544577 Q10862664 Q730273 Q1129569 Q18762809 Q7874569 Q5632611 Q2543125 Q10862685 Q4290731 Q107900 Q4040071 Q2070201 Q659894 Q11707944 Q1431226 Q4386720 Q7871181 Q3395651 Q10712138 Q5630245 Q10884907 Q5634350 Q228680 Q2208180 Q677346 Q1262390 Q210223 Q3237833 Q4346763 Q3061861 Q1065337 Q8408069 Q2859286 Q16496700 Q14950169 Q3225605 Q4355074 Q19013671 Q1373432 Q116335 Q19364025 Q311245 Q15444128 Q5631274 Q5972671 Q7867565 Q10513231 Q175437 Q5629241 Q678015 Q839203 Q1236027 Q5632025 Q5632924 Q5632389 Q11868642 Q155159 Q475540 Q1564604 Q5631471 Q1572254 Q5633629 Q3006680 Q2468207 Q1232851 Q2638679 Q7866115 Q13376303 Q5634553 Q5633707 Q11660152 Q312224 Q10884889 Q10884888 Q5632418 Q331745 Q3750543 Q10515060 Q4353591 Q10884884 Q1032037 Q16109063 Q7277387 Q141667 Q656632 Q9385256 Q2992278 Q1881852 Q3544580 Q6319364 Q3687436 Q3411691 Q4801479 Q10515162 Q175967 Q18760894 Q5730112 Q694474 Q15104547 Q11151506 Q9367948 Q5502108 Q5634804 Q2252131 Q704128 Q1324247 Q7866980 Q3699672 Q5630379 Q10513165 Q1258270 Q9353884 Q5206186 Q2377914 Q18760809 Q907779 Q477460 Q548745 Q1476140 Q2207152 Q4291176 Q567416 Q9284810 Q5635044 Q3013847 Q9137721 Q7408497 Q1564158 Q10515051 Q1708772 Q2707962 Q2342404 Q727245 Q543302 Q46195 Q7867304 Q5632696 Q2311446 Q2713873 Q15621165 Q5631849 Q289870 Q7869595 Q1474340 Q21735946 Q1930867 Q321007 Q3314897 Q11679476 Q158427 Q730305 Q4052218 Q673840 Q11707318 Q2704642 Q5472679 Q25653 Q888842 Q10513296 Q2349208 Q648831 Q2623266 Q7875718 Q156962 Q19169440 Q4290724 Q1473375 Q9364207 Q4040064 Q27454 Q4358483 Q1761672 Q1502183 Q10513127 Q4351910 Q2116259 Q10862600 Q2717194 Q15117029 Q10515173 Q3621539 Q3771903 Q680257 Q11262560 Q18760843 Q1473898 Q119397 Q143615 Q7866572 Q1071182 Q2829090 Q4958923 Q1500360 Q3604134 Q576829 Q6011826 Q15179941 Q11707534 Q10513226 Q10513227 Q10513221 Q4882507 Q3840157 Q838125 Q1552451 Q18760834 Q3278681 Q513634 Q4410121 Q1125602 Q4040126 Q10515274 Q4040081 Q16573 Q10515272 Q7868365 Q1546204 Q5473685 Q2008002 Q6144457 Q4300728 Q847233 Q755358 Q167085 Q5631646 Q10513099 Q5631645 Q5631640 Q13728696 Q4352699 Q1324124 Q7024076 Q428341 Q2469372 Q10884898 Q10884899 Q5631243 Q10884891 Q5495178 Q4206524 Q1266647 Q1328905 Q6142192 Q4346742 Q4369538 Q765514 Q824787 Q7868281 Q1347693 Q7871779 Q505312 Q1565648 Q5633942 Q3927914 Q179246 Q5631836 Q1117730 Q5972684 Q1920904 Q1046629 Q1898494 Q3748278 Q274924 Q3737315 Q2116640 Q14509227 Q7867003 Q2123826 Q7867000 Q2454760 Q1444474 Q190542 Q2029488 Q2121074 Q15275627 Q4352629 Q10515189 Q10515188 Q4386686 Q10515187 Q449016 Q215010 Q6127462 Q934571 Q3274010 Q168165 Q187622 Q4352812 Q623070 Q3224180 Q688532 Q152179 Q358971 Q192381 Q4442824 Q3905677 Q5630820 Q463161 Q7866225 Q857891 Q2712235 Q4727706 Q4301093 Q698414 Q14565078 Q4026798 Q128472 Q812102 Q82257 Q3015138 Q819361 Q2060512 Q18691244 Q7867597 Q118203 Q4273218 Q1117331 Q698468 Q689046
(c(Q874405),P138,c(Q2235308))
action atmost
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q874405
value 1
[ANSWERS] are the origin of atmost 1 social group
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P138 ?v . ?v rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q874405 } GROUP BY ?v } . FILTER ( ?i <= 1 ) }
HMS Dido SMS Deutschland MS Voyager of the Seas HMS Shannon Discovery Japanese torpedo boat Tomozuru HMS Gloucester Italian cruiser Duca degli Abruzzi Japanese submarine I-15 HMS Beagle USS Brooke Antarctic HMS Nelson USS Bainbridge USS Wasp SMS Huszár USS Wasp USS Nautilus Celebrity Solstice Roma German battleship Scharnhorst HMS Näcken Russian submarine TK-208 Dmitri Donskoi HMS Greyhound USS Tennessee SMS Kronprinz Erzherzog Rudolf Japanese cruiser Takao SM U-151 HMS Speedy USS Ohio Japanese destroyer Tachibana HMS Attacker HMS Halland RMS Oceanic Endurance USS Portland USS Barracuda Italian submarine Ammiraglio Cagni FS Catinat HMS Whitby USS Kearsarge USS George Washington HNoMS Otra USS Boston MS Sovereign SMS Temes HMS Warrior HMS Ferret SMS Prinz Adalbert Japanese submarine Ro-60 HMS Västergötland USS Sturgeon JS Hiuchi USS Long Beach HMS Banshee Japanese submarine I-201 HMS Altair HMS Avenger Pisces V USS Seawolf HMS Bounty HMS Hugin HMS Odin French ship Astrolabe USS Los Angeles HMS Doterel HMS Oberon HMS Royal Oak Pietro Calvi submarine HMS Daring HMS Sverige HMS Salmon HMS Valiant HNLMS O 19 HNLMS Walrus Rhein Japanese cruiser Asama HMS Canada USS Colorado USS Baltimore HMS Invincible HMS Rainbow Spanish frigate Santa María HMS Gipsy Japanese cruiser Agano Japanese battleship Kongō Japanese submarine I-9 HMS King Edward VII HMS Gotland ARA Salta (S-31) HMS Lion USS Essex HMS Erebus HMS Arkö Russian submarine B-585 Saint Petersburg Japanese submarine I-12 USS Cannon Italian cruiser Raimondo Montecuccoli SM U-27 FS Forbin SMS Kaiser Friedrich III USS James Madison Karel Doorman USS Nautilus SM U-93 SM U-20 Japanese submarine I-174 USS New Mexico Italian battleship Littorio USS Kanawha Indomito ROCS Cheng Kung HMS Blackwood Amsterdam USS Benjamin Franklin USS Balao HMS Öland Italian cruiser Cesare Rossarol Japanese battleship Tosa USS Anchorage USS Kidd ORP Orzeł HMS Chatham Russian battleship Peresvet French ship Mistral Statendam Italian battleship Andrea Doria French armoured cruiser Amiral Charner HMAS Canberra HMS Cherokee SMS Maros HMAS Perth Anton Chekhov HMS London Russian frigate Admiral Gorshkov Russian cruiser Pallada SM U-17 HMS Sturgeon Japanese submarine I-400 French frigate Hermione HMS Adventure Greek frigate Hydra MSC Lirica Victoria Helgoland Turunmaa USS Gerald R. Ford Japanese battleship Satsuma HMAS Adelaide Russian cruiser Bayan Mærsk Mc-Kinney Møller HMS Plejad HMS Koster SMS Graudenz Greek submarine Katsonis USS Permit USS Forrestal SMS Kaiserin HMS Ardent HMS Vestal Gorch Fock I HNLMS De Zeven Provinciën USS Brooklyn USS Mahan Finnish submarine Vetehinen Schooner Te Vega Russian battleship Evstafi SMS Sachsen SMS Königsberg FS Friant USS San Antonio USS Arleigh Burke USS New Orleans SM UB-43 SMS S13 HMS Vengeur Japanese destroyer Yūgumo Italian cruiser Luigi Cadorna Japanese battleship Shikishima HMAS Perth USS Colorado USS Ticonderoga HMS Sunfish HMS Rocket HMS Tre Kronor Luigi Durand de la Penne HNLMS Dolfijn Yugoslav submarine Hrabri ORP Wicher USS Tarawa USS Charles F. Adams HNLMS De Zeven Provinciën HNLMS K XI HNLMS Tromp Celebrity Millennium SM U-43 USS Lexington RMS Queen Mary INS Vikrant HMS Foxhound USS Freedom Japanese submarine I-7 Japanese destroyer Fubuki USS Kearsarge HMS Conflict R. H. Fauntleroy HMS Visby JS Shirane HMS Stockholm HMS Östergötland SMS Meteor (1890) HMS Edinburgh Japanese escort ship Etorofu Bismarck USS Oliver Hazard Perry HMS Mode USNS Spearhead HMS Hecla USS Saipan HMS King George V Fabian Wrede USS Navajo Russian battleship Petropavlovsk HMCS Athabaskan USS LSM(R)-188 HMS Parthian HMS Lion Emma Mærsk HMS Kaparen SMS Helgoland Japanese submarine I-52 Japanese submarine I-176 SMS Königsberg HMS Erebus Granma Italian cruiser San Giorgio Celebrity Century HMS Klas Uggla HNoMS Draug HDMS Lougen Soviet battlecruiser Kirov SMS V116 HMS King George V HMS Express HMS Eagle HMS Boyne HMS Belleisle ROKS Dokdo USS Truxtun Japanese submarine I-373 HMS Weymouth USS Cleveland FS Gauloise ironclad USS Tacoma HMS Grampus Japanese cruiser Kasuga Japanese submarine I-153 USS Cassin Santa Maria HMS Duke Hr. Ms. Alkmaar HMS Southampton Lillian Ngoyi USS Kitty Hawk Japanese submarine I-13 USS Lawrence Spanish cruiser Almirante Cervera Valas HMAS Armidale Japanese submarine I-46 HMS Sjöormen Japanese aircraft carrier Zuihō HNLMS O 2 USS Wasp RV Atlantis sloop French battleship Liberté ORP Mazur HMS Worcester Italian cruiser Emanuele Filiberto Duca d'Aosta ROKS Sejong the Great FS Aquitaine NRP Baptista de Andrade Viking Star Atle HMS Tiger SMS Panther Reina Regente MSC Musica TI Asia USS Yorktown (CV-5) French destroyer Le Hardi HMS Alert INS Shishumar USS Bannock HMS Hanö SS Vega HDMS Narhvalen USS Virginia HMS Birmingham HMS Astute HMS Cuckoo HMS Janus HMS Fantome KNM Ula SMS Cöln USS Pensacola HMS Discovery HMS Avon USS Bonhomme Richard HMS Osprey HMS Shannon USNS Powhatan Dmitriy Furmanov Soviet helicopter carrier Moskva USCGC Itasca HMS Sjölejonet HMS Swordfish HMS Pearl Japanese destroyer Ikazuchi HMS Endeavour Japanese submarine I-165 Japanese submarine I-162 HMS Fervent HDMS Absalon Yugoslav submarine Osvetnik HMS Oden ORP Podhalanin Japanese submarine I-156 HMS Implacable Končar ROKS Chungmugong Yi Sun-sin HMS Terror SMS Nassau Japanese submarine I-121 Russian cruiser Moskva MSC Fantasia USS Smith (DD-17) Jymy motor torpedo boat Italian submarine Console Generale Liuzzi French ship Pégase French battleship Courbet HMS Styrbjörn INS Talwar FS Linois Blas de Lezo SMS Bayern Aigrette Chinese Hai Lung submarine SMS V1 French cruiser Troude HMS Vanguard Trento SMS Derfflinger SMS Blitz USS Abnaki Curtatone HMAS Huon HMS Draken USS Long Island SMS G7 DSRV-1 Mystic Soviet cruiser Kirov FS Alger USS Midway USS Sangamon SMS Braunschweig French submarine Gymnote SMS Wacht USS Tucker SMS Brandenburg SMS H145 HMS Zebra French ship Astrolabe SMS A1 USS America HMCS Halifax HMS Norrköping Japanese destroyer Fuyutsuki USS Northampton Japanese submarine I-168 USS North Carolina SMS Dresden HMS Nairana USS Andromeda HMS Hardy HMS Fury USS Belknap HMS Pearl HMS Chatham HMS Mermaid USS Gearing USS Ethan Allen Terrebonne Parish tank landing ship USS Iwo Jima RMS Olympic French frigate Minerve USS Merrick German cruiser Deutschland HMS Birkenhead USS Farragut Arktika Italian battleship Regina Elena Japanese submarine I-1 Fortitude ferry Bobr Russian gunboat HMS Landsort Hr. Ms. Kortenaer HMS Bristol Italian cruiser Alberto da Giussano USS Yorktown German aircraft carrier Graf Zeppelin Consul USS Aylwin USS Fletcher USS South Dakota HMS Cyclops German cruiser Admiral Hipper USS Wickes USS Montana HMS Victoria HMS Blixt HMS Royal Sovereign USS Avenger Japanese submarine I-372 French submarine Triomphant Émeraude HMS Svea Archimede Glauco HMS Havock JS Oyashio Japanese submarine FS Descartes USS Ticonderoga HMS Challenger ARA Uruguay USNS Henry J. Kaiser Japanese battleship Katori Japanese destroyer Akizuki Brazilian submarine Tikuna Nautilus Italian submarine Acciaio Soviet aircraft carrier Kiev Meteoro Valerian Kuybyshev Kunlun Shan HMS Göteborg HMS Hajen HMS Gåssten Belgian frigate Wielingen Luigi Settembrini submarine USS Hornet HMS Comet FS D’Assas USS Zumwalt HMS Boadicea Sverdlov SMS Körös HMS Intrepid HMS Ystad HMS Elizabeth Shiratsuyu HMS Wrangel USS Cimarron SMS Brummer HMS Göteborg ORP Wodnik Japanese corvette Katsuragi USS Sampson HMS Discovery SS Athenic SMS Magdeburg HMS Boyne HMS Arholma HMS Boxer HMS Boxer HNLMS Zwaardvis HMS Visby HMS Renown Niantic Spanish frigate Álvaro de Bazán USS Garcia Japanese submarine I-5 Japanese submarine I-6 HMS Ajax Japanese submarine I-16 HMS Handy USS O'Brien (DD-51) French submarine Dupuy de Lôme USS Nevada I-54 Japanese submarine USS Lafayette USCGC Polar Star USS Pennsylvania SMS Gazelle USS Cherokee French ironclad Gloire USS Miantonomoh SMS Wittelsbach HMS Vanguard (S28) HMS R1 Quintino Sella kayak HMS Charger Italian cruiser Andrea Doria INS Sindhughosh Hr. Ms. Tromp French submarine Casabianca HMS Resolution Formidabile Russian aircraft carrier Admiral Kuznetsov Circé USS Connecticut JS Izumo USS Achomawi Italian submarine Brin USS Achelous Russian submarine Yury Dolgorukiy HMS Queen Elizabeth Costa Concordia USS Porter HMS Powerful Ra HMS Ehrensköld HMS Tapper HMS Sökaren USS Clemson HMS Södermanland DSV Alvin Yamato USS Pennsylvania HMS Blonde USS Mississippi NOAAS McArthur French aircraft carrier Clemenceau HMS Äran USS Knox French ship Magnifique Italian battleship Conte di Cavour SM U-10 Russian coast defense ship Admiral Ushakov MS Oasis of the Seas HMS Spica Italian cruiser Pisa HMCS Huron USS Nimitz USCGC Polar Sea USS Monitor Russian battleship Andrei Pervozvanny Alkimos USS Caldwell SMS Kaiser INS Vikrant HMS Inflexible SMS Victoria Louise French battleship Bayard RRS Discovery Pen Duick SMS König USS Independence MHC Katanpää USS Barracuda ORP Grom USS Paulding Nimrod German cruiser Leipzig German cruiser Königsberg
HMS Invincible, HMS Spica and HMS Queen Elizabeth are the origin of atmost 1 social group
HMS Invincible HMS Spica HMS Queen Elizabeth
action atmost
action find_reverse_tuple_counts
relation named after
type ship type
type social group
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:named_after ?v . ?v rdf:type ontology:ship_type . ?s rdf:type ontology:social_group } GROUP BY ?v } . FILTER ( ?i <= 1 ) }
[]