Simple Question (Direct)
Simple Question
Q1704688
P20
Q15617994
USER
Where did Josef Gregorig die ?
(Q1704688,P20,c(Q15617994))
action filter_type
action find
entity Q1704688
relation P20
type Q15617994
['Q1704688', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1704688 property:P20 ?u . ?u rdf:type ontology:Q15617994 }
Josef Gregorig
action filter_type
action find
entity Josef Gregorig
relation place of death
type designation for an administrative territorial entity
['Josef Gregorig', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Josef_Gregorig property:place_of_death ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q670009
SYSTEM
Maria Enzersdorf
Q670009
(Q1704688,P20,c(Q15617994))
action filter_type
action find
entity Q1704688
relation P20
type Q15617994
Josef Gregorig died in [ANSWER]
['Q1704688', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1704688 property:P20 ?u . ?u rdf:type ontology:Q15617994 }
Maria Enzersdorf
Josef Gregorig died in Maria Enzersdorf
Maria Enzersdorf
action filter_type
action find
entity Josef Gregorig
relation place of death
type designation for an administrative territorial entity
['Josef Gregorig', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Josef_Gregorig property:place_of_death ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1704688
P21
Q290
USER
Which sex does that person have ?
(Q670009,P21,c(Q290))
action filter_type
action find
entity Q1704688
relation P21
type Q290
['Q670009', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1704688 property:P21 ?w . ?w rdf:type ontology:Q290 }
Josef Gregorig
action filter_type
action find
entity Josef Gregorig
relation gender
type sex
['Maria Enzersdorf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Josef_Gregorig property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q670009,P21,c(Q290))
action filter_type
action find
entity Q1704688
relation P21
type Q290
That person has a [ANSWER]
['Q670009', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1704688 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Josef Gregorig
relation gender
type sex
['Maria Enzersdorf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Josef_Gregorig property:gender ?w . ?w rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q18577229
P21
Q502895
USER
Does William Riviere have that sex as the sex ?
(Q18577229,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18577229
relation P21
['Q18577229', 'P21', 'Q6581097']
ASK WHERE { resource:Q18577229 property:P21 resource:Q6581097 }
male William Riviere
action is_in
entity male
action find
entity William Riviere
relation gender
['William Riviere', 'gender', 'male']
ASK WHERE { resource:William_Riviere property:gender resource:male }
[]
common name
SYSTEM
YES
(Q18577229,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18577229
relation P21
[ANSWER]
['Q18577229', 'P21', 'Q6581097']
ASK WHERE { resource:Q18577229 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity William Riviere
relation gender
['William Riviere', 'gender', 'male']
ASK WHERE { resource:William_Riviere property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3510833 Q1704688
P27 P17
Q1048835
USER
Which political territories are the native countriesof Josef Gregorig or are Senate of the Bahamas situated in ?
OR((Q1704688,P27,c(Q1048835)), (Q3510833,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1704688
relation P27
action find
entity Q3510833
relation P17
type Q1048835
{'OR': [['Q1704688', 'P27', {'concept': 'Q1048835'}], ['Q3510833', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . { { resource:Q1704688 property:P27 ?q } UNION { resource:Q3510833 property:P17 ?q } } }
Senate of the Bahamas Josef Gregorig
action filter_type
action union
action find
entity Josef Gregorig
relation country of citizenship
action find
entity Senate of the Bahamas
relation country
type political territorial entity
{'OR': [['Josef Gregorig', 'country of citizenship', {'concept': 'political territorial entity'}], ['Senate of the Bahamas', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . { { resource:Josef_Gregorig property:country_of_citizenship ?q } UNION { resource:Senate_of_the_Bahamas property:country ?q } } }
[]
political territorial entity
Q778 Q40
SYSTEM
The Bahamas, Austria
Q778 Q40
OR((Q1704688,P27,c(Q1048835)), (Q3510833,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1704688
relation P27
action find
entity Q3510833
relation P17
type Q1048835
[ANSWERS] are the native countriesof Josef Gregorig or are Senate of the Bahamas situated in
{'OR': [['Q1704688', 'P27', {'concept': 'Q1048835'}], ['Q3510833', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . { { resource:Q1704688 property:P27 ?q } UNION { resource:Q3510833 property:P17 ?q } } }
The Bahamas Austria
The Bahamas and Austria are the native countriesof Josef Gregorig or are Senate of the Bahamas situated in
The Bahamas Austria
action filter_type
action union
action find
entity Josef Gregorig
relation country of citizenship
action find
entity Senate of the Bahamas
relation country
type political territorial entity
{'OR': [['Josef Gregorig', 'country of citizenship', {'concept': 'political territorial entity'}], ['Senate of the Bahamas', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . { { resource:Josef_Gregorig property:country_of_citizenship ?q } UNION { resource:Senate_of_the_Bahamas property:country ?q } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3510833
P361
Q12737077
USER
How many occupations are parts of Senate of the Bahamas ?
(c(Q12737077),P361,Q3510833)
action count
action filter_type
action find_reverse
entity Q3510833
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q3510833']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P361 resource:Q3510833 . ?a rdf:type ontology:Q12737077 }
Senate of the Bahamas
action count
action filter_type
action find_reverse
entity Senate of the Bahamas
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Senate of the Bahamas']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:part_of resource:Senate_of_the_Bahamas . ?a rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q20725063
(c(Q12737077),P361,Q3510833)
action count
action filter_type
action find_reverse
entity Q3510833
relation P361
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q3510833']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P361 resource:Q3510833 . ?a rdf:type ontology:Q12737077 }
senator of the Bahamas
1
action count
action filter_type
action find_reverse
entity Senate of the Bahamas
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Senate of the Bahamas']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:part_of resource:Senate_of_the_Bahamas . ?a rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people are a male and female ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?s WHERE { ?s property:P21 resource:Q6581097 . ?s property:P21 resource:Q6581072 . ?s rdf:type ontology:Q502895 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?s WHERE { ?s property:gender resource:male . ?s property:gender resource:female . ?s rdf:type ontology:common_name }
[]
common name
Q25768293 Q22280435 Q21391750 Q16733519 Q12685049 Q18049905 Q16941580 Q6258596 Q6702791 Q6003690
SYSTEM
Some of them are Shagdaryn Bira, Sun Vandeth, George Mather Luer, Ali Nuhu, Chew Mei Fun, Stanisława Witekowa, Antonio Merayo, John Spaulding, Luli Bitri, María Elena Orantes
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] are a male and female
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?s WHERE { ?s property:P21 resource:Q6581097 . ?s property:P21 resource:Q6581072 . ?s rdf:type ontology:Q502895 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Shagdaryn Bira, Sun Vandeth, George Mather Luer, Ali Nuhu, Chew Mei Fun, Stanisława Witekowa, Antonio Merayo, John Spaulding, Luli Bitri and María Elena Orantes are a male and female
Shagdaryn Bira Sun Vandeth George Mather Luer Ali Nuhu Chew Mei Fun Stanisława Witekowa Antonio Merayo John Spaulding Luli Bitri María Elena Orantes
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?s WHERE { ?s property:gender resource:male . ?s property:gender resource:female . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2019503 Q21391750
P106
Q12737077
USER
Which occupations are the job of George Mather Luer or Olexandr Scheweljow ?
OR((Q21391750,P106,c(Q12737077)), (Q2019503,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q21391750
relation P106
action find
entity Q2019503
relation P106
type Q12737077
{'OR': [['Q21391750', 'P106', {'concept': 'Q12737077'}], ['Q2019503', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q21391750 property:P106 ?o } UNION { resource:Q2019503 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Olexandr Scheweljow George Mather Luer
action filter_type
action union
action find
entity George Mather Luer
relation occupation
action find
entity Olexandr Scheweljow
relation occupation
type occupation
{'OR': [['George Mather Luer', 'occupation', {'concept': 'occupation'}], ['Olexandr Scheweljow', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:George_Mather_Luer property:occupation ?o } UNION { resource:Olexandr_Scheweljow property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
occupation
Q13365117 Q2374149
SYSTEM
handball player, botanist
Q13365117 Q2374149
OR((Q21391750,P106,c(Q12737077)), (Q2019503,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q21391750
relation P106
action find
entity Q2019503
relation P106
type Q12737077
[ANSWERS] are the job of George Mather Luer or Olexandr Scheweljow
{'OR': [['Q21391750', 'P106', {'concept': 'Q12737077'}], ['Q2019503', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q21391750 property:P106 ?o } UNION { resource:Q2019503 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
handball player botanist
Handball player and botanist are the job of George Mather Luer or Olexandr Scheweljow
handball player botanist
action filter_type
action union
action find
entity George Mather Luer
relation occupation
action find
entity Olexandr Scheweljow
relation occupation
type occupation
{'OR': [['George Mather Luer', 'occupation', {'concept': 'occupation'}], ['Olexandr Scheweljow', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:George_Mather_Luer property:occupation ?o } UNION { resource:Olexandr_Scheweljow property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q672
P1001
Q15617994 Q35798 Q12737077
USER
Which administrative territories come under the supervision of less number of executive branches or occupations than Tuvalu ?
(c(Q35798)|c(Q12737077),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q672
relation P1001
type Q35798
type Q12737077
[[{'concept': 'Q35798'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?f WHERE { { ?q property:P1001 ?f . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q35798 } UNION { ?q property:P1001 ?f . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q12737077 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1001 resource:Q672 . { VALUES ( ?v ) { ( ontology:Q35798 ) ( ontology:Q12737077 ) } . ?e rdf:type ?v } } } . FILTER ( ?n < ?m ) }
Tuvalu
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Tuvalu
relation applies to jurisdiction
type executive branch
type occupation
[[{'concept': 'executive branch'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?f WHERE { { ?q property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:executive_branch } UNION { ?q property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:occupation } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:applies_to_jurisdiction resource:Tuvalu . { VALUES ( ?v ) { ( ontology:executive_branch ) ( ontology:occupation ) } . ?e rdf:type ?v } } } . FILTER ( ?n < ?m ) }
[]
designation for an administrative territorial entity executive branch occupation
Q32 Q347 Q657
SYSTEM
Luxembourg, Liechtenstein, Chad
Q702 Q804 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q874 Q443815 Q50198 Q187035 Q22274206 Q1462 Q657 Q4628 Q7688 Q3097 Q158893 Q2942 Q817 Q11340 Q11343 Q1142326 Q2899 Q2758 Q813 Q4712 Q155019 Q3389 Q163966 Q769680 Q3068 Q11323 Q1093 Q119284 Q3403547 Q2667658 Q1101 Q32 Q3462133 Q223 Q347 Q2838 Q1032 Q965 Q962 Q752 Q22274534 Q11337 Q11331 Q12642 Q154547 Q683 Q1216 Q12753 Q912 Q2805 Q2107 Q1007 Q1008 Q970 Q1438 Q34020 Q2380910 Q11301 Q2904 Q158095 Q878 Q775 Q770 Q773 Q772 Q158083 Q1243 Q945 Q72449 Q12549 Q22273285 Q129003 Q33788 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q35798)|c(Q12737077),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q672
relation P1001
type Q35798
type Q12737077
[ANSWERS] come under the supervision of less number of executive branches or occupations than Tuvalu
[[{'concept': 'Q35798'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?f WHERE { { ?q property:P1001 ?f . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q35798 } UNION { ?q property:P1001 ?f . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q12737077 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1001 resource:Q672 . { VALUES ( ?v ) { ( ontology:Q35798 ) ( ontology:Q12737077 ) } . ?e rdf:type ?v } } } . FILTER ( ?n < ?m ) }
Federated States of Micronesia Panama Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Turkmenistan Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia Chad Faroe Islands raion Remscheid Friedrichshain-Kreuzberg Solingen Kuwait Sprockhövel Wetter (Ruhr) Seine Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Duchy of Burgundy Duchy of Lorraine Finistère Mitte Bornholm Loire-Atlantique Breckerfeld Limburg Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Shushary, Saint Petersburg North Brabant Luxembourg Saxe-Coburg and Gotha Greenland Liechtenstein Oberhausen Niger Burkina Faso Benin Groningen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Samoa Piedmont Seine-et-Marne Mali Krefeld Wuppertal Guinea-Bissau Côte d'Ivoire Comoros Campania Niue Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf United Arab Emirates Gelderland Friesland Overijssel Drenthe Spandau Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands New Caledonia Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
Luxembourg, Liechtenstein and Chad come under the supervision of less number of executive branches or occupations than Tuvalu
Luxembourg Liechtenstein Chad
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Tuvalu
relation applies to jurisdiction
type executive branch
type occupation
[[{'concept': 'executive branch'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?f WHERE { { ?q property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:executive_branch } UNION { ?q property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:occupation } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:applies_to_jurisdiction resource:Tuvalu . { VALUES ( ?v ) { ( ontology:executive_branch ) ( ontology:occupation ) } . ?e rdf:type ?v } } } . FILTER ( ?n < ?m ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q201658
USER
How many administrative territories are the origin of around the same number of releases and film genres as that administrative territory ?
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:P495 ?y } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:country_of_origin ?y } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity release film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q657
SYSTEM
Did you mean Chad ?
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:P495 ?y } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Chad ?
Chad
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:country_of_origin ?y } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Liechtenstein. Could you tell me the answer for that?
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
Q347
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
168
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(Q2031291)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
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
168
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]