Simple Question (Direct)
Simple Question
Q5415948
P734
Q82799
USER
Who has the surname Evans Paul ?
(Q5415948,P734,c(Q82799))
action filter_type
action find
entity Q5415948
relation P734
type Q82799
['Q5415948', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q5415948 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Evans Paul
action filter_type
action find
entity Evans Paul
relation family name
type name
['Evans Paul', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Evans_Paul property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q17641342
SYSTEM
Paul
Q17641342
(Q5415948,P734,c(Q82799))
action filter_type
action find
entity Q5415948
relation P734
type Q82799
[ANSWER]
['Q5415948', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q5415948 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Paul
Paul
action filter_type
action find
entity Evans Paul
relation family name
type name
['Evans Paul', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Evans_Paul property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5415948
P21
Q290
USER
What is the sex of Evans Paul ?
(Q5415948,P21,c(Q290))
action filter_type
action find
entity Q5415948
relation P21
type Q290
['Q5415948', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5415948 property:P21 ?d . ?d rdf:type ontology:Q290 }
Evans Paul
action filter_type
action find
entity Evans Paul
relation gender
type sex
['Evans Paul', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Evans_Paul property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5415948,P21,c(Q290))
action filter_type
action find
entity Q5415948
relation P21
type Q290
[ANSWER]
['Q5415948', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5415948 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Evans Paul
relation gender
type sex
['Evans Paul', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Evans_Paul property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2577447
Q290
USER
And also tell me about Willi Rösel?
(Q2577447,P21,c(Q290))
action filter_type
action find
entity Q2577447
relation P21
type Q290
['Q2577447', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q2577447 property:P21 ?m }
Willi Rösel
action filter_type
action find
entity Willi Rösel
relation gender
type sex
['Willi Rösel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Willi_Rösel property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2577447,P21,c(Q290))
action filter_type
action find
entity Q2577447
relation P21
type Q290
[ANSWER]
['Q2577447', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q2577447 property:P21 ?m }
male
male
action filter_type
action find
entity Willi Rösel
relation gender
type sex
['Willi Rösel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Willi_Rösel property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5415948
P102
Q7210356
USER
Which party is Evans Paul affiliated with ?
(Q5415948,P102,c(Q7210356))
action filter_type
action find
entity Q5415948
relation P102
type Q7210356
['Q5415948', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q5415948 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Evans Paul
action filter_type
action find
entity Evans Paul
relation member of political party
type political organization
['Evans Paul', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Evans_Paul property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q5255547
SYSTEM
Democratic Alliance Party
Q5255547
(Q5415948,P102,c(Q7210356))
action filter_type
action find
entity Q5415948
relation P102
type Q7210356
[ANSWER]
['Q5415948', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q5415948 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Democratic Alliance Party
Democratic Alliance Party
action filter_type
action find
entity Evans Paul
relation member of political party
type political organization
['Evans Paul', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Evans_Paul property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5415948
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q5255547,P27,c(Q15617994))
action filter_type
action find
entity Q5415948
relation P27
type Q15617994
['Q5255547', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5415948 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Evans Paul
action filter_type
action find
entity Evans Paul
relation country of citizenship
type designation for an administrative territorial entity
['Democratic Alliance Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Evans_Paul property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q790
SYSTEM
Haiti
Q790
(Q5255547,P27,c(Q15617994))
action filter_type
action find
entity Q5415948
relation P27
type Q15617994
[ANSWER]
['Q5255547', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5415948 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Haiti
Haiti
action filter_type
action find
entity Evans Paul
relation country of citizenship
type designation for an administrative territorial entity
['Democratic Alliance Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Evans_Paul property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q201658
USER
How many administrative territories are the countries of origin of less number of literary works and film genres than that administrative territory ?
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q790
relation P495
type Q7725634
type Q201658
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:Q7725634 ) ( ontology:Q201658 ) } . ?v rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P495 resource:Q790 . { { ?f rdf:type ontology:Q7725634 } UNION { ?f rdf:type ontology:Q201658 } } } } . FILTER ( ?m < ?i ) }
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Haiti
relation country of origin
type literary work
type film genre
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:literary_work ) ( ontology:film_genre ) } . ?v rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:country_of_origin resource:Haiti . { { ?f rdf:type ontology:literary_work } UNION { ?f rdf:type ontology:film_genre } } } } . FILTER ( ?m < ?i ) }
[]
designation for an administrative territorial entity literary work film genre
SYSTEM
89
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q711 Q837 Q1460 Q398 Q403 Q657 Q4628 Q796 Q954 Q889 Q958 Q986 Q826 Q242 Q244 Q811 Q153136 Q924 Q423 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q238 Q921 Q1049 Q1025 Q1020 Q736 Q786 Q224 Q223 Q222 Q221 Q229 Q347 Q1037 Q1030 Q967 Q962 Q963 Q114 Q754 Q750 Q217 Q214 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q239502 Q686 Q836 Q574 Q874 Q858 Q774 Q817 Q810 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q790
relation P495
type Q7725634
type Q201658
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:Q7725634 ) ( ontology:Q201658 ) } . ?v rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P495 resource:Q790 . { { ?f rdf:type ontology:Q7725634 } UNION { ?f rdf:type ontology:Q201658 } } } } . FILTER ( ?m < ?i ) }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Mongolia Nepal Sicily Bahrain Serbia Chad Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia San Marino Brunei Sudan Mauritania Malawi Ecuador Dominican Republic Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Rwanda Namibia Burundi Benin Botswana Kenya Trinidad and Tobago Bolivia Republic of Moldova Slovakia Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Kuwait Jordan Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
89
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Haiti
relation country of origin
type literary work
type film genre
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:literary_work ) ( ontology:film_genre ) } . ?v rdf:type ?y } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:country_of_origin resource:Haiti . { { ?f rdf:type ontology:literary_work } UNION { ?f rdf:type ontology:film_genre } } } } . FILTER ( ?m < ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q790
P30
Q2221906
USER
Where is Haiti located ?
(Q790,P30,c(Q2221906))
action filter_type
action find
entity Q790
relation P30
type Q2221906
['Q790', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q790 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Haiti
action filter_type
action find
entity Haiti
relation continent
type geographic location
['Haiti', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Haiti property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q790,P30,c(Q2221906))
action filter_type
action find
entity Q790
relation P30
type Q2221906
[ANSWER]
['Q790', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q790 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
North America
North America
action filter_type
action find
entity Haiti
relation continent
type geographic location
['Haiti', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Haiti property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q790
P706
Q337567
USER
Which still waterss are located in that administrative territory ?
(c(Q337567),P706,Q49)
action filter_type
action find_reverse
entity Q790
relation P706
type Q337567
[{'concept': 'Q337567'}, 'P706', 'Q49']
SELECT DISTINCT ?r WHERE { ?r property:P706 resource:Q790 . ?r rdf:type ontology:Q337567 }
Haiti
action filter_type
action find_reverse
entity Haiti
relation located on terrain feature
type still waters
[{'concept': 'still waters'}, 'located on terrain feature', 'North America']
SELECT DISTINCT ?r WHERE { ?r property:located_on_terrain_feature resource:Haiti . ?r rdf:type ontology:still_waters }
[]
still waters
Q2722327 Q3207215
SYSTEM
étang Saumâtre, Lake Miragoâne
Q2722327 Q3207215
(c(Q337567),P706,Q49)
action filter_type
action find_reverse
entity Q790
relation P706
type Q337567
[ANSWERS]
[{'concept': 'Q337567'}, 'P706', 'Q49']
SELECT DISTINCT ?r WHERE { ?r property:P706 resource:Q790 . ?r rdf:type ontology:Q337567 }
étang Saumâtre Lake Miragoâne
étang Saumâtre Lake Miragoâne
action filter_type
action find_reverse
entity Haiti
relation located on terrain feature
type still waters
[{'concept': 'still waters'}, 'located on terrain feature', 'North America']
SELECT DISTINCT ?r WHERE { ?r property:located_on_terrain_feature resource:Haiti . ?r rdf:type ontology:still_waters }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q10709015
P206
Q337567 Q56061 Q15617994
USER
How many still waterss are located in the neighbourhood of more number of administrative territories or administrative territories than Ulvsundasjön ?
(c(Q56061)|c(Q15617994),P206,c(Q337567))
action count
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q56061
action find_reverse_tuple_counts
relation P206
type Q337567
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q10709015
relation P206
type Q56061
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?x rdf:type ?p } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P206 resource:Q10709015 . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q15617994 } } } } . FILTER ( ?m > ?d ) }
Ulvsundasjön
action count
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type administrative territorial entity
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Ulvsundasjön
relation located next to body of water
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?x rdf:type ?p } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:located_next_to_body_of_water resource:Ulvsundasjön . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?m > ?d ) }
[]
still waters administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q385678 Q213769 Q1062 Q24339867 Q5492 Q7362185 Q7371646 Q1882699 Q3058006 Q939766 Q24303992 Q272380 Q456377 Q776956 Q1296454 Q203137 Q12268925 Q14418 Q1247129 Q7362220 Q14442 Q697916 Q1923898 Q1689557 Q15288 Q184492 Q772806 Q744741 Q871192 Q5505 Q1622643 Q15523 Q203462 Q315045 Q1315570 Q10711199 Q180839 Q1247231 Q247082 Q1325911 Q24305783 Q3017786 Q80629 Q1419902 Q580019 Q778066 Q1805527 Q1594212 Q6414 Q1295357 Q338137 Q447947 Q14379 Q997345 Q1398428 Q311217 Q1546844 Q5525 Q1653947 Q156258 Q4127 Q24307100 Q3908364 Q6754501
(c(Q56061)|c(Q15617994),P206,c(Q337567))
action count
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q56061
action find_reverse_tuple_counts
relation P206
type Q337567
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q10709015
relation P206
type Q56061
type Q15617994
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?x rdf:type ?p } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P206 resource:Q10709015 . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q15617994 } } } } . FILTER ( ?m > ?d ) }
Jyväsjärvi Päijänne Lake Ontario Äkäslompolo Lake Erie Kelontekemäjärvi Włocławek Reservoir Lake Machnow Zrebar Lake Markermeer Ylläsjärvi Lake Managua Kölpinsee Lake Ioannina Schwarzer See Lake Inari Vuontisjärvi Lake Lugano Medeweger See Vaalajärvi Lake Brienz Lake Tegel Binnenbedijkte Maas Neumühler See Lake Ladoga Mälaren Gulf of Tadjoura Wular Lake Pfaffenteich Lake Victoria Ostorfer See Lake Como Lake Ilmen Maschsee Lake Fagnano Usken Landösjön Oneida Lake Große Karausche Shuswap Lake Vikajärvi Lake Apanás Ziegelsee Lake Orestiada Oulujärvi Burgsee Lankower See Heidensee Lake Garda Eemmeer IJ Dümmer See Lake Maggiore Buada Lagoon Fauler See Schweriner See Grimkesee Great Bear Lake IJmeer Lake Ohrid Lake Constance Vaattojärvi Großer Wannsee Mara Lake
64
action count
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type administrative territorial entity
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Ulvsundasjön
relation located next to body of water
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?a WHERE { VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?x rdf:type ?p } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:located_next_to_body_of_water resource:Ulvsundasjön . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?m > ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q918349
P206
Q337567 Q56061 Q15617994
USER
And also tell me about Lough Derg?
(c(Q56061)|c(Q15617994),P206,c(Q337567))
action count
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q56061
action find_reverse_tuple_counts
relation P206
type Q337567
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q918349
relation P206
type Q56061
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?n rdf:type ?p } GROUP BY ?g } . FILTER ( ?h > ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { { ?m rdf:type ontology:Q56061 } UNION { ?m rdf:type ontology:Q15617994 } } . ?m property:P206 resource:Q918349 } } }
Lough Derg
action count
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type administrative territorial entity
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Lough Derg
relation located next to body of water
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?n rdf:type ?p } GROUP BY ?g } . FILTER ( ?h > ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { { ?m rdf:type ontology:administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?m property:located_next_to_body_of_water resource:Lough_Derg } } }
[]
still waters administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q385678 Q213769 Q1062 Q24339867 Q5492 Q7362185 Q7371646 Q1882699 Q3058006 Q939766 Q24303992 Q272380 Q456377 Q776956 Q1296454 Q203137 Q12268925 Q14418 Q1247129 Q7362220 Q14442 Q697916 Q1923898 Q1689557 Q15288 Q184492 Q772806 Q744741 Q871192 Q5505 Q1622643 Q15523 Q203462 Q315045 Q1315570 Q10711199 Q180839 Q1247231 Q247082 Q1325911 Q24305783 Q3017786 Q80629 Q1419902 Q580019 Q778066 Q1805527 Q1594212 Q6414 Q1295357 Q338137 Q447947 Q14379 Q997345 Q1398428 Q311217 Q1546844 Q5525 Q1653947 Q156258 Q4127 Q24307100 Q3908364 Q6754501
(c(Q56061)|c(Q15617994),P206,c(Q337567))
action count
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q56061
action find_reverse_tuple_counts
relation P206
type Q337567
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q918349
relation P206
type Q56061
type Q15617994
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?n rdf:type ?p } GROUP BY ?g } . FILTER ( ?h > ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { { ?m rdf:type ontology:Q56061 } UNION { ?m rdf:type ontology:Q15617994 } } . ?m property:P206 resource:Q918349 } } }
Jyväsjärvi Päijänne Lake Ontario Äkäslompolo Lake Erie Kelontekemäjärvi Włocławek Reservoir Lake Machnow Zrebar Lake Markermeer Ylläsjärvi Lake Managua Kölpinsee Lake Ioannina Schwarzer See Lake Inari Vuontisjärvi Lake Lugano Medeweger See Vaalajärvi Lake Brienz Lake Tegel Binnenbedijkte Maas Neumühler See Lake Ladoga Mälaren Gulf of Tadjoura Wular Lake Pfaffenteich Lake Victoria Ostorfer See Lake Como Lake Ilmen Maschsee Lake Fagnano Usken Landösjön Oneida Lake Große Karausche Shuswap Lake Vikajärvi Lake Apanás Ziegelsee Lake Orestiada Oulujärvi Burgsee Lankower See Heidensee Lake Garda Eemmeer IJ Dümmer See Lake Maggiore Buada Lagoon Fauler See Schweriner See Grimkesee Great Bear Lake IJmeer Lake Ohrid Lake Constance Vaattojärvi Großer Wannsee Mara Lake
64
action count
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type administrative territorial entity
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Lough Derg
relation located next to body of water
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?n rdf:type ?p } GROUP BY ?g } . FILTER ( ?h > ?f ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { { ?m rdf:type ontology:administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?m property:located_next_to_body_of_water resource:Lough_Derg } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q790
P463
Q43229
USER
How many organizations were Haiti a member of ?
(Q790,P463,c(Q43229))
action count
action filter_type
action find
entity Q790
relation P463
type Q43229
['Q790', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q790 property:P463 ?e . ?e rdf:type ontology:Q43229 }
Haiti
action count
action filter_type
action find
entity Haiti
relation member of
type organization
['Haiti', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Haiti property:member_of ?e . ?e rdf:type ontology:organization }
[]
organization
SYSTEM
6
Q191384 Q899770 Q3772571 Q656801 Q7825 Q827525
(Q790,P463,c(Q43229))
action count
action filter_type
action find
entity Q790
relation P463
type Q43229
[ANSWER]
['Q790', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q790 property:P463 ?e . ?e rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Caribbean Development Bank International Finance Corporation World Trade Organization International Development Association
6
action count
action filter_type
action find
entity Haiti
relation member of
type organization
['Haiti', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Haiti property:member_of ?e . ?e rdf:type ontology:organization }
[]