Simple Question (Direct)
Simple Question
Q3611295
P21
Q290
USER
What is the sex of Alfred L. Copley ?
(Q3611295,P21,c(Q290))
action filter_type
action find
entity Q3611295
relation P21
type Q290
['Q3611295', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3611295 property:P21 ?j . ?j rdf:type ontology:Q290 }
Alfred L. Copley
action filter_type
action find
entity Alfred L. Copley
relation gender
type sex
['Alfred L. Copley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Alfred_L._Copley property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3611295,P21,c(Q290))
action filter_type
action find
entity Q3611295
relation P21
type Q290
The sex of Alfred L. Copley is the [ANSWER]
['Q3611295', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3611295 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of Alfred L. Copley is the male
male
action filter_type
action find
entity Alfred L. Copley
relation gender
type sex
['Alfred L. Copley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Alfred_L._Copley property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3611295
P19
Q515
USER
Where was that person born ?
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q3611295
relation P19
type Q515
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q3611295 property:P19 ?a }
Alfred L. Copley
action filter_type
action find
entity Alfred L. Copley
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Alfred_L._Copley property:place_of_birth ?a }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q3611295
relation P19
type Q515
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q3611295 property:P19 ?a }
Dresden
That person was born in Dresden
Dresden
action filter_type
action find
entity Alfred L. Copley
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Alfred_L._Copley property:place_of_birth ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q13220204 Q20667921 Q515
USER
How many cities are partner town of atleast 4 administrative country subdivisions or french administrative divisions ?
(c(Q515),P190,c(Q13220204)|c(Q20667921))
action count
action atleast
action union
action find_tuple_counts
relation P190
type Q515
type Q13220204
action find_tuple_counts
relation P190
type Q515
type Q20667921
value 4
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?a >= 4 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:P190 ?z . ?w rdf:type ontology:Q515 . ?z rdf:type ontology:Q13220204 } UNION { ?w property:P190 ?z . ?z rdf:type ontology:Q20667921 . ?w rdf:type ontology:Q515 } } GROUP BY ?w } }
action count
action atleast
action union
action find_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type city
type type of french administrative division
value 4
[{'concept': 'city'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?a >= 4 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:sister_city ?z . ?w rdf:type ontology:city . ?z rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?w property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division . ?w rdf:type ontology:city } } GROUP BY ?w } }
[]
second-level administrative country subdivision type of french administrative division city
SYSTEM
3
Q1486 Q178382 Q3806
(c(Q515),P190,c(Q13220204)|c(Q20667921))
action count
action atleast
action union
action find_tuple_counts
relation P190
type Q515
type Q13220204
action find_tuple_counts
relation P190
type Q515
type Q20667921
value 4
[ANSWER]
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?a >= 4 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:P190 ?z . ?w rdf:type ontology:Q515 . ?z rdf:type ontology:Q13220204 } UNION { ?w property:P190 ?z . ?z rdf:type ontology:Q20667921 . ?w rdf:type ontology:Q515 } } GROUP BY ?w } }
Buenos Aires Jūrmala Tübingen
3
action count
action atleast
action union
action find_tuple_counts
relation sister city
type city
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type city
type type of french administrative division
value 4
[{'concept': 'city'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { FILTER ( ?a >= 4 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?w WHERE { { ?w property:sister_city ?z . ?w rdf:type ontology:city . ?z rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?w property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division . ?w rdf:type ontology:city } } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q602903
P206
Q1267889 Q15324 Q515
USER
How many cities are located next to less number of waterways or bodies of water than Yurihonjō ?
(c(Q515),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q602903
relation P206
type Q1267889
type Q15324
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?p rdf:type ?x } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q602903 property:P206 ?v . { { ?v rdf:type ontology:Q15324 } UNION { ?v rdf:type ontology:Q1267889 } } } } . FILTER ( ?z < ?j ) }
Yurihonjō
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Yurihonjō
relation located next to body of water
type waterway
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?p rdf:type ?x } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Yurihonjō property:located_next_to_body_of_water ?v . { { ?v rdf:type ontology:body_of_water } UNION { ?v rdf:type ontology:waterway } } } } . FILTER ( ?z < ?j ) }
[]
waterway body of water city
SYSTEM
78
Q3075 Q1794 Q1863 Q1865 Q496499 Q3974 Q846877 Q19689 Q2966 Q34217 Q496479 Q3004 Q488869 Q827041 Q3572 Q623549 Q2865 Q4024 Q1711 Q2978 Q3806 Q2973 Q3014 Q1844 Q14821 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q320416 Q890122 Q4007 Q2706 Q7070 Q653545 Q8684 Q270704 Q2749 Q4346 Q3838 Q2833 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q3936 Q2936 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q602903
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?p rdf:type ?x } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q602903 property:P206 ?v . { { ?v rdf:type ontology:Q15324 } UNION { ?v rdf:type ontology:Q1267889 } } } } . FILTER ( ?z < ?j ) }
Fürth Frankfurt Andorra la Vella Kuala Lumpur Kazuno Landshut Semboku Tirana Heidelberg Oxford Yokote Ingolstadt Benalmádena Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Wolfsburg Vaduz Coburg Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Tartessos Bolhrad Rosenheim Bremerhaven Eisenach Kita-Akita Seoul Třebíč Augsburg Waren (Müritz) Kinshasa Freiburg im Breisgau Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Bamberg Oldenburg Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Kyiv Würzburg Brasília
78
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Yurihonjō
relation located next to body of water
type waterway
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?x ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?p rdf:type ?x } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Yurihonjō property:located_next_to_body_of_water ?v . { { ?v rdf:type ontology:body_of_water } UNION { ?v rdf:type ontology:waterway } } } } . FILTER ( ?z < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1761
P206
Q1267889 Q15324 Q515
USER
And also tell me about Dublin?
(c(Q515),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q1761
relation P206
type Q1267889
type Q15324
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?x WHERE { VALUES ( ?h ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?b rdf:type ?h } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q1761 property:P206 ?a . { { ?a rdf:type ontology:Q15324 } UNION { ?a rdf:type ontology:Q1267889 } } } } . FILTER ( ?d < ?w ) }
Dublin
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Dublin
relation located next to body of water
type waterway
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?x WHERE { VALUES ( ?h ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?b rdf:type ?h } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Dublin property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:body_of_water } UNION { ?a rdf:type ontology:waterway } } } } . FILTER ( ?d < ?w ) }
[]
waterway body of water city
SYSTEM
78
Q3075 Q1794 Q1863 Q1865 Q496499 Q3974 Q846877 Q19689 Q2966 Q34217 Q496479 Q3004 Q488869 Q827041 Q3572 Q623549 Q2865 Q4024 Q1711 Q2978 Q3806 Q2973 Q3014 Q1844 Q14821 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q320416 Q890122 Q4007 Q2706 Q7070 Q653545 Q8684 Q270704 Q2749 Q4346 Q3838 Q2833 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q3936 Q2936 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q1761
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?x WHERE { VALUES ( ?h ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?b rdf:type ?h } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q1761 property:P206 ?a . { { ?a rdf:type ontology:Q15324 } UNION { ?a rdf:type ontology:Q1267889 } } } } . FILTER ( ?d < ?w ) }
Fürth Frankfurt Andorra la Vella Kuala Lumpur Kazuno Landshut Semboku Tirana Heidelberg Oxford Yokote Ingolstadt Benalmádena Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Wolfsburg Vaduz Coburg Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Tartessos Bolhrad Rosenheim Bremerhaven Eisenach Kita-Akita Seoul Třebíč Augsburg Waren (Müritz) Kinshasa Freiburg im Breisgau Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Bamberg Oldenburg Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Kyiv Würzburg Brasília
78
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Dublin
relation located next to body of water
type waterway
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?x WHERE { VALUES ( ?h ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?b rdf:type ?h } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Dublin property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:body_of_water } UNION { ?a rdf:type ontology:waterway } } } } . FILTER ( ?d < ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
How many cities are sister town of approximately 8 cities ?
(c(Q515),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q515
type Q515
value 8
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?i property:P190 ?s . ?i rdf:type ontology:Q515 . ?s rdf:type ontology:Q515 } GROUP BY ?i } . FILTER ( ?n = 8 ) }
action count
action approx
action find_tuple_counts
relation sister city
type city
type city
value 8
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?i property:sister_city ?s . ?i rdf:type ontology:city . ?s rdf:type ontology:city } GROUP BY ?i } . FILTER ( ?n = 8 ) }
[]
city city
SYSTEM
7
Q19689 Q1899 Q1486 Q1461 Q2207 Q2887 Q3616
(c(Q515),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q515
type Q515
value 8
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?i property:P190 ?s . ?i rdf:type ontology:Q515 . ?s rdf:type ontology:Q515 } GROUP BY ?i } . FILTER ( ?n = 8 ) }
Tirana Kyiv Buenos Aires Manila Naga Santiago Tehran
7
action count
action approx
action find_tuple_counts
relation sister city
type city
type city
value 8
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?n ) WHERE { ?i property:sister_city ?s . ?i rdf:type ontology:city . ?s rdf:type ontology:city } GROUP BY ?i } . FILTER ( ?n = 8 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2486015
P1376
Q1048835 Q515
USER
How many political territories have more number of cities as their capital than Callería ?
(c(Q515),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q2486015
relation P1376
type Q1048835
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q2486015 property:P1376 ?j . ?j rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1376 ?k . ?s rdf:type ontology:Q515 . ?k rdf:type ontology:Q1048835 } GROUP BY ?k } }
Callería
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Callería
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Callería property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:capital_of ?k . ?s rdf:type ontology:city . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?k } }
[]
political territorial entity city
SYSTEM
115
Q13881 Q13882 Q13884 Q13889 Q785 Q13726 Q2051 Q3891 Q3899 Q2175 Q2271 Q48060 Q13900 Q170390 Q8170 Q168651 Q3741 Q2223 Q22880 Q13786 Q13785 Q13869 Q13868 Q13865 Q13863 Q13862 Q10547 Q1890 Q664 Q12741 Q6339 Q5082 Q5065 Q5067 Q5061 Q5062 Q5068 Q13737 Q7932 Q2140 Q13827 Q13826 Q13825 Q13829 Q953068 Q170036 Q9648 Q3125978 Q13857 Q757 Q13772 Q6301 Q7890 Q3916 Q13794 Q13791 Q13792 Q13813 Q48079 Q5093 Q5095 Q671742 Q5075 Q193619 Q13744 Q48094 Q192697 Q2772 Q13874 Q7928 Q188373 Q48046 Q2101298 Q1823 Q13844 Q13847 Q13843 Q2594990 Q8195 Q2110 Q48072 Q3586 Q13892 Q13891 Q13899 Q3906 Q1866 Q13809 Q13860 Q13806 Q240441 Q24174 Q10440 Q49655 Q190930 Q13753 Q13752 Q13755 Q13759 Q8167 Q48089 Q7916 Q7912 Q3540 Q10526 Q13870 Q13872 Q3724 Q13876 Q48057 Q6328 Q10557 Q10555 Q2902 Q10559
(c(Q515),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q2486015
relation P1376
type Q1048835
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q2486015 property:P1376 ?j . ?j rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1376 ?k . ?s rdf:type ontology:Q515 . ?k rdf:type ontology:Q1048835 } GROUP BY ?k } }
Sorsogon South Cotabato Southern Leyte Surigao del Norte Jersey Albay Jambi Province Kalimantan Tengah Kalimantan Timur Riau Province South Sumatra Gera District Zamboanga del Sur County of Oldenburg Tübingen Landgraviate of Hesse-Kassel Special Region of Yogyakarta Kepulauan Riau Electoral Palatinate Cebu Cavite Palawan Oriental Mindoro Nueva Ecija Negros Oriental Negros Occidental Lower Franconia Bengkulu Province New Zealand Ilocos Sur Erzgebirgskreis West Sulawesi Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara North Sulawesi Province Basilan Darmstadt Government Region North Sumatra Province Kalinga Isabela Iloilo La Union South-West Africa Kiev Oblast Falkland Islands Bali Misamis Occidental Saint Vincent and the Grenadines Capiz Nordsachsen Kassel Kalimantan Barat Davao del Sur Cotabato Davao del Norte Ilocos Norte Leipzig District Maluku Province Papua General Pueyrredón South East Sulawesi Province Union of South Africa Batangas Potsdam District South Moravian Region West Sumatra Rizal Kassel  Government Region South Bohemia Region Cottbus Tandil Aceh Leyte Masbate Lanao del Sur Dominion of New Zealand Breisgau-Hochschwarzwald Lampung Province Karl-Marx-Stadt District East Java Tarlac Surigao del Sur Zamboanga del Norte Kalimantan Selatan Bangka–Belitung Islands Eastern Samar Misamis Oriental Davao Oriental General Alvarado Partido Dresden Government Region Coburg Schellenberg Vysočina Region Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Neubrandenburg District Darmstadt-Dieburg Offenbach Banten Province Rosenheim Pampanga Quezon West Java Province Samar Frankfurt (Oder) Mittelsachsen Swabia Upper Palatinate Mecklenburgische Seenplatte District Lower Bavaria
115
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Callería
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Callería property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:capital_of ?k . ?s rdf:type ontology:city . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2917
P1376
Q1048835 Q515
USER
And what about Vorpommern-Greifswald District?
(c(Q515),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q2917
relation P1376
type Q1048835
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1376 ?o . ?o rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q515 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q2917 property:P1376 ?q } } . FILTER ( ?u > ?w ) }
Vorpommern-Greifswald District
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Vorpommern-Greifswald District
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:capital_of ?o . ?o rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:city } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Vorpommern-Greifswald_District property:capital_of ?q } } . FILTER ( ?u > ?w ) }
[]
political territorial entity city
SYSTEM
115
Q13881 Q13882 Q13884 Q13889 Q785 Q13726 Q2051 Q3891 Q3899 Q2175 Q2271 Q48060 Q13900 Q170390 Q8170 Q168651 Q3741 Q2223 Q22880 Q13786 Q13785 Q13869 Q13868 Q13865 Q13863 Q13862 Q10547 Q1890 Q664 Q12741 Q6339 Q5082 Q5065 Q5067 Q5061 Q5062 Q5068 Q13737 Q7932 Q2140 Q13827 Q13826 Q13825 Q13829 Q953068 Q170036 Q9648 Q3125978 Q13857 Q757 Q13772 Q6301 Q7890 Q3916 Q13794 Q13791 Q13792 Q13813 Q48079 Q5093 Q5095 Q671742 Q5075 Q193619 Q13744 Q48094 Q192697 Q2772 Q13874 Q7928 Q188373 Q48046 Q2101298 Q1823 Q13844 Q13847 Q13843 Q2594990 Q8195 Q2110 Q48072 Q3586 Q13892 Q13891 Q13899 Q3906 Q1866 Q13809 Q13860 Q13806 Q240441 Q24174 Q10440 Q49655 Q190930 Q13753 Q13752 Q13755 Q13759 Q8167 Q48089 Q7916 Q7912 Q3540 Q10526 Q13870 Q13872 Q3724 Q13876 Q48057 Q6328 Q10557 Q10555 Q2902 Q10559
(c(Q515),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q2917
relation P1376
type Q1048835
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P1376 ?o . ?o rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q515 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q2917 property:P1376 ?q } } . FILTER ( ?u > ?w ) }
Sorsogon South Cotabato Southern Leyte Surigao del Norte Jersey Albay Jambi Province Kalimantan Tengah Kalimantan Timur Riau Province South Sumatra Gera District Zamboanga del Sur County of Oldenburg Tübingen Landgraviate of Hesse-Kassel Special Region of Yogyakarta Kepulauan Riau Electoral Palatinate Cebu Cavite Palawan Oriental Mindoro Nueva Ecija Negros Oriental Negros Occidental Lower Franconia Bengkulu Province New Zealand Ilocos Sur Erzgebirgskreis West Sulawesi Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara North Sulawesi Province Basilan Darmstadt Government Region North Sumatra Province Kalinga Isabela Iloilo La Union South-West Africa Kiev Oblast Falkland Islands Bali Misamis Occidental Saint Vincent and the Grenadines Capiz Nordsachsen Kassel Kalimantan Barat Davao del Sur Cotabato Davao del Norte Ilocos Norte Leipzig District Maluku Province Papua General Pueyrredón South East Sulawesi Province Union of South Africa Batangas Potsdam District South Moravian Region West Sumatra Rizal Kassel  Government Region South Bohemia Region Cottbus Tandil Aceh Leyte Masbate Lanao del Sur Dominion of New Zealand Breisgau-Hochschwarzwald Lampung Province Karl-Marx-Stadt District East Java Tarlac Surigao del Sur Zamboanga del Norte Kalimantan Selatan Bangka–Belitung Islands Eastern Samar Misamis Oriental Davao Oriental General Alvarado Partido Dresden Government Region Coburg Schellenberg Vysočina Region Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Neubrandenburg District Darmstadt-Dieburg Offenbach Banten Province Rosenheim Pampanga Quezon West Java Province Samar Frankfurt (Oder) Mittelsachsen Swabia Upper Palatinate Mecklenburgische Seenplatte District Lower Bavaria
115
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Vorpommern-Greifswald District
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:capital_of ?o . ?o rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:city } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Vorpommern-Greifswald_District property:capital_of ?q } } . FILTER ( ?u > ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3611295 Q3841932
P26
Q502895
USER
How many people are married to Alfred L. Copley or Macalda of Scaletta ?
(Q3611295,P26,c(Q502895)) (Q3841932,P26,c(Q502895))
action count
action union
action filter_type
action find
entity Q3611295
relation P26
type Q502895
action filter_type
action find
entity Q3841932
relation P26
type Q502895
['Q3611295', 'P26', {'concept': 'Q502895'}] ['Q3841932', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:Q3611295 property:P26 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q3841932 property:P26 ?j . ?j rdf:type ontology:Q502895 } }
Alfred L. Copley Macalda of Scaletta
action count
action union
action filter_type
action find
entity Alfred L. Copley
relation spouse
type common name
action filter_type
action find
entity Macalda of Scaletta
relation spouse
type common name
['Alfred L. Copley', 'spouse', {'concept': 'common name'}] ['Macalda of Scaletta', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:Alfred_L._Copley property:spouse ?j . ?j rdf:type ontology:common_name } UNION { resource:Macalda_of_Scaletta property:spouse ?j . ?j rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q3778869 Q3607638 Q16809
(Q3611295,P26,c(Q502895)) (Q3841932,P26,c(Q502895))
action count
action union
action filter_type
action find
entity Q3611295
relation P26
type Q502895
action filter_type
action find
entity Q3841932
relation P26
type Q502895
[ANSWER]
['Q3611295', 'P26', {'concept': 'Q502895'}] ['Q3841932', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:Q3611295 property:P26 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q3841932 property:P26 ?j . ?j rdf:type ontology:Q502895 } }
Guglielmo Amico Alaimo of Lentini Nína Tryggvadóttir
3
action count
action union
action filter_type
action find
entity Alfred L. Copley
relation spouse
type common name
action filter_type
action find
entity Macalda of Scaletta
relation spouse
type common name
['Alfred L. Copley', 'spouse', {'concept': 'common name'}] ['Macalda of Scaletta', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:Alfred_L._Copley property:spouse ?j . ?j rdf:type ontology:common_name } UNION { resource:Macalda_of_Scaletta property:spouse ?j . ?j rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q330175 Q602903
P19
Q502895
USER
Which people were born at Yurihonjō or Piracicaba ?
OR((c(Q502895),P19,Q602903), (c(Q502895),P19,Q330175))
action filter_type
action union
action find_reverse
entity Q602903
relation P19
action find_reverse
entity Q330175
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q602903'], [{'concept': 'Q502895'}, 'P19', 'Q330175']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Q602903 ) ( resource:Q330175 ) } . ?r property:P19 ?x } . ?r rdf:type ontology:Q502895 }
Piracicaba Yurihonjō
action filter_type
action union
action find_reverse
entity Yurihonjō
relation place of birth
action find_reverse
entity Piracicaba
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Yurihonjō'], [{'concept': 'common name'}, 'place of birth', 'Piracicaba']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Yurihonjō ) ( resource:Piracicaba ) } . ?r property:place_of_birth ?x } . ?r rdf:type ontology:common_name }
[]
common name
Q11377070 Q5207703 Q10278441 Q18715713 Q5442069 Q2845002 Q19662815 Q5444811 Q2448691 Q11376480
SYSTEM
Some of them are Tomoki Imamura, Dacio Campos, Evaristo Conrado Engelberg, Antônio da Silveira, Felipe de Oliveira Silva, Ana Paula Moraes, Lucas Possignolo, Fernando Marcelo Campagnolo, Paulo Luiz Massariol, Satoshi Nibe
Q3423453 Q459818 Q6123669 Q26950659 Q2448691 Q1204059 Q17490150 Q2073162 Q2466806 Q24852588 Q4057980 Q2501665 Q9211587 Q11377070 Q5442069 Q199624 Q18719321 Q9667598 Q18715713 Q11427656 Q5049350 Q7312533 Q5441489 Q11676303 Q3804764 Q3870413 Q2845002 Q11376480 Q6794008 Q11377452 Q62182 Q9653735 Q4831698 Q3645794 Q20892700 Q721984 Q19662815 Q629068 Q2576274 Q612073 Q9028886 Q956917 Q3078015 Q6836384 Q16867309 Q5207703 Q5926327 Q15878652 Q1960672 Q2017085 Q5621833 Q5444811 Q18475639 Q5274692 Q218098 Q10278441 Q11559276 Q17211499 Q7155123
OR((c(Q502895),P19,Q602903), (c(Q502895),P19,Q330175))
action filter_type
action union
action find_reverse
entity Q602903
relation P19
action find_reverse
entity Q330175
relation P19
type Q502895
[ANSWERS] were born at Yurihonjō or Piracicaba
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q602903'], [{'concept': 'Q502895'}, 'P19', 'Q330175']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Q602903 ) ( resource:Q330175 ) } . ?r property:P19 ?x } . ?r rdf:type ontology:Q502895 }
Regiane Bidias Leonardo Villar Shu Watanabe Maikel Daniel Costa Paulo Luiz Massariol Natsuki Katō Rafael Tufa Marcos Pizzelli Ronaldo Guiaro Raphael Alemão Adriano Spadoto Silvio Lagreca Kanezō Muraoka Tomoki Imamura Felipe de Oliveira Silva Adhemar de Barros Jonathan Cafú Bruno Henrique Turco Antônio da Silveira Hotta Masayasu Cassiano Leal Renan Rocha Fefo Wataru Washiya Ivan Saidenberg Nardela Ana Paula Moraes Satoshi Nibe Maurício Ramos Takashi Konno José Altafini Belmácio Pousa Godinho Ayrton Ganino Bruno Guarda Gustavo Hebling Newton de Sordi Lucas Possignolo Paulinho Ferreira Chicão Antônio Wilson Vieira Honório Maria Teresa Silveira de Barros Camargo Guilherme Giovannoni Toshiyuki Igarashi Michel Fernando Costa André Cypriano Dacio Campos Rina Ikoma Gabriel Boschilia João Vitti Gabriel Silva Guto Ferreira Fernando Marcelo Campagnolo Milton Buzetto Diego Henrique Pachega de Souza André Cruz Evaristo Conrado Engelberg Gilmara Justino Haruhiko Nishimura Paulinho Piracicaba
Tomoki Imamura, Dacio Campos, Evaristo Conrado Engelberg, Antônio da Silveira, Felipe de Oliveira Silva, Ana Paula Moraes, Lucas Possignolo, Fernando Marcelo Campagnolo, Paulo Luiz Massariol and Satoshi Nibe were born at Yurihonjō or Piracicaba
Tomoki Imamura Dacio Campos Evaristo Conrado Engelberg Antônio da Silveira Felipe de Oliveira Silva Ana Paula Moraes Lucas Possignolo Fernando Marcelo Campagnolo Paulo Luiz Massariol Satoshi Nibe
action filter_type
action union
action find_reverse
entity Yurihonjō
relation place of birth
action find_reverse
entity Piracicaba
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Yurihonjō'], [{'concept': 'common name'}, 'place of birth', 'Piracicaba']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Yurihonjō ) ( resource:Piracicaba ) } . ?r property:place_of_birth ?x } . ?r rdf:type ontology:common_name }
[]