Simple Question (Direct)
Simple Question
Q1460438
P47
Q20667921
USER
Which french administrative divisions share border with Maison-Rouge ?
(Q1460438,P47,c(Q20667921))
action filter_type
action find
entity Q1460438
relation P47
type Q20667921
['Q1460438', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q1460438 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Maison-Rouge
action filter_type
action find
entity Maison-Rouge
relation shares border with
type type of french administrative division
['Maison-Rouge', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Maison-Rouge property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1458995 Q1456233 Q272028
SYSTEM
Sognolles-en-Montois, Saint-Loup-de-Naud, Cucharmoy
Q1456233 Q419596 Q1458995 Q419483 Q272028 Q271029 Q1603966 Q942457
(Q1460438,P47,c(Q20667921))
action filter_type
action find
entity Q1460438
relation P47
type Q20667921
[ANSWERS] share border with Maison-Rouge
['Q1460438', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q1460438 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Saint-Loup-de-Naud Châteaubleau Sognolles-en-Montois La Chapelle-Saint-Sulpice Cucharmoy Vieux-Champagne Lizines Vanvillé
Sognolles-en-Montois, Saint-Loup-de-Naud and Cucharmoy share border with Maison-Rouge
Sognolles-en-Montois Saint-Loup-de-Naud Cucharmoy
action filter_type
action find
entity Maison-Rouge
relation shares border with
type type of french administrative division
['Maison-Rouge', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Maison-Rouge property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1458995 Q1456233 Q272028
P17
Q15617994
USER
Which administrative territories are those french administrative divisions located in ?
(Q1458995,P17,c(Q15617994)) (Q1456233,P17,c(Q15617994)) (Q272028,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1458995', 'P17', {'concept': 'Q15617994'}] ['Q1456233', 'P17', {'concept': 'Q15617994'}] ['Q272028', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . ?r property:P17 ?e . VALUES ( ?r ) { ( resource:Q1456233 ) ( resource:Q419596 ) ( resource:Q1458995 ) } }
Sognolles-en-Montois Saint-Loup-de-Naud Cucharmoy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Sognolles-en-Montois', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Loup-de-Naud', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cucharmoy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:country ?e . VALUES ( ?r ) { ( resource:Saint-Loup-de-Naud ) ( resource:Châteaubleau ) ( resource:Sognolles-en-Montois ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q1458995,P17,c(Q15617994)) (Q1456233,P17,c(Q15617994)) (Q272028,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those french administrative divisions are located in [ANSWER], [ANSWER] and [ANSWER]
['Q1458995', 'P17', {'concept': 'Q15617994'}] ['Q1456233', 'P17', {'concept': 'Q15617994'}] ['Q272028', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . ?r property:P17 ?e . VALUES ( ?r ) { ( resource:Q1456233 ) ( resource:Q419596 ) ( resource:Q1458995 ) } }
France France France
Those french administrative divisions are located in France, France and France
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Sognolles-en-Montois', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Loup-de-Naud', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cucharmoy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:country ?e . VALUES ( ?r ) { ( resource:Saint-Loup-de-Naud ) ( resource:Châteaubleau ) ( resource:Sognolles-en-Montois ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1456233
P20
Q502895
USER
Who died in Saint-Loup-de-Naud ?
(c(Q502895),P20,Q1456233)
action filter_type
action find_reverse
entity Q1456233
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1456233']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q1456233 . ?k rdf:type ontology:Q502895 }
Saint-Loup-de-Naud
action filter_type
action find_reverse
entity Saint-Loup-de-Naud
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Saint-Loup-de-Naud']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Saint-Loup-de-Naud . ?k rdf:type ontology:common_name }
[]
common name
Q3382989
SYSTEM
Pierre-Eugène Clairin
Q3382989
(c(Q502895),P20,Q1456233)
action filter_type
action find_reverse
entity Q1456233
relation P20
type Q502895
[ANSWER] died in Saint-Loup-de-Naud
[{'concept': 'Q502895'}, 'P20', 'Q1456233']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q1456233 . ?k rdf:type ontology:Q502895 }
Pierre-Eugène Clairin
Pierre-Eugène Clairin died in Saint-Loup-de-Naud
Pierre-Eugène Clairin
action filter_type
action find_reverse
entity Saint-Loup-de-Naud
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Saint-Loup-de-Naud']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Saint-Loup-de-Naud . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3382989
P19
Q20667921
USER
Which french administrative division is the place of birth of that person ?
(Q3382989,P19,c(Q20667921))
action filter_type
action find
entity Q3382989
relation P19
type Q20667921
['Q3382989', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3382989 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Pierre-Eugène Clairin
action filter_type
action find
entity Pierre-Eugène Clairin
relation place of birth
type type of french administrative division
['Pierre-Eugène Clairin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Pierre-Eugène_Clairin property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q181285
SYSTEM
Cambrai
Q181285
(Q3382989,P19,c(Q20667921))
action filter_type
action find
entity Q3382989
relation P19
type Q20667921
[ANSWER] is the place of birth of that person
['Q3382989', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3382989 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Cambrai
Cambrai is the place of birth of that person
Cambrai
action filter_type
action find
entity Pierre-Eugène Clairin
relation place of birth
type type of french administrative division
['Pierre-Eugène Clairin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Pierre-Eugène_Clairin property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q974
P1001
Q15617994 Q820655 Q1292279
USER
How many administrative territories are judicially linked to less number of statutes or political borders than Democratic Republic of the Congo ?
(c(Q820655)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q974
relation P1001
type Q820655
type Q1292279
[[{'concept': 'Q820655'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P1001 resource:Q974 . { { ?f rdf:type ontology:Q820655 } UNION { ?f rdf:type ontology:Q1292279 } } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:Q820655 ) ( ontology:Q1292279 ) } } GROUP BY ?u } }
Democratic Republic of the Congo
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Democratic Republic of the Congo
relation applies to jurisdiction
type statute
type political border
[[{'concept': 'statute'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:applies_to_jurisdiction resource:Democratic_Republic_of_the_Congo . { { ?f rdf:type ontology:statute } UNION { ?f rdf:type ontology:political_border } } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:statute ) ( ontology:political_border ) } } GROUP BY ?u } }
[]
designation for an administrative territorial entity statute political border
SYSTEM
245
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q41 Q792 Q790 Q4628 Q796 Q954 Q889 Q884 Q958 Q881 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q34 Q928 Q155019 Q39 Q3389 Q986 Q423 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 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 Q1032 Q1033 Q1030 Q191 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(Q820655)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q974
relation P1001
type Q820655
type Q1292279
[ANSWER]
[[{'concept': 'Q820655'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P1001 resource:Q974 . { { ?f rdf:type ontology:Q820655 } UNION { ?f rdf:type ontology:Q1292279 } } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:Q820655 ) ( ontology:Q1292279 ) } } GROUP BY ?u } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Greece El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Korea South Sudan Vietnam raion 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 Sweden Philippines Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea 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 Ireland Hungary Shushary, Saint Petersburg 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 Niger Nigeria Namibia Estonia 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
245
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Democratic Republic of the Congo
relation applies to jurisdiction
type statute
type political border
[[{'concept': 'statute'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:applies_to_jurisdiction resource:Democratic_Republic_of_the_Congo . { { ?f rdf:type ontology:statute } UNION { ?f rdf:type ontology:political_border } } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?i . VALUES ( ?i ) { ( ontology:statute ) ( ontology:political_border ) } } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q833
P1001
Q15617994 Q820655 Q1292279
USER
And what about Malaysia?
(c(Q820655)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q833
relation P1001
type Q820655
type Q1292279
[[{'concept': 'Q820655'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P1001 resource:Q833 . { VALUES ( ?z ) { ( ontology:Q820655 ) ( ontology:Q1292279 ) } . ?b rdf:type ?z } } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:P1001 ?j . ?j rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1292279 } UNION { ?w property:P1001 ?j . ?j rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q820655 } } GROUP BY ?j } }
Malaysia
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Malaysia
relation applies to jurisdiction
type statute
type political border
[[{'concept': 'statute'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:applies_to_jurisdiction resource:Malaysia . { VALUES ( ?z ) { ( ontology:statute ) ( ontology:political_border ) } . ?b rdf:type ?z } } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_border } UNION { ?w property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:statute } } GROUP BY ?j } }
[]
designation for an administrative territorial entity statute political border
SYSTEM
226
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q55 Q2871 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q45 Q792 Q790 Q4628 Q796 Q954 Q889 Q884 Q958 Q881 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q928 Q155019 Q3389 Q986 Q423 Q983 Q733 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q2667658 Q1025 Q1027 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 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 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q1231 Q1237
(c(Q820655)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q833
relation P1001
type Q820655
type Q1292279
[ANSWER]
[[{'concept': 'Q820655'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P1001 resource:Q833 . { VALUES ( ?z ) { ( ontology:Q820655 ) ( ontology:Q1292279 ) } . ?b rdf:type ?z } } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:P1001 ?j . ?j rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1292279 } UNION { ?w property:P1001 ?j . ?j rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q820655 } } GROUP BY ?j } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Netherlands Hagen Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Portugal El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon 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 Philippines Duchy of Lorraine Finistère Eritrea North Korea Equatorial Guinea Paraguay 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 Ireland Shushary, Saint Petersburg Mauritania Mauritius Malawi Yukon Pakistan Northwest Territories Belarus North Brabant 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 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 Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia 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 Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia 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 Kosovo Region Trentino-South Tyrol
226
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Malaysia
relation applies to jurisdiction
type statute
type political border
[[{'concept': 'statute'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:applies_to_jurisdiction resource:Malaysia . { VALUES ( ?z ) { ( ontology:statute ) ( ontology:political_border ) } . ?b rdf:type ?z } } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_border } UNION { ?w property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:statute } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181285
P1444
Q31629
USER
Which type of sport finally halts at Cambrai ?
(c(Q31629),P1444,Q181285)
action filter_type
action find_reverse
entity Q181285
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', 'Q181285']
SELECT DISTINCT ?z WHERE { ?z property:P1444 resource:Q181285 . ?z rdf:type ontology:Q31629 }
Cambrai
action filter_type
action find_reverse
entity Cambrai
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Cambrai']
SELECT DISTINCT ?z WHERE { ?z property:destination_point resource:Cambrai . ?z rdf:type ontology:type_of_sport }
[]
type of sport
Q19946577
SYSTEM
2015 Tour de France, Stage 4
Q19946577
(c(Q31629),P1444,Q181285)
action filter_type
action find_reverse
entity Q181285
relation P1444
type Q31629
The [ANSWER] finally halts at Cambrai
[{'concept': 'Q31629'}, 'P1444', 'Q181285']
SELECT DISTINCT ?z WHERE { ?z property:P1444 resource:Q181285 . ?z rdf:type ontology:Q31629 }
2015 Tour de France, Stage 4
The 2015 Tour de France, Stage 4 finally halts at Cambrai
2015 Tour de France, Stage 4
action filter_type
action find_reverse
entity Cambrai
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Cambrai']
SELECT DISTINCT ?z WHERE { ?z property:destination_point resource:Cambrai . ?z rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181285
P36
Q13220204
USER
What is the capital of that french administrative division ?
(Q19946577,P36,c(Q13220204))
action filter_type
action find
entity Q181285
relation P36
type Q13220204
['Q19946577', 'P36', {'concept': 'Q13220204'}]
SELECT DISTINCT ?b WHERE { resource:Q181285 property:P36 ?b . ?b rdf:type ontology:Q13220204 }
Cambrai
action filter_type
action find
entity Cambrai
relation capital
type second-level administrative country subdivision
['2015 Tour de France, Stage 4', 'capital', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?b WHERE { resource:Cambrai property:capital ?b . ?b rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q700823
SYSTEM
arrondissement of Cambrai
Q700823
(Q19946577,P36,c(Q13220204))
action filter_type
action find
entity Q181285
relation P36
type Q13220204
The capital of that french administrative division is the [ANSWER]
['Q19946577', 'P36', {'concept': 'Q13220204'}]
SELECT DISTINCT ?b WHERE { resource:Q181285 property:P36 ?b . ?b rdf:type ontology:Q13220204 }
arrondissement of Cambrai
The capital of that french administrative division is the arrondissement of Cambrai
arrondissement of Cambrai
action filter_type
action find
entity Cambrai
relation capital
type second-level administrative country subdivision
['2015 Tour de France, Stage 4', 'capital', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?b WHERE { resource:Cambrai property:capital ?b . ?b rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181285
P276
Q1190554
USER
What are situated at that french administrative division ?
(c(Q1190554),P276,Q700823)
action filter_type
action find_reverse
entity Q181285
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q700823']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q181285 . ?f rdf:type ontology:Q1190554 }
Cambrai
action filter_type
action find_reverse
entity Cambrai
relation location
type event
[{'concept': 'event'}, 'location', 'arrondissement of Cambrai']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Cambrai . ?f rdf:type ontology:event }
[]
event
Q654374 Q2585904
SYSTEM
Battle of Cambrai, Battle of Cambrai
Q654374 Q2585904
(c(Q1190554),P276,Q700823)
action filter_type
action find_reverse
entity Q181285
relation P276
type Q1190554
[ANSWERS] are situated at that french administrative division
[{'concept': 'Q1190554'}, 'P276', 'Q700823']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q181285 . ?f rdf:type ontology:Q1190554 }
Battle of Cambrai Battle of Cambrai
Battle of Cambrai and Battle of Cambrai are situated at that french administrative division
Battle of Cambrai Battle of Cambrai
action filter_type
action find_reverse
entity Cambrai
relation location
type event
[{'concept': 'event'}, 'location', 'arrondissement of Cambrai']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Cambrai . ?f rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181285
P1427
Q878123
USER
Which racing originates at that french administrative division ?
(c(Q878123),P1427,Q654374) (c(Q878123),P1427,Q2585904)
action filter_type
action find_reverse
entity Q181285
relation P1427
type Q878123
[{'concept': 'Q878123'}, 'P1427', 'Q654374'] [{'concept': 'Q878123'}, 'P1427', 'Q2585904']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q878123 . ?i property:P1427 resource:Q181285 }
Cambrai
action filter_type
action find_reverse
entity Cambrai
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Battle of Cambrai'] [{'concept': 'racing'}, 'start point', 'Battle of Cambrai']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:racing . ?i property:start_point resource:Cambrai }
[]
racing
Q2803766
SYSTEM
2004 Tour de France, Stage 4
Q2803766
(c(Q878123),P1427,Q654374) (c(Q878123),P1427,Q2585904)
action filter_type
action find_reverse
entity Q181285
relation P1427
type Q878123
[ANSWER] originates at that french administrative division
[{'concept': 'Q878123'}, 'P1427', 'Q654374'] [{'concept': 'Q878123'}, 'P1427', 'Q2585904']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q878123 . ?i property:P1427 resource:Q181285 }
2004 Tour de France, Stage 4
2004 Tour de France, Stage 4 originates at that french administrative division
2004 Tour de France, Stage 4
action filter_type
action find_reverse
entity Cambrai
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Battle of Cambrai'] [{'concept': 'racing'}, 'start point', 'Battle of Cambrai']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:racing . ?i property:start_point resource:Cambrai }
[]