Simple Question (Direct)
Simple Question
Q1962951
P20
Q56061
USER
Where did the expiration of Nahum Meir Schaikewitz occur ?
(Q1962951,P20,c(Q56061))
action filter_type
action find
entity Q1962951
relation P20
type Q56061
['Q1962951', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1962951 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Nahum Meir Schaikewitz
action filter_type
action find
entity Nahum Meir Schaikewitz
relation place of death
type administrative territorial entity
['Nahum Meir Schaikewitz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Nahum_Meir_Schaikewitz property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1962951,P20,c(Q56061))
action filter_type
action find
entity Q1962951
relation P20
type Q56061
The expiration of Nahum Meir Schaikewitz occurred in [ANSWER]
['Q1962951', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1962951 property:P20 ?n . ?n rdf:type ontology:Q56061 }
New York City
The expiration of Nahum Meir Schaikewitz occurred in New York City
New York City
action filter_type
action find
entity Nahum Meir Schaikewitz
relation place of death
type administrative territorial entity
['Nahum Meir Schaikewitz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Nahum_Meir_Schaikewitz property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1962951
P22
Q502895
USER
Which person has Nahum Meir Schaikewitz as dad ?
(c(Q502895),P22,Q1962951)
action filter_type
action find_reverse
entity Q1962951
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1962951']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q1962951 . ?m rdf:type ontology:Q502895 }
Nahum Meir Schaikewitz
action filter_type
action find_reverse
entity Nahum Meir Schaikewitz
relation father
type common name
[{'concept': 'common name'}, 'father', 'Nahum Meir Schaikewitz']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Nahum_Meir_Schaikewitz . ?m rdf:type ontology:common_name }
[]
common name
Q24455641
SYSTEM
Miriam Shomer Zunser
Q24455641
(c(Q502895),P22,Q1962951)
action filter_type
action find_reverse
entity Q1962951
relation P22
type Q502895
[ANSWER] has Nahum Meir Schaikewitz as dad
[{'concept': 'Q502895'}, 'P22', 'Q1962951']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q1962951 . ?m rdf:type ontology:Q502895 }
Miriam Shomer Zunser
Miriam Shomer Zunser has Nahum Meir Schaikewitz as dad
Miriam Shomer Zunser
action filter_type
action find_reverse
entity Nahum Meir Schaikewitz
relation father
type common name
[{'concept': 'common name'}, 'father', 'Nahum Meir Schaikewitz']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Nahum_Meir_Schaikewitz . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24455641
P106
Q12737077
USER
What are the professions of that person ?
(Q24455641,P106,c(Q12737077))
action filter_type
action find
entity Q24455641
relation P106
type Q12737077
['Q24455641', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q24455641 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Miriam Shomer Zunser
action filter_type
action find
entity Miriam Shomer Zunser
relation occupation
type occupation
['Miriam Shomer Zunser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Miriam_Shomer_Zunser property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1930187 Q483501
SYSTEM
journalist, artist
Q1930187 Q483501
(Q24455641,P106,c(Q12737077))
action filter_type
action find
entity Q24455641
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q24455641', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q24455641 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
journalist artist
The professions of that person are the journalist and artist
journalist artist
action filter_type
action find
entity Miriam Shomer Zunser
relation occupation
type occupation
['Miriam Shomer Zunser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Miriam_Shomer_Zunser property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1930187
P425
Q12737077
USER
How many occupations are associated with the field of occupation journalist ?
(Q1930187,P425,c(Q12737077))
action count
action filter_type
action find
entity Q1930187
relation P425
type Q12737077
['Q1930187', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q1930187 property:P425 ?a . ?a rdf:type ontology:Q12737077 }
journalist
action count
action filter_type
action find
entity journalist
relation field of this occupation
type occupation
['journalist', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:journalist property:field_of_this_occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q36180
(Q1930187,P425,c(Q12737077))
action count
action filter_type
action find
entity Q1930187
relation P425
type Q12737077
[ANSWER]
['Q1930187', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q1930187 property:P425 ?a . ?a rdf:type ontology:Q12737077 }
writer
1
action count
action filter_type
action find
entity journalist
relation field of this occupation
type occupation
['journalist', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:journalist property:field_of_this_occupation ?a . ?a rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20085212
P425
Q12737077
USER
And what about master of the sugar works?
(Q20085212,P425,c(Q12737077))
action count
action filter_type
action find
entity Q20085212
relation P425
type Q12737077
['Q20085212', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:Q12737077 . resource:Q20085212 property:P425 ?z }
master of the sugar works
action count
action filter_type
action find
entity master of the sugar works
relation field of this occupation
type occupation
['master of the sugar works', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:occupation . resource:master_of_the_sugar_works property:field_of_this_occupation ?z }
[]
occupation
SYSTEM
1
Q131524
(Q20085212,P425,c(Q12737077))
action count
action filter_type
action find
entity Q20085212
relation P425
type Q12737077
[ANSWER]
['Q20085212', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:Q12737077 . resource:Q20085212 property:P425 ?z }
entrepreneur
1
action count
action filter_type
action find
entity master of the sugar works
relation field of this occupation
type occupation
['master of the sugar works', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z rdf:type ontology:occupation . resource:master_of_the_sugar_works property:field_of_this_occupation ?z }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q242468
Q12737077
USER
And also tell me about tailor?
(Q242468,P425,c(Q12737077))
action count
action filter_type
action find
entity Q242468
relation P425
type Q12737077
['Q242468', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q12737077 . resource:Q242468 property:P425 ?j }
tailor
action count
action filter_type
action find
entity tailor
relation field of this occupation
type occupation
['tailor', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:occupation . resource:tailor property:field_of_this_occupation ?j }
[]
occupation
SYSTEM
1
(Q242468,P425,c(Q12737077))
action count
action filter_type
action find
entity Q242468
relation P425
type Q12737077
[ANSWER]
['Q242468', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q12737077 . resource:Q242468 property:P425 ?j }
1
action count
action filter_type
action find
entity tailor
relation field of this occupation
type occupation
['tailor', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:occupation . resource:tailor property:field_of_this_occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P1376
Q15617994
USER
Which administrative territory has New York City has its center of administration ?
(Q60,P1376,c(Q15617994))
action filter_type
action find
entity Q60
relation P1376
type Q15617994
['Q60', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q60 property:P1376 ?g . ?g rdf:type ontology:Q15617994 }
New York City
action filter_type
action find
entity New York City
relation capital of
type designation for an administrative territorial entity
['New York City', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:New_York_City property:capital_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q60,P1376,c(Q15617994))
action filter_type
action find
entity Q60
relation P1376
type Q15617994
City [ANSWER] has New York City has its center of administration
['Q60', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q60 property:P1376 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
City United States of America has New York City has its center of administration
United States of America
action filter_type
action find
entity New York City
relation capital of
type designation for an administrative territorial entity
['New York City', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:New_York_City property:capital_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q720902 Q22686
P6
Q502895
USER
Is Giorgi Arveladze and Donald Trump the head of the goverment of Q30 ?
(Q30,P6,Q720902) (Q30,P6,Q22686)
action is_in
entity Q30
action intersection
action find_reverse
entity Q720902
relation P6
action find_reverse
entity Q22686
relation P6
['Q30', 'P6', 'Q720902'] ['Q30', 'P6', 'Q22686']
ASK WHERE { resource:Q30 property:P6 resource:Q720902 . resource:Q30 property:P6 resource:Q22686 }
United States of America Giorgi Arveladze Donald Trump
action is_in
entity United States of America
action intersection
action find_reverse
entity Giorgi Arveladze
relation head of government
action find_reverse
entity Donald Trump
relation head of government
['United States of America', 'head of government', 'Giorgi Arveladze'] ['United States of America', 'head of government', 'Donald Trump']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Giorgi_Arveladze . resource:United_States_of_America property:head_of_government resource:Donald_Trump }
[]
common name
SYSTEM
NO and YES respectively
(Q30,P6,Q720902) (Q30,P6,Q22686)
action is_in
entity Q30
action intersection
action find_reverse
entity Q720902
relation P6
action find_reverse
entity Q22686
relation P6
[ANSWER]
['Q30', 'P6', 'Q720902'] ['Q30', 'P6', 'Q22686']
ASK WHERE { resource:Q30 property:P6 resource:Q720902 . resource:Q30 property:P6 resource:Q22686 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Giorgi Arveladze
relation head of government
action find_reverse
entity Donald Trump
relation head of government
['United States of America', 'head of government', 'Giorgi Arveladze'] ['United States of America', 'head of government', 'Donald Trump']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Giorgi_Arveladze . resource:United_States_of_America property:head_of_government resource:Donald_Trump }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q29
P17
Q15617994 Q3700011 Q2221906
USER
How many administrative territories do more number of districts of Indonesia or geographic locations belong to than Spain ?
(c(Q3700011)|c(Q2221906),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q29
relation P17
type Q3700011
type Q2221906
[[{'concept': 'Q3700011'}, {'concept': 'Q2221906'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?v WHERE { { ?w property:P17 ?v . ?w rdf:type ontology:Q3700011 . ?v rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q2221906 . ?w property:P17 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { VALUES ( ?a ) { ( ontology:Q3700011 ) ( ontology:Q2221906 ) } . ?p rdf:type ?a } . ?p property:P17 resource:Q29 } } . FILTER ( ?f > ?h ) }
Spain
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find_reverse
entity Spain
relation country
type district of Indonesia
type geographic location
[[{'concept': 'district of Indonesia'}, {'concept': 'geographic location'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?v WHERE { { ?w property:country ?v . ?w rdf:type ontology:district_of_Indonesia . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:geographic_location . ?w property:country ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { VALUES ( ?a ) { ( ontology:district_of_Indonesia ) ( ontology:geographic_location ) } . ?p rdf:type ?a } . ?p property:country resource:Spain } } . FILTER ( ?f > ?h ) }
[]
designation for an administrative territorial entity district of Indonesia geographic location
SYSTEM
9
Q145 Q148 Q717 Q252 Q159 Q30 Q39 Q833 Q878
(c(Q3700011)|c(Q2221906),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q29
relation P17
type Q3700011
type Q2221906
[ANSWER]
[[{'concept': 'Q3700011'}, {'concept': 'Q2221906'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?v WHERE { { ?w property:P17 ?v . ?w rdf:type ontology:Q3700011 . ?v rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q2221906 . ?w property:P17 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { VALUES ( ?a ) { ( ontology:Q3700011 ) ( ontology:Q2221906 ) } . ?p rdf:type ?a } . ?p property:P17 resource:Q29 } } . FILTER ( ?f > ?h ) }
United Kingdom People's Republic of China Venezuela Indonesia Russia United States of America Switzerland Malaysia United Arab Emirates
9
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find_reverse
entity Spain
relation country
type district of Indonesia
type geographic location
[[{'concept': 'district of Indonesia'}, {'concept': 'geographic location'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?v WHERE { { ?w property:country ?v . ?w rdf:type ontology:district_of_Indonesia . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:geographic_location . ?w property:country ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { VALUES ( ?a ) { ( ontology:district_of_Indonesia ) ( ontology:geographic_location ) } . ?p rdf:type ?a } . ?p property:country resource:Spain } } . FILTER ( ?f > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1032
P17
Q15617994 Q3700011 Q2221906
USER
And what about Niger?
(c(Q3700011)|c(Q2221906),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q1032
relation P17
type Q3700011
type Q2221906
[[{'concept': 'Q3700011'}, {'concept': 'Q2221906'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2221906 } UNION { ?p property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q3700011 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:P17 resource:Q1032 . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q3700011 ) } } } } . FILTER ( ?z > ?x ) }
Niger
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find_reverse
entity Niger
relation country
type district of Indonesia
type geographic location
[[{'concept': 'district of Indonesia'}, {'concept': 'geographic location'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:geographic_location } UNION { ?p property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:district_of_Indonesia } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:country resource:Niger . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:district_of_Indonesia ) } } } } . FILTER ( ?z > ?x ) }
[]
designation for an administrative territorial entity district of Indonesia geographic location
SYSTEM
109
Q801 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q214 Q712 Q711 Q717 Q837 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q219 Q822 Q242 Q736 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q29999 Q854 Q734 Q424 Q230 Q233 Q20 Q1045 Q1041 Q27 Q28 Q1025 Q1027 Q843 Q842 Q184 Q1028 Q32 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q17 Q902 Q974 Q1033 Q1030 Q963 Q298 Q695 Q115 Q754 Q212 Q213 Q211 Q215 Q218 Q37 Q912 Q1006 Q833 Q1009 Q760 Q29 Q874 Q79 Q858 Q878 Q774 Q817 Q810 Q1019 Q1016 Q863 Q1049 Q869
(c(Q3700011)|c(Q2221906),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q1032
relation P17
type Q3700011
type Q2221906
[ANSWER]
[[{'concept': 'Q3700011'}, {'concept': 'Q2221906'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2221906 } UNION { ?p property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q3700011 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:P17 resource:Q1032 . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q3700011 ) } } } } . FILTER ( ?z > ?x ) }
Israel Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Slovakia Fiji Mongolia Venezuela Nepal Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Bulgaria Lebanon Belize Ecuador Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Kingdom of the Netherlands Sri Lanka Guyana Cambodia Georgia Malta Norway Somalia Senegal Ireland Hungary Mauritania Mauritius Pakistan Oman Belarus Morocco Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Botswana Chile Palau Ethiopia Trinidad and Tobago Ukraine Czech Republic Latvia Slovenia Romania Lithuania Mali Guinea Malaysia Cameroon Saint Lucia Spain Turkmenistan Egypt Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Tajikistan Sudan Thailand
109
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find_reverse
entity Niger
relation country
type district of Indonesia
type geographic location
[[{'concept': 'district of Indonesia'}, {'concept': 'geographic location'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:geographic_location } UNION { ?p property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:district_of_Indonesia } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:country resource:Niger . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:district_of_Indonesia ) } } } } . FILTER ( ?z > ?x ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q22686
P161 P495
Q838948
USER
Which works of art have Donald Trump as actor and originated in United States of America ?
AND((c(Q838948),P161,Q22686), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q22686
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q22686'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?o WHERE { ?o property:P161 resource:Q22686 . ?o property:P495 resource:Q30 . ?o rdf:type ontology:Q838948 }
United States of America Donald Trump
action filter_type
action intersection
action find_reverse
entity Donald Trump
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Donald Trump'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?o WHERE { ?o property:cast_member resource:Donald_Trump . ?o property:country_of_origin resource:United_States_of_America . ?o rdf:type ontology:work_of_art }
[]
work of art
Q1516984 Q1974702 Q220192 Q1052826 Q3978030 Q6506749 Q27461479 Q644634 Q4106870
SYSTEM
Ghosts Can't Do It, The Associate, Zoolander, Celebrity, Superstar: The Life and Times of Andy Warhol, Le Cirque: A Table in Heaven, Michael Moore in TrumpLand, The Little Rascals, POM Wonderful Presents: The Greatest Movie Ever Sold
Q1516984 Q1974702 Q220192 Q1052826 Q3978030 Q6506749 Q27461479 Q644634 Q4106870
AND((c(Q838948),P161,Q22686), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q22686
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
Ghosts Can't Do It, The Associate, Zoolander, Celebrity, Superstar: The Life and Times of Andy Warhol, Le Cirque: A Table in Heaven, Michael Moore in TrumpLand, The Little Rascals and POM Wonderful Presents: The Greatest Movie Ever sold have Donald Trump as actor and originated in United States of America
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q22686'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?o WHERE { ?o property:P161 resource:Q22686 . ?o property:P495 resource:Q30 . ?o rdf:type ontology:Q838948 }
Ghosts Can't Do It The Associate Zoolander Celebrity Superstar: The Life and Times of Andy Warhol Le Cirque: A Table in Heaven Michael Moore in TrumpLand The Little Rascals POM Wonderful Presents: The Greatest Movie Ever Sold
Ghosts Can't Do It, The Associate, Zoolander, Celebrity, Superstar: The Life and Times of Andy Warhol, Le Cirque: A Table in Heaven, Michael Moore in TrumpLand, The Little Rascals and POM Wonderful Presents: The Greatest Movie Ever sold have Donald Trump as actor and originated in United States of America
Ghosts Can't Do It The Associate Zoolander Celebrity Superstar: The Life and Times of Andy Warhol Le Cirque: A Table in Heaven Michael Moore in TrumpLand The Little Rascals POM Wonderful Presents: The Greatest Movie Ever Sold
action filter_type
action intersection
action find_reverse
entity Donald Trump
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Donald Trump'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?o WHERE { ?o property:cast_member resource:Donald_Trump . ?o property:country_of_origin resource:United_States_of_America . ?o rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11927
P1445
Q838948 Q386724
USER
How many works were described in around the same number of works of art as Stargate ?
(c(Q386724),P1445,c(Q838948))
action count
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { ?z property:P1445 ?j . ?z rdf:type ontology:Q386724 . ?j rdf:type ontology:Q838948 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q11927 property:P1445 ?o . ?o rdf:type ontology:Q386724 } } . FILTER ( ?y = ?t ) }
Stargate
action count
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { ?z property:fictional_universe_described_in ?j . ?z rdf:type ontology:work . ?j rdf:type ontology:work_of_art } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Stargate property:fictional_universe_described_in ?o . ?o rdf:type ontology:work } } . FILTER ( ?y = ?t ) }
[]
work of art work
SYSTEM
4
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action count
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { ?z property:P1445 ?j . ?z rdf:type ontology:Q386724 . ?j rdf:type ontology:Q838948 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q11927 property:P1445 ?o . ?o rdf:type ontology:Q386724 } } . FILTER ( ?y = ?t ) }
Shrek Aladdin media franchise Stargate The Walking Dead
4
action count
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { ?z property:fictional_universe_described_in ?j . ?z rdf:type ontology:work . ?j rdf:type ontology:work_of_art } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Stargate property:fictional_universe_described_in ?o . ?o rdf:type ontology:work } } . FILTER ( ?y = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3177580
P1445
Q838948 Q386724
USER
And also tell me about The Walking Dead?
(c(Q386724),P1445,c(Q838948))
action count
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q3177580 property:P1445 ?n . ?n rdf:type ontology:Q386724 } } . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:P1445 ?e . ?z rdf:type ontology:Q386724 . ?e rdf:type ontology:Q838948 } GROUP BY ?z } }
The Walking Dead
action count
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:The_Walking_Dead property:fictional_universe_described_in ?n . ?n rdf:type ontology:work } } . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:fictional_universe_described_in ?e . ?z rdf:type ontology:work . ?e rdf:type ontology:work_of_art } GROUP BY ?z } }
[]
work of art work
SYSTEM
4
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action count
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q3177580 property:P1445 ?n . ?n rdf:type ontology:Q386724 } } . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:P1445 ?e . ?z rdf:type ontology:Q386724 . ?e rdf:type ontology:Q838948 } GROUP BY ?z } }
Shrek Aladdin media franchise Stargate The Walking Dead
4
action count
action approx
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:The_Walking_Dead property:fictional_universe_described_in ?n . ?n rdf:type ontology:work } } . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:fictional_universe_described_in ?e . ?z rdf:type ontology:work . ?e rdf:type ontology:work_of_art } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P183
Q16521
USER
Which taxon is endemic to United States of America ?
(c(Q16521),P183,Q30)
action filter_type
action find_reverse
entity Q30
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P183 resource:Q30 . ?w rdf:type ontology:Q16521 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:endemic_to resource:United_States_of_America . ?w rdf:type ontology:taxon }
[]
taxon
Q2205148
SYSTEM
Northern dwarf siren
Q2205148
(c(Q16521),P183,Q30)
action filter_type
action find_reverse
entity Q30
relation P183
type Q16521
The [ANSWER] is endemic to United States of America
[{'concept': 'Q16521'}, 'P183', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P183 resource:Q30 . ?w rdf:type ontology:Q16521 }
Northern dwarf siren
The Northern dwarf siren is endemic to United States of America
Northern dwarf siren
action filter_type
action find_reverse
entity United States of America
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:endemic_to resource:United_States_of_America . ?w rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P740
Q43229
USER
Which organizations were formed at that administrative territory ?
(c(Q43229),P740,Q2205148)
action filter_type
action find_reverse
entity Q30
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q2205148']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q43229 . ?y property:P740 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Northern dwarf siren']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:organization . ?y property:location_of_formation resource:United_States_of_America }
[]
organization
Q734338 Q6772151 Q4896350
SYSTEM
Verisign, Marmon Group, Bespoke Collection
Q5038187 Q388180 Q7317760 Q5533825 Q19359741 Q7897909 Q5266106 Q15995297 Q734338 Q4896350 Q8045063 Q7863282 Q191458 Q5065249 Q1075788 Q7577594 Q6546492 Q7310949 Q3493657 Q5436998 Q2648305 Q7200860 Q6862278 Q7389913 Q5500667 Q6795483 Q3504397 Q858370 Q6772151
(c(Q43229),P740,Q2205148)
action filter_type
action find_reverse
entity Q30
relation P740
type Q43229
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q2205148']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q43229 . ?y property:P740 resource:Q30 }
CardRunners Premier Rides Revcube Genuitec Nowsecure Up4Sale DeucesCracked PlayOn Verisign Bespoke Collection XtreamLok U.S. Polo Assn. Entertainment Software Rating Board Certified Treasury Professional Choice Hotels Spinner Lightningcast Relegence Splashdown Fast Track Allen-Bradley PlanGrid Mimobot SE Electronics Freedom Yachts Maxfli Avirex BigChampagne Marmon Group
Verisign, Marmon Group and Bespoke Collection were formed at that administrative territory
Verisign Marmon Group Bespoke Collection
action filter_type
action find_reverse
entity United States of America
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Northern dwarf siren']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:organization . ?y property:location_of_formation resource:United_States_of_America }
[]