Simple Question (Direct)
Simple Question
Q5487614
P106
Q12737077
USER
What is the profession of Frank K. Richardson ?
(Q5487614,P106,c(Q12737077))
action filter_type
action find
entity Q5487614
relation P106
type Q12737077
['Q5487614', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5487614 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Frank K. Richardson
action filter_type
action find
entity Frank K. Richardson
relation occupation
type occupation
['Frank K. Richardson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Frank_K._Richardson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q16533
SYSTEM
judge
Q16533
(Q5487614,P106,c(Q12737077))
action filter_type
action find
entity Q5487614
relation P106
type Q12737077
The profession of Frank K . Richardson is a [ANSWER]
['Q5487614', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5487614 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
judge
The profession of Frank K . Richardson is a judge
judge
action filter_type
action find
entity Frank K. Richardson
relation occupation
type occupation
['Frank K. Richardson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Frank_K._Richardson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5487614
P69
Q3918
USER
Where was Frank K. Richardson educated ?
(Q5487614,P69,c(Q3918))
action filter_type
action find
entity Q5487614
relation P69
type Q3918
['Q5487614', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { resource:Q5487614 property:P69 ?o . ?o rdf:type ontology:Q3918 }
Frank K. Richardson
action filter_type
action find
entity Frank K. Richardson
relation educated at
type university
['Frank K. Richardson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { resource:Frank_K._Richardson property:educated_at ?o . ?o rdf:type ontology:university }
[]
university
Q8012895
SYSTEM
Stanford Law School
Q8012895
(Q5487614,P69,c(Q3918))
action filter_type
action find
entity Q5487614
relation P69
type Q3918
Frank K. Richardson was educated at [ANSWER]
['Q5487614', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { resource:Q5487614 property:P69 ?o . ?o rdf:type ontology:Q3918 }
Stanford Law School
Frank K. Richardson was educated at Stanford Law School
Stanford Law School
action filter_type
action find
entity Frank K. Richardson
relation educated at
type university
['Frank K. Richardson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { resource:Frank_K._Richardson property:educated_at ?o . ?o rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5487614
P21
Q290
USER
What is the sex of Frank K. Richardson ?
(Q5487614,P21,c(Q290))
action filter_type
action find
entity Q5487614
relation P21
type Q290
['Q5487614', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q5487614 property:P21 ?i }
Frank K. Richardson
action filter_type
action find
entity Frank K. Richardson
relation gender
type sex
['Frank K. Richardson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Frank_K._Richardson property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5487614,P21,c(Q290))
action filter_type
action find
entity Q5487614
relation P21
type Q290
The sex of Frank K . Richardson is the [ANSWER]
['Q5487614', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q5487614 property:P21 ?i }
male
The sex of Frank K . Richardson is the male
male
action filter_type
action find
entity Frank K. Richardson
relation gender
type sex
['Frank K. Richardson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Frank_K._Richardson property:gender ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36180
P921
Q12737077 Q191067 Q2342494
USER
How many occupations were the main subjects in the work approximately the same number of articles or collectables as writer ?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q36180
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?i rdf:type ?z } . ?i property:P921 resource:Q36180 } } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { { ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 . ?y property:P921 ?e } UNION { ?y property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?e } }
writer
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity writer
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { VALUES ( ?z ) { ( ontology:collectable ) ( ontology:article ) } . ?i rdf:type ?z } . ?i property:main_subject resource:writer } } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { { ?e rdf:type ontology:occupation . ?y rdf:type ontology:collectable . ?y property:main_subject ?e } UNION { ?y property:main_subject ?e . ?e rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?e } }
[]
occupation article collectable
SYSTEM
74
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q36180
relation P921
type Q191067
type Q2342494
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?i rdf:type ?z } . ?i property:P921 resource:Q36180 } } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { { ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 . ?y property:P921 ?e } UNION { ?y property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?e } }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
74
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity writer
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { VALUES ( ?z ) { ( ontology:collectable ) ( ontology:article ) } . ?i rdf:type ?z } . ?i property:main_subject resource:writer } } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { { ?e rdf:type ontology:occupation . ?y rdf:type ontology:collectable . ?y property:main_subject ?e } UNION { ?y property:main_subject ?e . ?e rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q15320003
P921
Q12737077 Q191067 Q2342494
USER
And what about migrant worker?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q15320003
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?l WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P921 resource:Q15320003 . { { ?b rdf:type ontology:Q191067 } UNION { ?b rdf:type ontology:Q2342494 } } } } . FILTER ( ?t = ?h ) }
migrant worker
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity migrant worker
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?l WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:article ) ( ontology:collectable ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:main_subject resource:migrant_worker . { { ?b rdf:type ontology:article } UNION { ?b rdf:type ontology:collectable } } } } . FILTER ( ?t = ?h ) }
[]
occupation article collectable
SYSTEM
74
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q15320003
relation P921
type Q191067
type Q2342494
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?l WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P921 resource:Q15320003 . { { ?b rdf:type ontology:Q191067 } UNION { ?b rdf:type ontology:Q2342494 } } } } . FILTER ( ?t = ?h ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
74
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity migrant worker
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?l WHERE { ?n rdf:type ?e . VALUES ( ?e ) { ( ontology:article ) ( ontology:collectable ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:main_subject resource:migrant_worker . { { ?b rdf:type ontology:article } UNION { ?b rdf:type ontology:collectable } } } } . FILTER ( ?t = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5487614
P607
Q198
USER
What battle was Frank K. Richardson a part of ?
(Q5487614,P607,c(Q198))
action filter_type
action find
entity Q5487614
relation P607
type Q198
['Q5487614', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { resource:Q5487614 property:P607 ?e . ?e rdf:type ontology:Q198 }
Frank K. Richardson
action filter_type
action find
entity Frank K. Richardson
relation conflict
type war
['Frank K. Richardson', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { resource:Frank_K._Richardson property:conflict ?e . ?e rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q5487614,P607,c(Q198))
action filter_type
action find
entity Q5487614
relation P607
type Q198
The [ANSWER] was Frank K. Richardson a part of
['Q5487614', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { resource:Q5487614 property:P607 ?e . ?e rdf:type ontology:Q198 }
World War II
The World War II was Frank K. Richardson a part of
World War II
action filter_type
action find
entity Frank K. Richardson
relation conflict
type war
['Frank K. Richardson', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { resource:Frank_K._Richardson property:conflict ?e . ?e rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5487614
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q362,P27,c(Q15617994))
action filter_type
action find
entity Q5487614
relation P27
type Q15617994
['Q362', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5487614 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Frank K. Richardson
action filter_type
action find
entity Frank K. Richardson
relation country of citizenship
type designation for an administrative territorial entity
['World War II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Frank_K._Richardson property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q362,P27,c(Q15617994))
action filter_type
action find
entity Q5487614
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q362', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5487614 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Frank K. Richardson
relation country of citizenship
type designation for an administrative territorial entity
['World War II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Frank_K._Richardson property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q15416
USER
Which administrative territories are the countries of origin of less number of works of art and television programs than that administrative territory ?
(c(Q838948)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?v WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?v } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P495 resource:Q30 . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?v WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?v } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:country_of_origin resource:United_States_of_America . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } }
[]
designation for an administrative territorial entity work of art television program
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q838948
type Q15416
[ANSWERS] are the countries of origin of less number of works of art and television programs than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?v WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?v } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P495 resource:Q30 . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of less number of works of art and television programs than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?v WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?v } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:country_of_origin resource:United_States_of_America . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q504189
P530
Q15617994
USER
Do Fremdingen have ambassadorial relations with those ones ?
(Q504189,P530,Q38) (Q504189,P530,Q155) (Q504189,P530,Q230)
action is_in
entity prev_answer
action find
entity Q504189
relation P530
['Q504189', 'P530', 'Q38'] ['Q504189', 'P530', 'Q155'] ['Q504189', 'P530', 'Q230']
ASK WHERE { VALUES ( ?n ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q504189 property:P530 ?n }
Fremdingen
action is_in
entity prev_answer
action find
entity Fremdingen
relation diplomatic relation
['Fremdingen', 'diplomatic relation', 'Italy'] ['Fremdingen', 'diplomatic relation', 'Brazil'] ['Fremdingen', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?n ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Fremdingen property:diplomatic_relation ?n }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q504189,P530,Q38) (Q504189,P530,Q155) (Q504189,P530,Q230)
action is_in
entity prev_answer
action find
entity Q504189
relation P530
[ANSWER]
['Q504189', 'P530', 'Q38'] ['Q504189', 'P530', 'Q155'] ['Q504189', 'P530', 'Q230']
ASK WHERE { VALUES ( ?n ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q504189 property:P530 ?n }
No
action is_in
entity prev_answer
action find
entity Fremdingen
relation diplomatic relation
['Fremdingen', 'diplomatic relation', 'Italy'] ['Fremdingen', 'diplomatic relation', 'Brazil'] ['Fremdingen', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?n ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Fremdingen property:diplomatic_relation ?n }
[]