Simple Question (Direct)
Simple Question
Q6412240
P136
Q1792379
USER
What can be considered as category for King of Gamblers ?
(Q6412240,P136,c(Q1792379))
action filter_type
action find
entity Q6412240
relation P136
type Q1792379
['Q6412240', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q6412240 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
King of Gamblers
action filter_type
action find
entity King of Gamblers
relation genre
type art genre
['King of Gamblers', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:King_of_Gamblers property:genre ?p . ?p rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q6412240,P136,c(Q1792379))
action filter_type
action find
entity Q6412240
relation P136
type Q1792379
The [ANSWER] can be considered as category for King of Gamblers
['Q6412240', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q6412240 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for King of Gamblers
drama film
action filter_type
action find
entity King of Gamblers
relation genre
type art genre
['King of Gamblers', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:King_of_Gamblers property:genre ?p . ?p rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6412240
P161
Q502895
USER
Which people starred in King of Gamblers ?
(Q6412240,P161,c(Q502895))
action filter_type
action find
entity Q6412240
relation P161
type Q502895
['Q6412240', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6412240 property:P161 ?e . ?e rdf:type ontology:Q502895 }
King of Gamblers
action filter_type
action find
entity King of Gamblers
relation cast member
type common name
['King of Gamblers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:King_of_Gamblers property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
common name
Q722156 Q233850 Q744357
SYSTEM
Buster Crabbe, Claire Trevor, Paul Fix
Q152779 Q722156 Q31221 Q233850 Q892692 Q3453469 Q280666 Q520824 Q13099278 Q418424 Q744357 Q283123 Q2884624 Q3128047 Q511274 Q3399241 Q1307857 Q2573935 Q1764618 Q286928
(Q6412240,P161,c(Q502895))
action filter_type
action find
entity Q6412240
relation P161
type Q502895
The [ANSWERS] starred in King of Gamblers
['Q6412240', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6412240 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Louise Brooks Buster Crabbe Evelyn Brent Claire Trevor Colin Tapley Russell Hicks Lloyd Nolan Cecil Cunningham Alphonse Martell Akim Tamiroff Paul Fix Frank Puglia Barlowe Borland Harvey Stephens Fay Holden Porter Hall Frank Reicher Purnell Pratt George Magrill Priscilla Lawson
The Buster Crabbe, Claire Trevor and Paul Fix starred in King of Gamblers
Buster Crabbe Claire Trevor Paul Fix
action filter_type
action find
entity King of Gamblers
relation cast member
type common name
['King of Gamblers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:King_of_Gamblers property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art stars that person as actor ?
(c(Q838948),P161,Q722156)
[{'concept': 'Q838948'}, 'P161', 'Q722156']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q722156 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Buster Crabbe']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Buster_Crabbe . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q722156
SYSTEM
Did you mean Buster Crabbe ?
(c(Q838948),P161,Q722156) (c(Q838948),P161,Q233850) (c(Q838948),P161,Q744357)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q722156'] [{'concept': 'Q838948'}, 'P161', 'Q233850'] [{'concept': 'Q838948'}, 'P161', 'Q744357']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q722156 . ?z rdf:type ontology:Q838948 }
Did you mean Buster Crabbe ?
Buster Crabbe
[{'concept': 'work of art'}, 'cast member', 'Buster Crabbe'] [{'concept': 'work of art'}, 'cast member', 'Claire Trevor'] [{'concept': 'work of art'}, 'cast member', 'Paul Fix']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Buster_Crabbe . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P161,Q722156)
[{'concept': 'Q838948'}, 'P161', 'Q722156']
[{'concept': 'work of art'}, 'cast member', 'Buster Crabbe']
[]
SYSTEM
31
Q3646290 Q7303726 Q3746399 Q7762760 Q7726909 Q6412240 Q7197895 Q13501073 Q3372613 Q3992079 Q539286 Q7769181 Q17031493 Q6412330 Q10800864 Q6312894 Q3986072 Q13581140 Q19363657 Q3746401 Q7400415 Q3024364 Q2667789 Q2805199 Q3266392 Q21646785 Q6956991 Q3286142 Q2011369 Q1862159 Q5469861
(c(Q838948),P161,Q722156)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q722156']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q722156 . ?z rdf:type ontology:Q838948 }
Buck Rogers Red Barry Flash Gordon Conquers the Universe The Sea Hound The Comeback Trail King of Gamblers Pirates of the High Seas Sophie Lang Goes West That's My Boy To the Last Man Man of the Forest The Thundering Herd Search for Beauty King of the Congo Gunfighters of Abilene Jungle Siren The Bounty Killer Gun Brothers King of the Jungle Flash Gordon's Trip to Mars Sailor's Lady Desert Gold Flash Gordon Arizona Raiders Maker of Men Nevada Nabonga Alien Dead Tarzan the Fearless Daughter of Shanghai Forlorn River
31
[{'concept': 'work of art'}, 'cast member', 'Buster Crabbe']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Buster_Crabbe . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q722156
P69
Q163740
USER
Where was Buster Crabbe educated ?
(Q722156,P69,c(Q163740))
action filter_type
action find
entity Q722156
relation P69
type Q163740
['Q722156', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { resource:Q722156 property:P69 ?c . ?c rdf:type ontology:Q163740 }
Buster Crabbe
action filter_type
action find
entity Buster Crabbe
relation educated at
type nonprofit organization
['Buster Crabbe', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { resource:Buster_Crabbe property:educated_at ?c . ?c rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q4614
SYSTEM
University of Southern California
Q4614
(Q722156,P69,c(Q163740))
action filter_type
action find
entity Q722156
relation P69
type Q163740
Buster Crabbe was educated by [ANSWER]
['Q722156', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { resource:Q722156 property:P69 ?c . ?c rdf:type ontology:Q163740 }
University of Southern California
Buster Crabbe was educated by University of Southern California
University of Southern California
action filter_type
action find
entity Buster Crabbe
relation educated at
type nonprofit organization
['Buster Crabbe', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { resource:Buster_Crabbe property:educated_at ?c . ?c rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5243255
Q163740
USER
And what about Dayna Curry?
(Q5243255,P69,c(Q163740))
action filter_type
action find
entity Q5243255
relation P69
type Q163740
['Q5243255', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q5243255 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Dayna Curry
action filter_type
action find
entity Dayna Curry
relation educated at
type nonprofit organization
['Dayna Curry', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Dayna_Curry property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q812573
SYSTEM
Baylor University
Q812573
(Q5243255,P69,c(Q163740))
action filter_type
action find
entity Q5243255
relation P69
type Q163740
[ANSWER]
['Q5243255', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q5243255 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Baylor University
Baylor University
action filter_type
action find
entity Dayna Curry
relation educated at
type nonprofit organization
['Dayna Curry', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Dayna_Curry property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2466693 Q812573
P17
Q15617994
USER
Which administrative territories are Baylor University or 1963 UCI Track Cycling World Championships located in ?
OR((Q812573,P17,c(Q15617994)), (Q2466693,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q812573
relation P17
action find
entity Q2466693
relation P17
type Q15617994
{'OR': [['Q812573', 'P17', {'concept': 'Q15617994'}], ['Q2466693', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q812573 property:P17 ?a } UNION { resource:Q2466693 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
1963 UCI Track Cycling World Championships Baylor University
action filter_type
action union
action find
entity Baylor University
relation country
action find
entity 1963 UCI Track Cycling World Championships
relation country
type designation for an administrative territorial entity
{'OR': [['Baylor University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['1963 UCI Track Cycling World Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Baylor_University property:country ?a } UNION { resource:1963_UCI_Track_Cycling_World_Championships property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q30
SYSTEM
Belgium, United States of America
Q31 Q30
OR((Q812573,P17,c(Q15617994)), (Q2466693,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q812573
relation P17
action find
entity Q2466693
relation P17
type Q15617994
Baylor University or 1963 UCI Track Cycling World Championships are located in [ANSWERS]
{'OR': [['Q812573', 'P17', {'concept': 'Q15617994'}], ['Q2466693', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q812573 property:P17 ?a } UNION { resource:Q2466693 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Belgium United States of America
Baylor University or 1963 UCI Track Cycling World Championships are located in Belgium and United States of America
Belgium United States of America
action filter_type
action union
action find
entity Baylor University
relation country
action find
entity 1963 UCI Track Cycling World Championships
relation country
type designation for an administrative territorial entity
{'OR': [['Baylor University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['1963 UCI Track Cycling World Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Baylor_University property:country ?a } UNION { resource:1963_UCI_Track_Cycling_World_Championships property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q971
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with approximately the same number of administrative territories as Republic of the Congo ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q971
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q971 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?x } GROUP BY ?j } }
Republic of the Congo
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Republic_of_the_Congo property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?x } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q971
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q971 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?x } GROUP BY ?j } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Republic_of_the_Congo property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?x } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q962
P530
Q15617994 Q15617994
USER
And how about Benin?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q962
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { ?m property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q962 property:P530 ?a } } . FILTER ( ?x = ?u ) }
Benin
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { ?m property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benin property:diplomatic_relation ?a } } . FILTER ( ?x = ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q962
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { ?m property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q962 property:P530 ?a } } . FILTER ( ?x = ?u ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { ?m property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benin property:diplomatic_relation ?a } } . FILTER ( ?x = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P30
Q2221906
USER
Where is Belgium situated ?
(Q31,P30,c(Q2221906))
action filter_type
action find
entity Q31
relation P30
type Q2221906
['Q31', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q31 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Belgium
action filter_type
action find
entity Belgium
relation continent
type geographic location
['Belgium', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Belgium property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q31,P30,c(Q2221906))
action filter_type
action find
entity Q31
relation P30
type Q2221906
Belgium is situated in [ANSWER]
['Q31', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q31 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Europe
Belgium is situated in Europe
Europe
action filter_type
action find
entity Belgium
relation continent
type geographic location
['Belgium', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Belgium property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q46 Q165170 Q936100
P138
Q15619164
USER
Is that geographic location named after Europa and Rumiko Fujikawa ?
(Q46,P138,Q165170) (Q46,P138,Q936100)
action is_in
entity Q46
action intersection
action find_reverse
entity Q165170
relation P138
action find_reverse
entity Q936100
relation P138
['Q46', 'P138', 'Q165170'] ['Q46', 'P138', 'Q936100']
ASK WHERE { resource:Q46 property:P138 resource:Q165170 . resource:Q46 property:P138 resource:Q936100 }
Europe Europa Rumiko Fujikawa
action is_in
entity Europe
action intersection
action find_reverse
entity Europa
relation named after
action find_reverse
entity Rumiko Fujikawa
relation named after
['Europe', 'named after', 'Europa'] ['Europe', 'named after', 'Rumiko Fujikawa']
ASK WHERE { resource:Europe property:named_after resource:Europa . resource:Europe property:named_after resource:Rumiko_Fujikawa }
[]
abstract being
SYSTEM
YES and NO respectively
(Q46,P138,Q165170) (Q46,P138,Q936100)
action is_in
entity Q46
action intersection
action find_reverse
entity Q165170
relation P138
action find_reverse
entity Q936100
relation P138
[ANSWER]
['Q46', 'P138', 'Q165170'] ['Q46', 'P138', 'Q936100']
ASK WHERE { resource:Q46 property:P138 resource:Q165170 . resource:Q46 property:P138 resource:Q936100 }
YES and NO respectively
action is_in
entity Europe
action intersection
action find_reverse
entity Europa
relation named after
action find_reverse
entity Rumiko Fujikawa
relation named after
['Europe', 'named after', 'Europa'] ['Europe', 'named after', 'Rumiko Fujikawa']
ASK WHERE { resource:Europe property:named_after resource:Europa . resource:Europe property:named_after resource:Rumiko_Fujikawa }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P127
Q2668072
USER
Which collection belongs to Belgium ?
(c(Q2668072),P127,Q31)
action filter_type
action find_reverse
entity Q31
relation P127
type Q2668072
[{'concept': 'Q2668072'}, 'P127', 'Q31']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2668072 . ?k property:P127 resource:Q31 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Belgium']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:collection . ?k property:owned_by resource:Belgium }
[]
collection
Q3052500
SYSTEM
National Botanic Garden of Belgium
Q3052500
(c(Q2668072),P127,Q31)
action filter_type
action find_reverse
entity Q31
relation P127
type Q2668072
[ANSWER] belongs to Belgium
[{'concept': 'Q2668072'}, 'P127', 'Q31']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2668072 . ?k property:P127 resource:Q31 }
National Botanic Garden of Belgium
National Botanic Garden of Belgium belongs to Belgium
National Botanic Garden of Belgium
action filter_type
action find_reverse
entity Belgium
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Belgium']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:collection . ?k property:owned_by resource:Belgium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P291
Q732577
USER
Which publication was published in that administrative territory ?
(c(Q732577),P291,Q3052500)
action filter_type
action find_reverse
entity Q31
relation P291
type Q732577
[{'concept': 'Q732577'}, 'P291', 'Q3052500']
SELECT DISTINCT ?b WHERE { ?b property:P291 resource:Q31 . ?b rdf:type ontology:Q732577 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation place of publication
type publication
[{'concept': 'publication'}, 'place of publication', 'National Botanic Garden of Belgium']
SELECT DISTINCT ?b WHERE { ?b property:place_of_publication resource:Belgium . ?b rdf:type ontology:publication }
[]
publication
Q1869011
SYSTEM
Res Publica
Q1869011
(c(Q732577),P291,Q3052500)
action filter_type
action find_reverse
entity Q31
relation P291
type Q732577
[ANSWER] was published in that administrative territory
[{'concept': 'Q732577'}, 'P291', 'Q3052500']
SELECT DISTINCT ?b WHERE { ?b property:P291 resource:Q31 . ?b rdf:type ontology:Q732577 }
Res Publica
Res Publica was published in that administrative territory
Res Publica
action filter_type
action find_reverse
entity Belgium
relation place of publication
type publication
[{'concept': 'publication'}, 'place of publication', 'National Botanic Garden of Belgium']
SELECT DISTINCT ?b WHERE { ?b property:place_of_publication resource:Belgium . ?b rdf:type ontology:publication }
[]