Simple Question (Direct)
Simple Question
Q3301299
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Maurice Périsset ?
(Q3301299,P27,c(Q15617994))
action filter_type
action find
entity Q3301299
relation P27
type Q15617994
['Q3301299', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3301299 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Maurice Périsset
action filter_type
action find
entity Maurice Périsset
relation country of citizenship
type designation for an administrative territorial entity
['Maurice Périsset', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Maurice_Périsset property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3301299,P27,c(Q15617994))
action filter_type
action find
entity Q3301299
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Maurice Périsset
['Q3301299', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3301299 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Maurice Périsset
France
action filter_type
action find
entity Maurice Périsset
relation country of citizenship
type designation for an administrative territorial entity
['Maurice Périsset', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Maurice_Périsset property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3301299
P21
Q290
USER
Which sex does that person have ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3301299
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3301299 property:P21 ?p . ?p rdf:type ontology:Q290 }
Maurice Périsset
action filter_type
action find
entity Maurice Périsset
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Maurice_Périsset property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3301299
relation P21
type Q290
That person has a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3301299 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Maurice Périsset
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Maurice_Périsset property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6535490
P641
Q349
USER
Which sport was Levi Redfern a part of ?
(Q6535490,P641,c(Q349))
action filter_type
action find
entity Q6535490
relation P641
type Q349
['Q6535490', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6535490 property:P641 ?k . ?k rdf:type ontology:Q349 }
Levi Redfern
action filter_type
action find
entity Levi Redfern
relation sport
type sport
['Levi Redfern', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Levi_Redfern property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6535490,P641,c(Q349))
action filter_type
action find
entity Q6535490
relation P641
type Q349
Which sport was Levi Redfern a part of
['Q6535490', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6535490 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Which sport was Levi Redfern a part of
association football
action filter_type
action find
entity Levi Redfern
relation sport
type sport
['Levi Redfern', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Levi_Redfern property:sport ?k . ?k rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q4164871 Q192350
USER
How many administrative territories belong to jurisdiction of atmost 4 positions or ministries ?
(c(Q4164871)|c(Q192350),P1001,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 4
[[{'concept': 'Q4164871'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?o WHERE { { ?m property:P1001 ?o . ?o rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q192350 } UNION { ?m property:P1001 ?o . ?o rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q4164871 } } GROUP BY ?o } . FILTER ( ?p <= 4 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 4
[[{'concept': 'position'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?o WHERE { { ?m property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:ministry } UNION { ?m property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:position } } GROUP BY ?o } . FILTER ( ?p <= 4 ) }
[]
designation for an administrative territorial entity position ministry
SYSTEM
254
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 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 Q218 Q33 Q921 Q4712 Q924 Q928 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 Q20 Q1045 Q3403547 Q1042 Q1041 Q27 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 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 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 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 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q4164871)|c(Q192350),P1001,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 4
[ANSWER]
[[{'concept': 'Q4164871'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?o WHERE { { ?m property:P1001 ?o . ?o rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q192350 } UNION { ?m property:P1001 ?o . ?o rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q4164871 } } GROUP BY ?o } . FILTER ( ?p <= 4 ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica 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 Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece 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 Romania Finland Brunei Duchy of Burgundy Tanzania Philippines 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 Norway Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland 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 Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia 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 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 Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
254
action count
action atmost
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 4
[[{'concept': 'position'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?o WHERE { { ?m property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:ministry } UNION { ?m property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:position } } GROUP BY ?o } . FILTER ( ?p <= 4 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q842
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with lesser number of administrative territories than Oman ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { ?f rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?f property:P530 ?i } GROUP BY ?f } . FILTER ( ?y < ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q842 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
Oman
action count
action less
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 Oman
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 ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?i } GROUP BY ?f } . FILTER ( ?y < ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Oman property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { ?f rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?f property:P530 ?i } GROUP BY ?f } . FILTER ( ?y < ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q842 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
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 Oman
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 ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?i } GROUP BY ?f } . FILTER ( ?y < ?h ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Oman property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q41
P530
Q15617994 Q15617994
USER
And also tell me about Greece?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q41
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?q property:P530 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P530 resource:Q41 . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?f ) }
Greece
action count
action less
action find_reverse_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_reverse
entity Greece
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 ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:diplomatic_relation resource:Greece . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q41
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?q property:P530 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P530 resource:Q41 . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?f ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_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_reverse
entity Greece
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 ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:diplomatic_relation resource:Greece . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q15324 Q337567 Q15617994
USER
Which administrative territories are located in the neighbourhood of min number of bodies of water and still waterss ?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action argmin
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?b ) WHERE { VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } . ?l rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?y ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?q } . FILTER ( ?y = ?w ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?b ) WHERE { VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:still_waters ) } . ?l rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?y ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?q } . FILTER ( ?y = ?w ) }
[]
body of water still waters designation for an administrative territorial entity
Q347 Q29 Q213
SYSTEM
Liechtenstein, Spain, Czech Republic
Q505785 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q1604782 Q241358 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q532046 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q519663 Q2360428 Q255698 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q917406 Q511806 Q548982 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q522677 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action argmin
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
[ANSWERS] are located in the neighbourhood of min number of bodies of water and still waterss
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?b ) WHERE { VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } . ?l rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?y ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?q } . FILTER ( ?y = ?w ) }
Pförring Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Ulul Schleiden Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Fischen Shillingford Yepifan Dorfhain Oneop Eichstätt Kösching Tijuana Municipality Abensberg Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Niamey V North Slope Borough Heidenheim Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Nassenfels Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna
Liechtenstein, Spain and Czech Republic are located in the neighbourhood of min number of bodies of water and still waterss
Liechtenstein Spain Czech Republic
action argmin
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?w ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?b ) WHERE { VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:still_waters ) } . ?l rdf:type ?a } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?y ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?q } . FILTER ( ?y = ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q175081 Q3301299
P47 P20
Q20667921
USER
Which french administrative divisions did the demise of Maurice Périsset occur or have a shared border with Gap ?
OR((Q3301299,P20,c(Q20667921)), (Q175081,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3301299
relation P20
action find
entity Q175081
relation P47
type Q20667921
{'OR': [['Q3301299', 'P20', {'concept': 'Q20667921'}], ['Q175081', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . { { resource:Q3301299 property:P20 ?m } UNION { resource:Q175081 property:P47 ?m } } }
Gap Maurice Périsset
action filter_type
action union
action find
entity Maurice Périsset
relation place of death
action find
entity Gap
relation shares border with
type type of french administrative division
{'OR': [['Maurice Périsset', 'place of death', {'concept': 'type of french administrative division'}], ['Gap', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . { { resource:Maurice_Périsset property:place_of_death ?m } UNION { resource:Gap property:shares_border_with ?m } } }
[]
type of french administrative division
Q645187 Q1087802 Q1085886 Q192574 Q3222599 Q545583 Q693038 Q1158290 Q1087604 Q1087774
SYSTEM
Some of them are Rabou, Jarjayes, Saint-Laurent-du-Cros, Hyères, Dévoluy, La Freissinouse, La Rochette, Poligny, Pelleautier, La Fare-en-Champsaur
Q1087802 Q936807 Q1087604 Q1364607 Q1085886 Q604714 Q1087600 Q192574 Q1158290 Q1017792 Q693038 Q650176 Q3222599 Q1087774 Q1086645 Q780103 Q1019262 Q545583 Q645187
OR((Q3301299,P20,c(Q20667921)), (Q175081,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3301299
relation P20
action find
entity Q175081
relation P47
type Q20667921
The demise of Maurice Périsset occurred of [ANSWERS]
{'OR': [['Q3301299', 'P20', {'concept': 'Q20667921'}], ['Q175081', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . { { resource:Q3301299 property:P20 ?m } UNION { resource:Q175081 property:P47 ?m } } }
Jarjayes Lettret Pelleautier La Roche-des-Arnauds Saint-Laurent-du-Cros Forest-Saint-Julien Le Noyer Hyères Poligny Châteauvieux La Rochette Laye Dévoluy La Fare-en-Champsaur Neffes Saint-Étienne-en-Dévoluy Rambaud La Freissinouse Rabou
The demise of Maurice Périsset occurred of Rabou, Jarjayes, Saint-Laurent-du-Cros, Hyères, Dévoluy, La Freissinouse, La Rochette, Poligny, Pelleautier and La Fare-en-Champsaur
Rabou Jarjayes Saint-Laurent-du-Cros Hyères Dévoluy La Freissinouse La Rochette Poligny Pelleautier La Fare-en-Champsaur
action filter_type
action union
action find
entity Maurice Périsset
relation place of death
action find
entity Gap
relation shares border with
type type of french administrative division
{'OR': [['Maurice Périsset', 'place of death', {'concept': 'type of french administrative division'}], ['Gap', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . { { resource:Maurice_Périsset property:place_of_death ?m } UNION { resource:Gap property:shares_border_with ?m } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192574
P915
Q838948
USER
Which work of art had Hyères as its location of filming ?
(c(Q838948),P915,Q192574)
action filter_type
action find_reverse
entity Q192574
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q192574']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q192574 . ?z rdf:type ontology:Q838948 }
Hyères
action filter_type
action find_reverse
entity Hyères
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Hyères']
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Hyères . ?z rdf:type ontology:work_of_art }
[]
work of art
Q3228386
SYSTEM
The Counterfeiters of Paris
Q3228386
(c(Q838948),P915,Q192574)
action filter_type
action find_reverse
entity Q192574
relation P915
type Q838948
[ANSWER] had Hyères as its location of filming
[{'concept': 'Q838948'}, 'P915', 'Q192574']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q192574 . ?z rdf:type ontology:Q838948 }
The Counterfeiters of Paris
The Counterfeiters of Paris had Hyères as its location of filming
The Counterfeiters of Paris
action filter_type
action find_reverse
entity Hyères
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Hyères']
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Hyères . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192574
P119
Q502895
USER
Which person has Hyères as his/her tomb ?
(c(Q502895),P119,Q192574)
action filter_type
action find_reverse
entity Q192574
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q192574']
SELECT DISTINCT ?v WHERE { ?v property:P119 resource:Q192574 . ?v rdf:type ontology:Q502895 }
Hyères
action filter_type
action find_reverse
entity Hyères
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Hyères']
SELECT DISTINCT ?v WHERE { ?v property:place_of_burial resource:Hyères . ?v rdf:type ontology:common_name }
[]
common name
Q310791
SYSTEM
Jules Michelet
Q310791
(c(Q502895),P119,Q192574)
action filter_type
action find_reverse
entity Q192574
relation P119
type Q502895
[ANSWER] has Hyères as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q192574']
SELECT DISTINCT ?v WHERE { ?v property:P119 resource:Q192574 . ?v rdf:type ontology:Q502895 }
Jules Michelet
Jules Michelet has Hyères as his/her tomb
Jules Michelet
action filter_type
action find_reverse
entity Hyères
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Hyères']
SELECT DISTINCT ?v WHERE { ?v property:place_of_burial resource:Hyères . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192574
P36
Q20667921
USER
Which french administrative divisions consists of Hyères as their capital ?
(c(Q20667921),P36,Q192574)
action filter_type
action find_reverse
entity Q192574
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q192574']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q192574 . ?n rdf:type ontology:Q20667921 }
Hyères
action filter_type
action find_reverse
entity Hyères
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Hyères']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Hyères . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725516 Q1725519 Q20669267
SYSTEM
canton of Hyères-Est, canton of Hyères-Ouest, canton of Hyères
Q1725516 Q1725519 Q20669267
(c(Q20667921),P36,Q192574)
action filter_type
action find_reverse
entity Q192574
relation P36
type Q20667921
[ANSWERS] consist of Hyères as their capital
[{'concept': 'Q20667921'}, 'P36', 'Q192574']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q192574 . ?n rdf:type ontology:Q20667921 }
canton of Hyères-Est canton of Hyères-Ouest canton of Hyères
Canton of Hyères-Est, canton of Hyères-Ouest and canton of Hyères consist of Hyères as their capital
canton of Hyères-Est canton of Hyères-Ouest canton of Hyères
action filter_type
action find_reverse
entity Hyères
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Hyères']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Hyères . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1725516
P1376
Q20667921
USER
What is the capital of that one ?
(c(Q20667921),P1376,Q1725516)
action filter_type
action find_reverse
entity Q1725516
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q1725516']
SELECT DISTINCT ?p WHERE { ?p property:P1376 resource:Q1725516 . ?p rdf:type ontology:Q20667921 }
canton of Hyères-Est
action filter_type
action find_reverse
entity canton of Hyères-Est
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Hyères-Est']
SELECT DISTINCT ?p WHERE { ?p property:capital_of resource:canton_of_Hyères-Est . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q1725519
SYSTEM
Did you mean canton of Hyères-Ouest ?
Q1725516 Q1725519 Q20669267
(c(Q20667921),P1376,Q1725516) (c(Q20667921),P1376,Q1725519) (c(Q20667921),P1376,Q20669267)
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', 'Q1725516'] [{'concept': 'Q20667921'}, 'P1376', 'Q1725519'] [{'concept': 'Q20667921'}, 'P1376', 'Q20669267']
SELECT DISTINCT ?p WHERE { ?p property:P1376 resource:Q1725516 . ?p rdf:type ontology:Q20667921 }
canton of Hyères-Est canton of Hyères-Ouest canton of Hyères
Did you mean canton of Hyères-Ouest ?
canton of Hyères-Ouest
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Hyères-Est'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Hyères-Ouest'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Hyères']
SELECT DISTINCT ?p WHERE { ?p property:capital_of resource:canton_of_Hyères-Est . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant canton of Hyères-Est. Could you tell me the answer for that?
(c(Q20667921),P1376,Q1725516)
Q1725516
[{'concept': 'Q20667921'}, 'P1376', 'Q1725516']
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Hyères-Est']
[]
Q192574
SYSTEM
Hyères
Q192574
(c(Q20667921),P1376,Q1725516)
action filter_type
action find_reverse
entity Q1725516
relation P1376
type Q20667921
The capital of that one is of [ANSWER]
[{'concept': 'Q20667921'}, 'P1376', 'Q1725516']
SELECT DISTINCT ?p WHERE { ?p property:P1376 resource:Q1725516 . ?p rdf:type ontology:Q20667921 }
Hyères
The capital of that one is of Hyères
Hyères
action filter_type
action find_reverse
entity canton of Hyères-Est
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Hyères-Est']
SELECT DISTINCT ?p WHERE { ?p property:capital_of resource:canton_of_Hyères-Est . ?p rdf:type ontology:type_of_french_administrative_division }
[]