Simple Question (Direct)
Simple Question
Q1680626
P102
Q7210356
USER
Which party is James J. Wilson affiliated with ?
(Q1680626,P102,c(Q7210356))
action filter_type
action find
entity Q1680626
relation P102
type Q7210356
['Q1680626', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7210356 . resource:Q1680626 property:P102 ?r }
James J. Wilson
action filter_type
action find
entity James J. Wilson
relation member of political party
type political organization
['James J. Wilson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_organization . resource:James_J._Wilson property:member_of_political_party ?r }
[]
political organization
Q42186
SYSTEM
Democratic-Republican Party
Q42186
(Q1680626,P102,c(Q7210356))
action filter_type
action find
entity Q1680626
relation P102
type Q7210356
James J. Wilson is affiliated with [ANSWER]
['Q1680626', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7210356 . resource:Q1680626 property:P102 ?r }
Democratic-Republican Party
James J. Wilson is affiliated with Democratic-Republican Party
Democratic-Republican Party
action filter_type
action find
entity James J. Wilson
relation member of political party
type political organization
['James J. Wilson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_organization . resource:James_J._Wilson property:member_of_political_party ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1680626
P734
Q82799
USER
Who has the surname James J. Wilson ?
(Q1680626,P734,c(Q82799))
action filter_type
action find
entity Q1680626
relation P734
type Q82799
['Q1680626', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q1680626 property:P734 ?c }
James J. Wilson
action filter_type
action find
entity James J. Wilson
relation family name
type name
['James J. Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:James_J._Wilson property:family_name ?c }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q1680626,P734,c(Q82799))
action filter_type
action find
entity Q1680626
relation P734
type Q82799
[ANSWER] has the surname James J. [ANSWER]
['Q1680626', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q1680626 property:P734 ?c }
Wilson
Wilson has the surname James J. Wilson
Wilson
action filter_type
action find
entity James J. Wilson
relation family name
type name
['James J. Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:James_J._Wilson property:family_name ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q27016320 Q1645480
P364 P407
Q34770
USER
What are the languages of work for Wilson and are considered to be the original language of creation of Clostridium difficile Infection in Children: Current State and Unanswered Questions ?
AND((Q1645480,P407,c(Q34770)), (Q27016320,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q1645480
relation P407
action find
entity Q27016320
relation P364
type Q34770
{'AND': [['Q1645480', 'P407', {'concept': 'Q34770'}], ['Q27016320', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q1645480 property:P407 ?k . resource:Q27016320 property:P364 ?k }
Clostridium difficile Infection in Children: Current State and Unanswered Questions Wilson
action filter_type
action intersection
action find
entity Wilson
relation language of work or name
action find
entity Clostridium difficile Infection in Children: Current State and Unanswered Questions
relation original language of work
type language
{'AND': [['Wilson', 'language of work or name', {'concept': 'language'}], ['Clostridium difficile Infection in Children: Current State and Unanswered Questions', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Wilson property:language_of_work_or_name ?k . resource:Clostridium_difficile_Infection_in_Children:_Current_State_and_Unanswered_Questions property:original_language_of_work ?k }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q1645480,P407,c(Q34770)), (Q27016320,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q1645480
relation P407
action find
entity Q27016320
relation P364
type Q34770
Current State and Unanswered Questions : In [ANSWER] the languages of work for Wilson are considered
{'AND': [['Q1645480', 'P407', {'concept': 'Q34770'}], ['Q27016320', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q1645480 property:P407 ?k . resource:Q27016320 property:P364 ?k }
English
Current State and Unanswered Questions : In English the languages of work for Wilson are considered
English
action filter_type
action intersection
action find
entity Wilson
relation language of work or name
action find
entity Clostridium difficile Infection in Children: Current State and Unanswered Questions
relation original language of work
type language
{'AND': [['Wilson', 'language of work or name', {'concept': 'language'}], ['Clostridium difficile Infection in Children: Current State and Unanswered Questions', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Wilson property:language_of_work_or_name ?k . resource:Clostridium_difficile_Infection_in_Children:_Current_State_and_Unanswered_Questions property:original_language_of_work ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q1346342 Q396188
P361
Q5962346
USER
Is that language a component of Anglic languages and Agricultural journalism ?
(Q1860,P361,Q1346342) (Q1860,P361,Q396188)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q396188
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q396188']
ASK WHERE { resource:Q1860 property:P361 resource:Q396188 . resource:Q1860 property:P361 resource:Q1346342 }
English Anglic languages Agricultural journalism
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Agricultural journalism
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Agricultural journalism']
ASK WHERE { resource:English property:part_of resource:Agricultural_journalism . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q1346342) (Q1860,P361,Q396188)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q396188
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q396188']
ASK WHERE { resource:Q1860 property:P361 resource:Q396188 . resource:Q1860 property:P361 resource:Q1346342 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Agricultural journalism
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Agricultural journalism']
ASK WHERE { resource:English property:part_of resource:Agricultural_journalism . resource:English property:part_of resource:Anglic_languages }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213
P37
Q34770 Q15617994
USER
Which administrative territories have their official language as less number of languages than Czech Republic ?
(c(Q15617994),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q213
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?b ) WHERE { ?l property:P37 ?k . ?l rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q213 property:P37 ?y . ?y rdf:type ontology:Q34770 } } . FILTER ( ?b < ?c ) }
Czech Republic
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Czech Republic
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?b ) WHERE { ?l property:official_language ?k . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Czech_Republic property:official_language ?y . ?y rdf:type ontology:language } } . FILTER ( ?b < ?c ) }
[]
language designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q213
relation P37
type Q34770
[ANSWERS] have their official language as less number of languages than Czech Republic
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?b ) WHERE { ?l property:P37 ?k . ?l rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q213 property:P37 ?y . ?y rdf:type ontology:Q34770 } } . FILTER ( ?b < ?c ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil, United States of America and Georgia have their official language as less number of languages than Czech Republic
Brazil United States of America Georgia
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Czech Republic
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?b ) WHERE { ?l property:official_language ?k . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Czech_Republic property:official_language ?y . ?y rdf:type ontology:language } } . FILTER ( ?b < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q750
P37
Q34770 Q15617994
USER
And also tell me about Bolivia?
(c(Q15617994),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q750
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { ?q property:P37 ?a . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q34770 } GROUP BY ?q } . FILTER ( ?d < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q750 property:P37 ?l . ?l rdf:type ontology:Q34770 } } }
Bolivia
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Bolivia
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { ?q property:official_language ?a . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:language } GROUP BY ?q } . FILTER ( ?d < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Bolivia property:official_language ?l . ?l rdf:type ontology:language } } }
[]
language designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q750
relation P37
type Q34770
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { ?q property:P37 ?a . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q34770 } GROUP BY ?q } . FILTER ( ?d < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q750 property:P37 ?l . ?l rdf:type ontology:Q34770 } } }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil United States of America Georgia
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Bolivia
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?d ) WHERE { ?q property:official_language ?a . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:language } GROUP BY ?q } . FILTER ( ?d < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Bolivia property:official_language ?l . ?l rdf:type ontology:language } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q376896
P180
Q15617994 Q340169 Q838948
USER
How many administrative territories are depicted in more number of medias and works of art than Grenelle ?
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q376896
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:P180 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q340169 } UNION { ?n property:P180 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q838948 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } . ?l property:P180 resource:Q376896 } } . FILTER ( ?k > ?j ) }
Grenelle
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Grenelle
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:depicts ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:media } UNION { ?n property:depicts ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:work_of_art } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:media ) ( ontology:work_of_art ) } } . ?l property:depicts resource:Grenelle } } . FILTER ( ?k > ?j ) }
[]
designation for an administrative territorial entity media work of art
SYSTEM
6
Q674904 Q145 Q739 Q736 Q159605 Q82025
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q376896
relation P180
type Q340169
type Q838948
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:P180 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q340169 } UNION { ?n property:P180 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q838948 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } . ?l property:P180 resource:Q376896 } } . FILTER ( ?k > ?j ) }
Krumau am Kamp United Kingdom Colombia Ecuador Tivoli horn
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Grenelle
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?k ) WHERE { { ?n property:depicts ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:media } UNION { ?n property:depicts ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:work_of_art } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:media ) ( ontology:work_of_art ) } } . ?l property:depicts resource:Grenelle } } . FILTER ( ?k > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P463
Q43229
USER
What organizations had Finland as their member ?
(Q33,P463,c(Q43229))
action filter_type
action find
entity Q33
relation P463
type Q43229
['Q33', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q33 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Finland
action filter_type
action find
entity Finland
relation member of
type organization
['Finland', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Finland property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
Q151991 Q7825 Q41550
SYSTEM
European Southern Observatory, World Trade Organization, Organisation for Economic Co-operation and Development
Q340195 Q191384 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525
(Q33,P463,c(Q43229))
action filter_type
action find
entity Q33
relation P463
type Q43229
[ANSWERS] had Finland as their member
['Q33', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q33 property:P463 ?f . ?f rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association
European Southern Observatory, World Trade Organization and Organisation for Economic Co-operation and Development had Finland as their member
European Southern Observatory World Trade Organization Organisation for Economic Co-operation and Development
action filter_type
action find
entity Finland
relation member of
type organization
['Finland', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Finland property:member_of ?f . ?f rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q151991
P137
Q4213
USER
Which telescopes were managed by that organization ?
(c(Q4213),P137,Q151991)
action filter_type
action find_reverse
entity Q151991
relation P137
type Q4213
[{'concept': 'Q4213'}, 'P137', 'Q151991']
SELECT DISTINCT ?j WHERE { ?j property:P137 resource:Q151991 . ?j rdf:type ontology:Q4213 }
European Southern Observatory
action filter_type
action find_reverse
entity European Southern Observatory
relation operator
type telescope
[{'concept': 'telescope'}, 'operator', 'European Southern Observatory']
SELECT DISTINCT ?j WHERE { ?j property:operator resource:European_Southern_Observatory . ?j rdf:type ontology:telescope }
[]
telescope
Clarification for simple ques.
Q41550
SYSTEM
Did you mean Organisation for Economic Co-operation and Development ?
Q151991 Q7825 Q41550
(c(Q4213),P137,Q151991) (c(Q4213),P137,Q7825) (c(Q4213),P137,Q41550)
[ANSWER]
[{'concept': 'Q4213'}, 'P137', 'Q151991'] [{'concept': 'Q4213'}, 'P137', 'Q7825'] [{'concept': 'Q4213'}, 'P137', 'Q41550']
SELECT DISTINCT ?j WHERE { ?j property:P137 resource:Q151991 . ?j rdf:type ontology:Q4213 }
European Southern Observatory World Trade Organization Organisation for Economic Co-operation and Development
Did you mean Organisation for Economic Co-operation and Development ?
Organisation for Economic Co-operation and Development
[{'concept': 'telescope'}, 'operator', 'European Southern Observatory'] [{'concept': 'telescope'}, 'operator', 'World Trade Organization'] [{'concept': 'telescope'}, 'operator', 'Organisation for Economic Co-operation and Development']
SELECT DISTINCT ?j WHERE { ?j property:operator resource:European_Southern_Observatory . ?j rdf:type ontology:telescope }
[]
Simple Question (Coreferenced)
USER
No, I meant European Southern Observatory. Could you tell me the answer for that?
(c(Q4213),P137,Q151991)
Q151991
[{'concept': 'Q4213'}, 'P137', 'Q151991']
[{'concept': 'telescope'}, 'operator', 'European Southern Observatory']
[]
Q753076 Q725364
SYSTEM
Atacama Pathfinder Experiment, Atacama Large Millimeter Array
Q753076 Q725364
(c(Q4213),P137,Q151991)
action filter_type
action find_reverse
entity Q151991
relation P137
type Q4213
[ANSWERS] were managed by that organization
[{'concept': 'Q4213'}, 'P137', 'Q151991']
SELECT DISTINCT ?j WHERE { ?j property:P137 resource:Q151991 . ?j rdf:type ontology:Q4213 }
Atacama Pathfinder Experiment Atacama Large Millimeter Array
Atacama Pathfinder Experiment and Atacama Large Millimeter Array were managed by that organization
Atacama Pathfinder Experiment Atacama Large Millimeter Array
action filter_type
action find_reverse
entity European Southern Observatory
relation operator
type telescope
[{'concept': 'telescope'}, 'operator', 'European Southern Observatory']
SELECT DISTINCT ?j WHERE { ?j property:operator resource:European_Southern_Observatory . ?j rdf:type ontology:telescope }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151991
P1037
Q502895
USER
Which people manage European Southern Observatory ?
(Q151991,P1037,c(Q502895))
action filter_type
action find
entity Q151991
relation P1037
type Q502895
['Q151991', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q151991 property:P1037 ?b . ?b rdf:type ontology:Q502895 }
European Southern Observatory
action filter_type
action find
entity European Southern Observatory
relation manager/director
type common name
['European Southern Observatory', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:European_Southern_Observatory property:manager/director ?b . ?b rdf:type ontology:common_name }
[]
common name
Q186481 Q329211 Q2941858
SYSTEM
Riccardo Giacconi, Lodewijk Woltjer, Catherine Cesarsky
Q62016 Q186481 Q329211 Q2659451 Q1748704 Q2941858 Q360028
(Q151991,P1037,c(Q502895))
action filter_type
action find
entity Q151991
relation P1037
type Q502895
[ANSWERS] manage European Southern Observatory
['Q151991', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q151991 property:P1037 ?b . ?b rdf:type ontology:Q502895 }
Otto Heckmann Riccardo Giacconi Lodewijk Woltjer Tim de Zeeuw Harry van der Laan Catherine Cesarsky Adriaan Blaauw
Riccardo Giacconi, Lodewijk Woltjer and Catherine Cesarsky manage European Southern Observatory
Riccardo Giacconi Lodewijk Woltjer Catherine Cesarsky
action filter_type
action find
entity European Southern Observatory
relation manager/director
type common name
['European Southern Observatory', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:European_Southern_Observatory property:manager/director ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1534165
Q502895
USER
And also tell me about Navy Command?
(Q1534165,P1037,c(Q502895))
action filter_type
action find
entity Q1534165
relation P1037
type Q502895
['Q1534165', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1534165 property:P1037 ?b . ?b rdf:type ontology:Q502895 }
Navy Command
action filter_type
action find
entity Navy Command
relation manager/director
type common name
['Navy Command', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Navy_Command property:manager/director ?b . ?b rdf:type ontology:common_name }
[]
common name
Q1598144 Q498986 Q18347213
SYSTEM
Heinrich Lange, Andreas Krause, Rainer Brinkmann
Q1598144 Q498986 Q18347213
(Q1534165,P1037,c(Q502895))
action filter_type
action find
entity Q1534165
relation P1037
type Q502895
[ANSWERS]
['Q1534165', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1534165 property:P1037 ?b . ?b rdf:type ontology:Q502895 }
Heinrich Lange Andreas Krause Rainer Brinkmann
Heinrich Lange Andreas Krause Rainer Brinkmann
action filter_type
action find
entity Navy Command
relation manager/director
type common name
['Navy Command', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Navy_Command property:manager/director ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works did atleast 14 people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 14
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?c ) WHERE { ?k property:P725 ?n . ?k rdf:type ontology:Q386724 . ?n rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?c >= 14 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 14
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?c ) WHERE { ?k property:voice_actor ?n . ?k rdf:type ontology:work . ?n rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?c >= 14 ) }
[]
common name work
SYSTEM
3
Q26331781 Q26712000 Q26301623
(c(Q386724),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 14
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?c ) WHERE { ?k property:P725 ?n . ?k rdf:type ontology:Q386724 . ?n rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?c >= 14 ) }
Hércules y el examen de conducir Hércules y los Tecno-Griegos Hércules y el primer día de escuela
3
action count
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 14
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?c ) WHERE { ?k property:voice_actor ?n . ?k rdf:type ontology:work . ?n rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?c >= 14 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q186481
P138
Q17444909
USER
Which astronomical object type comes from Riccardo Giacconi ?
(c(Q17444909),P138,Q186481)
action filter_type
action find_reverse
entity Q186481
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q186481']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q186481 . ?k rdf:type ontology:Q17444909 }
Riccardo Giacconi
action filter_type
action find_reverse
entity Riccardo Giacconi
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Riccardo Giacconi']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Riccardo_Giacconi . ?k rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q1046840
SYSTEM
3371 Giacconi
Q1046840
(c(Q17444909),P138,Q186481)
action filter_type
action find_reverse
entity Q186481
relation P138
type Q17444909
[ANSWER] comes from Riccardo Giacconi
[{'concept': 'Q17444909'}, 'P138', 'Q186481']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q186481 . ?k rdf:type ontology:Q17444909 }
3371 Giacconi
3371 Giacconi comes from Riccardo Giacconi
3371 Giacconi
action filter_type
action find_reverse
entity Riccardo Giacconi
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Riccardo Giacconi']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Riccardo_Giacconi . ?k rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1046840
P196
Q6999
USER
Which astronomical object comprises the minor planet group of that astronomical object type ?
(Q1046840,P196,c(Q6999))
action filter_type
action find
entity Q1046840
relation P196
type Q6999
['Q1046840', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q6999 . resource:Q1046840 property:P196 ?e }
3371 Giacconi
action filter_type
action find
entity 3371 Giacconi
relation minor planet group
type astronomical object
['3371 Giacconi', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:astronomical_object . resource:3371_Giacconi property:minor_planet_group ?e }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
(Q1046840,P196,c(Q6999))
action filter_type
action find
entity Q1046840
relation P196
type Q6999
[ANSWER] comprises the minor planet group of that astronomical object type
['Q1046840', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q6999 . resource:Q1046840 property:P196 ?e }
asteroid belt
Asteroid belt comprises the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 3371 Giacconi
relation minor planet group
type astronomical object
['3371 Giacconi', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:astronomical_object . resource:3371_Giacconi property:minor_planet_group ?e }
[]