Simple Question (Direct)
Simple Question
Q5370972
P106
Q12737077
USER
What does Emery Bayisenge do for a living ?
(Q5370972,P106,c(Q12737077))
action filter_type
action find
entity Q5370972
relation P106
type Q12737077
['Q5370972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q5370972 property:P106 ?x }
Emery Bayisenge
action filter_type
action find
entity Emery Bayisenge
relation occupation
type occupation
['Emery Bayisenge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Emery_Bayisenge property:occupation ?x }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5370972,P106,c(Q12737077))
action filter_type
action find
entity Q5370972
relation P106
type Q12737077
Emery Bayisenge does for a living as [ANSWER]
['Q5370972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q5370972 property:P106 ?x }
association football player
Emery Bayisenge does for a living as association football player
association football player
action filter_type
action find
entity Emery Bayisenge
relation occupation
type occupation
['Emery Bayisenge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Emery_Bayisenge property:occupation ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5370972
P641
Q349
USER
Which sport was Emery Bayisenge a part of ?
(Q5370972,P641,c(Q349))
action filter_type
action find
entity Q5370972
relation P641
type Q349
['Q5370972', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q5370972 property:P641 ?q }
Emery Bayisenge
action filter_type
action find
entity Emery Bayisenge
relation sport
type sport
['Emery Bayisenge', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Emery_Bayisenge property:sport ?q }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5370972,P641,c(Q349))
action filter_type
action find
entity Q5370972
relation P641
type Q349
Which sport was Emery Bayisenge a part of
['Q5370972', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q5370972 property:P641 ?q }
association football
Which sport was Emery Bayisenge a part of
association football
action filter_type
action find
entity Emery Bayisenge
relation sport
type sport
['Emery Bayisenge', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Emery_Bayisenge property:sport ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5370972
P54
Q1194951
USER
What is Emery Bayisenge a member of ?
(Q5370972,P54,c(Q1194951))
action filter_type
action find
entity Q5370972
relation P54
type Q1194951
['Q5370972', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1194951 . resource:Q5370972 property:P54 ?r }
Emery Bayisenge
action filter_type
action find
entity Emery Bayisenge
relation member of sports team
type national sports team
['Emery Bayisenge', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:national_sports_team . resource:Emery_Bayisenge property:member_of_sports_team ?r }
[]
national sports team
Q319776
SYSTEM
Rwanda national football team
Q319776
(Q5370972,P54,c(Q1194951))
action filter_type
action find
entity Q5370972
relation P54
type Q1194951
Emery Bayisenge a member of is the [ANSWER]
['Q5370972', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1194951 . resource:Q5370972 property:P54 ?r }
Rwanda national football team
Emery Bayisenge a member of is the Rwanda national football team
Rwanda national football team
action filter_type
action find
entity Emery Bayisenge
relation member of sports team
type national sports team
['Emery Bayisenge', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:national_sports_team . resource:Emery_Bayisenge property:member_of_sports_team ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1390599 Q5370972
P54
Q1194951
USER
Or Joop Boutmy?
OR((Q5370972,P54,c(Q1194951)), (Q1390599,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q5370972
relation P54
action find
entity Q1390599
relation P54
type Q1194951
{'OR': [['Q5370972', 'P54', {'concept': 'Q1194951'}], ['Q1390599', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5370972 property:P54 ?t } UNION { resource:Q1390599 property:P54 ?t } } . ?t rdf:type ontology:Q1194951 }
Joop Boutmy Emery Bayisenge
action filter_type
action union
action find
entity Emery Bayisenge
relation member of sports team
action find
entity Joop Boutmy
relation member of sports team
type national sports team
{'OR': [['Emery Bayisenge', 'member of sports team', {'concept': 'national sports team'}], ['Joop Boutmy', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Emery_Bayisenge property:member_of_sports_team ?t } UNION { resource:Joop_Boutmy property:member_of_sports_team ?t } } . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q47050 Q319776
SYSTEM
Netherlands national football team, Rwanda national football team
Q47050 Q319776
OR((Q5370972,P54,c(Q1194951)), (Q1390599,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q5370972
relation P54
action find
entity Q1390599
relation P54
type Q1194951
[ANSWERS]
{'OR': [['Q5370972', 'P54', {'concept': 'Q1194951'}], ['Q1390599', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5370972 property:P54 ?t } UNION { resource:Q1390599 property:P54 ?t } } . ?t rdf:type ontology:Q1194951 }
Netherlands national football team Rwanda national football team
Netherlands national football team Rwanda national football team
action filter_type
action union
action find
entity Emery Bayisenge
relation member of sports team
action find
entity Joop Boutmy
relation member of sports team
type national sports team
{'OR': [['Emery Bayisenge', 'member of sports team', {'concept': 'national sports team'}], ['Joop Boutmy', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Emery_Bayisenge property:member_of_sports_team ?t } UNION { resource:Joop_Boutmy property:member_of_sports_team ?t } } . ?t rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1390599
P27
Q15617994
USER
Which administrative territories are the native countriesof Joop Boutmy ?
(Q47050,P27,c(Q15617994)) (Q319776,P27,c(Q15617994))
action filter_type
action find
entity Q1390599
relation P27
type Q15617994
['Q47050', 'P27', {'concept': 'Q15617994'}] ['Q319776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1390599 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Joop Boutmy
action filter_type
action find
entity Joop Boutmy
relation country of citizenship
type designation for an administrative territorial entity
['Netherlands national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rwanda national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Joop_Boutmy property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q29999
SYSTEM
Malaysia, Kingdom of the Netherlands
Q833 Q29999
(Q47050,P27,c(Q15617994)) (Q319776,P27,c(Q15617994))
action filter_type
action find
entity Q1390599
relation P27
type Q15617994
[ANSWERS] are the native countriesof Joop Boutmy
['Q47050', 'P27', {'concept': 'Q15617994'}] ['Q319776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1390599 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Malaysia Kingdom of the Netherlands
Malaysia and Kingdom of the Netherlands are the native countriesof Joop Boutmy
Malaysia Kingdom of the Netherlands
action filter_type
action find
entity Joop Boutmy
relation country of citizenship
type designation for an administrative territorial entity
['Netherlands national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rwanda national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Joop_Boutmy property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q833
P6
Q502895
USER
Who is the head of the government of Malaysia ?
(Q833,P6,c(Q502895))
action filter_type
action find
entity Q833
relation P6
type Q502895
['Q833', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q833 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Malaysia
action filter_type
action find
entity Malaysia
relation head of government
type common name
['Malaysia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Malaysia property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q57675
SYSTEM
Najib Razak
Q57675
(Q833,P6,c(Q502895))
action filter_type
action find
entity Q833
relation P6
type Q502895
The head of the government of Malaysia is Prince [ANSWER]
['Q833', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q833 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Najib Razak
The head of the government of Malaysia is Prince Najib Razak
Najib Razak
action filter_type
action find
entity Malaysia
relation head of government
type common name
['Malaysia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Malaysia property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q833
P364
Q15416
USER
Which television program was done in that administrative territory language during its inception ?
(c(Q15416),P364,Q57675)
action filter_type
action find_reverse
entity Q833
relation P364
type Q15416
[{'concept': 'Q15416'}, 'P364', 'Q57675']
SELECT DISTINCT ?s WHERE { ?s property:P364 resource:Q833 . ?s rdf:type ontology:Q15416 }
Malaysia
action filter_type
action find_reverse
entity Malaysia
relation original language of work
type television program
[{'concept': 'television program'}, 'original language of work', 'Najib Razak']
SELECT DISTINCT ?s WHERE { ?s property:original_language_of_work resource:Malaysia . ?s rdf:type ontology:television_program }
[]
television program
Q2720116
SYSTEM
102 Minutes That Changed America
Q2720116
(c(Q15416),P364,Q57675)
action filter_type
action find_reverse
entity Q833
relation P364
type Q15416
102 Minutes That changed America was done in that administrative territory language during its inception
[{'concept': 'Q15416'}, 'P364', 'Q57675']
SELECT DISTINCT ?s WHERE { ?s property:P364 resource:Q833 . ?s rdf:type ontology:Q15416 }
102 Minutes That Changed America
102 Minutes That changed America was done in that administrative territory language during its inception
102 Minutes That Changed America
action filter_type
action find_reverse
entity Malaysia
relation original language of work
type television program
[{'concept': 'television program'}, 'original language of work', 'Najib Razak']
SELECT DISTINCT ?s WHERE { ?s property:original_language_of_work resource:Malaysia . ?s rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2720116
P921
Q491040
USER
What was the main subject of that television program 's work ?
(Q2720116,P921,c(Q491040))
action filter_type
action find
entity Q2720116
relation P921
type Q491040
['Q2720116', 'P921', {'concept': 'Q491040'}]
SELECT DISTINCT ?t WHERE { resource:Q2720116 property:P921 ?t . ?t rdf:type ontology:Q491040 }
102 Minutes That Changed America
action filter_type
action find
entity 102 Minutes That Changed America
relation main subject
type violent crime
['102 Minutes That Changed America', 'main subject', {'concept': 'violent crime'}]
SELECT DISTINCT ?t WHERE { resource:102_Minutes_That_Changed_America property:main_subject ?t . ?t rdf:type ontology:violent_crime }
[]
violent crime
Q10806
SYSTEM
September 11 attacks
Q10806
(Q2720116,P921,c(Q491040))
action filter_type
action find
entity Q2720116
relation P921
type Q491040
The main subject of that television program's work was the [ANSWER]
['Q2720116', 'P921', {'concept': 'Q491040'}]
SELECT DISTINCT ?t WHERE { resource:Q2720116 property:P921 ?t . ?t rdf:type ontology:Q491040 }
September 11 attacks
The main subject of that television program's work was the September 11 attacks
September 11 attacks
action filter_type
action find
entity 102 Minutes That Changed America
relation main subject
type violent crime
['102 Minutes That Changed America', 'main subject', {'concept': 'violent crime'}]
SELECT DISTINCT ?t WHERE { resource:102_Minutes_That_Changed_America property:main_subject ?t . ?t rdf:type ontology:violent_crime }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1462
P1001
Q15617994 Q12737077 Q14660
USER
How many administrative territories are judicially linked to approximately the same number of occupations and flags as Sardinia ?
(c(Q12737077)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q1462
relation P1001
type Q12737077
type Q14660
[[{'concept': 'Q12737077'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b property:P1001 ?d . ?b rdf:type ontology:Q14660 . ?d rdf:type ontology:Q15617994 } UNION { ?b property:P1001 ?d . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q12737077 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P1001 resource:Q1462 . { VALUES ( ?x ) { ( ontology:Q12737077 ) ( ontology:Q14660 ) } . ?g rdf:type ?x } } } . FILTER ( ?e = ?a ) }
Sardinia
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Sardinia
relation applies to jurisdiction
type occupation
type flag
[[{'concept': 'occupation'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b property:applies_to_jurisdiction ?d . ?b rdf:type ontology:flag . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:occupation } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:applies_to_jurisdiction resource:Sardinia . { VALUES ( ?x ) { ( ontology:occupation ) ( ontology:flag ) } . ?g rdf:type ?x } } } . FILTER ( ?e = ?a ) }
[]
designation for an administrative territorial entity occupation flag
SYSTEM
244
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q22273061 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q36 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q12737077)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q1462
relation P1001
type Q12737077
type Q14660
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b property:P1001 ?d . ?b rdf:type ontology:Q14660 . ?d rdf:type ontology:Q15617994 } UNION { ?b property:P1001 ?d . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q12737077 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P1001 resource:Q1462 . { VALUES ( ?x ) { ( ontology:Q12737077 ) ( ontology:Q14660 ) } . ?g rdf:type ?x } } } . FILTER ( ?e = ?a ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina Duchy of Nemours Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Poland Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
244
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Sardinia
relation applies to jurisdiction
type occupation
type flag
[[{'concept': 'occupation'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b property:applies_to_jurisdiction ?d . ?b rdf:type ontology:flag . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:occupation } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:applies_to_jurisdiction resource:Sardinia . { VALUES ( ?x ) { ( ontology:occupation ) ( ontology:flag ) } . ?g rdf:type ?x } } } . FILTER ( ?e = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q819
P1001
Q15617994 Q12737077 Q14660
USER
And also tell me about Laos?
(c(Q12737077)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q819
relation P1001
type Q12737077
type Q14660
[[{'concept': 'Q12737077'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P1001 resource:Q819 . { { ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q14660 } } } } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q14660 ) } } GROUP BY ?j } }
Laos
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Laos
relation applies to jurisdiction
type occupation
type flag
[[{'concept': 'occupation'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:applies_to_jurisdiction resource:Laos . { { ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:flag } } } } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:occupation ) ( ontology:flag ) } } GROUP BY ?j } }
[]
designation for an administrative territorial entity occupation flag
SYSTEM
247
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q36 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q12737077)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q819
relation P1001
type Q12737077
type Q14660
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P1001 resource:Q819 . { { ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q14660 } } } } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q14660 ) } } GROUP BY ?j } }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Poland Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
247
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Laos
relation applies to jurisdiction
type occupation
type flag
[[{'concept': 'occupation'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:applies_to_jurisdiction resource:Laos . { { ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:flag } } } } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:occupation ) ( ontology:flag ) } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q6619679 Q15416
USER
How many television programs are atmost 2 people or fictional humanoids a character of ?
(c(Q15416),P674,c(Q502895)|c(Q6619679))
action count
action atmost
action union
action find_tuple_counts
relation P674
type Q15416
type Q502895
action find_tuple_counts
relation P674
type Q15416
type Q6619679
value 2
[{'concept': 'Q15416'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?r <= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?c WHERE { { ?c property:P674 ?h . ?c rdf:type ontology:Q15416 . ?h rdf:type ontology:Q6619679 } UNION { ?c property:P674 ?h . ?c rdf:type ontology:Q15416 . ?h rdf:type ontology:Q502895 } } GROUP BY ?c } }
action count
action atmost
action union
action find_tuple_counts
relation characters
type television program
type common name
action find_tuple_counts
relation characters
type television program
type fictional humanoid
value 2
[{'concept': 'television program'}, 'characters', [{'concept': 'common name'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?r <= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?c WHERE { { ?c property:characters ?h . ?c rdf:type ontology:television_program . ?h rdf:type ontology:fictional_humanoid } UNION { ?c property:characters ?h . ?c rdf:type ontology:television_program . ?h rdf:type ontology:common_name } } GROUP BY ?c } }
[]
common name fictional humanoid television program
SYSTEM
40
Q1079 Q511091 Q3727628 Q6735575 Q935421 Q3927326 Q3281789 Q208647 Q155629 Q3577037 Q2563648 Q182056 Q1381883 Q16939437 Q304290 Q836752 Q3278089 Q216204 Q11889740 Q15863567 Q336240 Q19702830 Q2318552 Q2422779 Q1248825 Q431795 Q6296520 Q34316 Q11884444 Q6296516 Q2414772 Q482482 Q18628934 Q890085 Q19709459 Q2353327 Q3436377 Q272015 Q15863577 Q3771059
(c(Q15416),P674,c(Q502895)|c(Q6619679))
action count
action atmost
action union
action find_tuple_counts
relation P674
type Q15416
type Q502895
action find_tuple_counts
relation P674
type Q15416
type Q6619679
value 2
[ANSWER]
[{'concept': 'Q15416'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?r <= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?c WHERE { { ?c property:P674 ?h . ?c rdf:type ontology:Q15416 . ?h rdf:type ontology:Q6619679 } UNION { ?c property:P674 ?h . ?c rdf:type ontology:Q15416 . ?h rdf:type ontology:Q502895 } } GROUP BY ?c } }
Breaking Bad Le inchieste del commissario Maigret season 1 of Arsène Lupin Maigret Treasure Island The Magical Adventures of Quasimodo Saturday Supercade Married... with Children Sesame Street The West Wing Emīla nedarbi Inuyasha Plus belle la vie Kommissar Beck – Die neuen Fälle Rugrats My-HiME Maigret Fruits Basket Raid K-On! Doctor Who The Daffy Duck Show The Rocky and Bullwinkle Show Arsène Lupin Quatermass II Studio 60 on the Sunset Strip Journey to the West Doctor Who Nick Knatterton Journey to the West ReBoot K-On! Digimon Adventure tri. Body of Proof Rude Dog and the Dweebs Journey to the West Maigret Ranma ½ K-On!! St. Giuseppe Moscati: Doctor to the Poor
40
action count
action atmost
action union
action find_tuple_counts
relation characters
type television program
type common name
action find_tuple_counts
relation characters
type television program
type fictional humanoid
value 2
[{'concept': 'television program'}, 'characters', [{'concept': 'common name'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?r <= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?c WHERE { { ?c property:characters ?h . ?c rdf:type ontology:television_program . ?h rdf:type ontology:fictional_humanoid } UNION { ?c property:characters ?h . ?c rdf:type ontology:television_program . ?h rdf:type ontology:common_name } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q833
P530
Q15617994
USER
Which administrative territory has ambassadorial relations with Malaysia ?
(c(Q15617994),P530,Q833)
action filter_type
action find_reverse
entity Q833
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q833']
SELECT DISTINCT ?j WHERE { ?j property:P530 resource:Q833 . ?j rdf:type ontology:Q15617994 }
Malaysia
action filter_type
action find_reverse
entity Malaysia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Malaysia']
SELECT DISTINCT ?j WHERE { ?j property:diplomatic_relation resource:Malaysia . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,Q833)
action filter_type
action find_reverse
entity Q833
relation P530
type Q15617994
And [ANSWER] has ambassadorial relations with Malaysia
[{'concept': 'Q15617994'}, 'P530', 'Q833']
SELECT DISTINCT ?j WHERE { ?j property:P530 resource:Q833 . ?j rdf:type ontology:Q15617994 }
Belarus
And Belarus has ambassadorial relations with Malaysia
Belarus
action filter_type
action find_reverse
entity Malaysia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Malaysia']
SELECT DISTINCT ?j WHERE { ?j property:diplomatic_relation resource:Malaysia . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]