Simple Question (Direct)
Simple Question
Q596241
P54
Q6979593
USER
What is Adrian Paluchowski a member of ?
(Q596241,P54,c(Q6979593))
action filter_type
action find
entity Q596241
relation P54
type Q6979593
['Q596241', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?p WHERE { resource:Q596241 property:P54 ?p . ?p rdf:type ontology:Q6979593 }
Adrian Paluchowski
action filter_type
action find
entity Adrian Paluchowski
relation member of sports team
type national association football team
['Adrian Paluchowski', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?p WHERE { resource:Adrian_Paluchowski property:member_of_sports_team ?p . ?p rdf:type ontology:national_association_football_team }
[]
national association football team
Q3073431
SYSTEM
Poland Olympic football team
Q3073431
(Q596241,P54,c(Q6979593))
action filter_type
action find
entity Q596241
relation P54
type Q6979593
Adrian Paluchowski a member of is the [ANSWER]
['Q596241', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?p WHERE { resource:Q596241 property:P54 ?p . ?p rdf:type ontology:Q6979593 }
Poland Olympic football team
Adrian Paluchowski a member of is the Poland Olympic football team
Poland Olympic football team
action filter_type
action find
entity Adrian Paluchowski
relation member of sports team
type national association football team
['Adrian Paluchowski', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?p WHERE { resource:Adrian_Paluchowski property:member_of_sports_team ?p . ?p rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3073431
P641
Q349
USER
Which sport was that national association football team a part of ?
(Q3073431,P641,c(Q349))
action filter_type
action find
entity Q3073431
relation P641
type Q349
['Q3073431', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q3073431 property:P641 ?r . ?r rdf:type ontology:Q349 }
Poland Olympic football team
action filter_type
action find
entity Poland Olympic football team
relation sport
type sport
['Poland Olympic football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Poland_Olympic_football_team property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3073431,P641,c(Q349))
action filter_type
action find
entity Q3073431
relation P641
type Q349
[ANSWER] was that national [ANSWER] team a part of
['Q3073431', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q3073431 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Association football was that national association football team a part of
association football
action filter_type
action find
entity Poland Olympic football team
relation sport
type sport
['Poland Olympic football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Poland_Olympic_football_team property:sport ?r . ?r rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1532
Q56061 Q15617994 Q6979593
USER
Which national association football teams represent max number of administrative territories or administrative territories ?
(c(Q6979593),P1532,c(Q56061)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q56061
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?q WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?q } . FILTER ( ?b = ?z ) }
action argmax
action union
action find_tuple_counts
relation country for sport
type national association football team
type administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?q WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?q } . FILTER ( ?b = ?z ) }
[]
administrative territorial entity designation for an administrative territorial entity national association football team
Q751994 Q916809 Q3073431
SYSTEM
Norway women's national football team, Haiti women's national football team, Poland Olympic football team
Q4140371 Q3277282 Q3277281 Q3590655 Q1093046 Q5100075 Q843165 Q3428524 Q16581705 Q255798 Q3066712 Q23887414 Q15991708 Q15880885 Q938177 Q2063760 Q3272573 Q577077 Q278971 Q7855446 Q3067093 Q6793706 Q16843318 Q2064317 Q1478384 Q1042928 Q1626798 Q1065284 Q661357 Q6793819 Q5066398 Q23892309 Q1478366 Q1812231 Q571275 Q6531372 Q16581702 Q6124259 Q4754571 Q528417 Q3590758 Q1943350 Q918209 Q3428565 Q1647271 Q16581743 Q16581740 Q15076848 Q934030 Q7089559 Q3073431 Q792326 Q16842384 Q7523234 Q2117671 Q7452824 Q1672395 Q15876770 Q3067051 Q1093016 Q937678 Q599923 Q776363 Q3277267 Q19577000 Q495350 Q4947365 Q997616 Q15991734 Q4947363 Q23013945 Q23013946 Q614931 Q1813717 Q1282236 Q6124262 Q1077259 Q3133778 Q3873972 Q3590236 Q841563 Q23013939 Q23013938 Q3873978 Q3590796 Q3590347 Q1813275 Q3590145 Q1187363 Q2650499 Q751670 Q2020313 Q19904685 Q18128942 Q21070795 Q3590231 Q5060298 Q6448933 Q16845544 Q916700 Q15982182 Q3590707 Q23887356 Q7567721 Q334526 Q268070 Q3043286 Q3043280 Q16581733 Q851535 Q646896 Q1449066 Q5519622 Q23882681 Q18639832 Q3590363 Q1385152 Q1138723 Q756037 Q19870626 Q847476 Q1411396 Q1887246 Q1726461 Q245919 Q1478379 Q3590516 Q20992029 Q505805 Q3589637 Q6544054 Q3067424 Q916809 Q3590749 Q620771 Q18603713 Q1365053 Q650731 Q831395 Q20994327 Q238861 Q7893547 Q15014205 Q987926 Q7032859 Q7586013 Q7568582 Q2530197 Q1886981 Q7414852 Q3067161 Q1197887 Q23887364 Q7567717 Q1093060 Q3067045 Q933074 Q3277091 Q15076828 Q6726164 Q18128271 Q2051510 Q7713069 Q4996156 Q23883003 Q7676833 Q1813705 Q877411 Q4179395 Q16581729 Q2240578 Q5035121 Q468417 Q1632873 Q117869 Q7901448 Q3873965 Q3873966 Q839723 Q1136312 Q19576999 Q4978957 Q1418509 Q23013936 Q8065697 Q8065696 Q15872987 Q23013889 Q7559177 Q1810721 Q3590478 Q23501509 Q3439920 Q3277219 Q3277193 Q16581723 Q16581726 Q751994 Q3277211 Q261405 Q1295317 Q3590609 Q7806952 Q1481307 Q1478411 Q1093037 Q15011618 Q1743437 Q7458964 Q13892297 Q257422 Q253688 Q649464 Q1813730 Q19577239 Q23892328 Q2036930 Q2520066 Q916273 Q2642190 Q1830925 Q3590215 Q7633354 Q726066 Q1225631 Q1471011 Q23013382 Q6392841 Q6392840 Q1811072 Q847623 Q16734195 Q23905215 Q966256 Q11251662 Q23887374 Q1544423 Q937655 Q16581711 Q1192223 Q3067079 Q511521 Q17496232 Q15991652 Q388232 Q7383740 Q1514765 Q16629980 Q941100 Q16581674 Q16581679 Q8052110 Q7427104 Q32970 Q16838619 Q757014 Q23013912 Q23013911 Q17068766 Q3428907 Q3428900 Q542109 Q2913263 Q1077282 Q1055369 Q6067941 Q4534660 Q2475519 Q775805 Q606853 Q15076840 Q2384857 Q899189 Q3440016 Q847121 Q3066726 Q18639681 Q17583342 Q21070794 Q21070796 Q16858573 Q3590610 Q11304772 Q16843260 Q6019729 Q18412001 Q23848752 Q633286 Q1552940 Q2300435 Q7893550 Q1671357 Q1813724 Q17307141 Q834051 Q23892330 Q1064587 Q5025136 Q3589953 Q3589950 Q1627340 Q1683282 Q385115 Q19048 Q602457 Q891377 Q4902258 Q645918 Q5401510
(c(Q6979593),P1532,c(Q56061)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q56061
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
[ANSWERS] represent max number of administrative territories or administrative territories
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?q WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?q } . FILTER ( ?b = ?z ) }
Turkey national youth football team Barbados women's national football team Dominica women's national football team Costa Rica Olympic football team Republic of Ireland women's national football team China women's national under-20 football team Iceland women's national football team Kyrgyzstan women's national football team North Korea Olympic football team Equatorial Guinea women's national football team Zambia women's national football team Senegal Olympic football team Ghana women's national under-17 football team Portugal women's national under-17 football team Ghana women's national football team Thailand women's national football team Indonesia women's national football team Czech Republic women's national football team Venezuela women's national football team Turkmenistan women's national football team Botswana women's national football team Mauritania women's national football team Libya women's national football team Peru women's national football team Congo women's national football team India women's national football team Honduras women's national football team Latvia women's national football team Switzerland women's national football team Mauritius women's national football team Chad women's national football team Iran Olympic football team United States Virgin Islands women's national soccer team Dominican Republic women's national football team Guyana women's national football team Lesotho women's national under-20 team Colombia Olympic football team Mexico women's national under-17 football team Andorra women's national football team Macedonia women's national football team Portugal Olympic football team Moldova women's national football team Great Britain women's Olympic association football team United Arab Emirates women's national football team Samoa women's national association football team El Salvador Olympic football team Cuba Olympic football team Belgium women's national under-17 football team Albania women's national football team Oman women's national football team Poland Olympic football team Belgium women's national football team Northern Ireland national Junior football team Singapore national under-22 football team Tonga women's national football team Serbia women's national under-19 football team Iran women's national football team Italy women's national under-17 football team Malawi women's national football team Slovakia women's national football team Turkey women's national football team Mexico women's national football team Senegal women's national football team Saint Lucia women's national football team Croatia women's national under-19 football team South Korea women's national association football team Bosnia and Herzegovina women's national under-19 football team Belarus women's national football team North Korea women's national under-17 football team Bosnia and Herzegovina women's national under-17 football team Vanuatu women's national under-17 football team Vanuatu women's national under-20 football team Slovenia women's national football team Guinea women's national football team Ecuador women's national football team Mexico women's national under-20 football team Poland women's national football team Bahrain women's national football team Venezuela Olympic football team Guinea-Bissau women's national football team Netherlands women's national football team Colombia women's national under-20 football team Jordan women's national under-17 football team Norway Olympic football team Togo women's national football team Czech Republic Olympic football team Guam women's national football team France women's national under-17 football team Malta women's national football team Nepal women's national football team France women's national football team Swaziland women's national football team Zambian women football team Turkey women's national under-17 football team Haiti women's national under-20 football team Greece Olympic football team Central African Republic women's national football team Kuwait women's national football team Brazil women's national under-20 football team Portugal women's national football team Sweden women's national under-19 football team Mali Olympic football team Cameroon Olympic football team South Korea women's national under-20 football team United States women's national soccer team Armenia women's national football team Mozambique women's national football team Benin women's national football team Turkey Olympic football team Uzbekistan women's national football team Tanzania women's national football team Tunisia women's national football team Gambia women's national football team Iraq Olympic football team Turkey women's national under-21 football team Serbia Olympic football team Turkey women's national under-19 football team Colombia women's national football team China women's national football team Albania women's national under-19 football team Ukraine women's national football team Fiji women's national football team Puerto Rico women's national football team Switzerland Olympic football team Cyprus women's national football team DR Congo women's national football team Comoros women's national football team Myanmar women's national under-20 football team Panama women's national football team South Africa Olympic football team Liechtenstein women's national football team Sierra Leone women's national football team Haiti women's national football team Paraguay Olympic football team Faroe Islands women's national football team Israel women's national under-19 football team Vanuatu women's national football team Georgia women's national football team Russia women's national football team Venezuela women's national under-20 football team Singapore women's national football team United States women's national under-17 soccer team Paraguay women's national under-17 football team China Olympic football team Nigeria women's national under-20 football team Sri Lanka women's national football team South Sudan women's national football team Belgium Olympic football team Suriname women's national football team San Marino women's national football team Niger women's national football team South Africa women's national association football team Ghana Olympic football team South Korea women's national under-17 football team Lithuania women's national football team Kenya women's national football team Philippines women's national football team Afghanistan women's national football team Iceland women's national under-17 football team Madagascar women's national football team Spain women's national under-19 football team Paraguay women's national football team Tuvalu women's national football team Bulgaria Olympic football team Nigeria Olympic football team Tajikistan women's national football team Eritrea women's national football team Great Britain Olympic football team Russia women's national under-19 football team Thailand Olympic football team Surinam Olympic football team Cape Verde women's national football team American Samoa women's national association football team Montenegro women's national association football team Azerbaijan women's national football team Uruguay women's national under-17 football team United States Olympic football team Chile Olympic football team North Korea women's national football team Costa Rica women's national football team Croatia women's national under-17 football team Brunei women's national football team South-Korea olympic football team Colombia women's national under-17 football team Zambia women's national under-20 football team Zambia women's national under-17 football team Belgium women's national under-19 football team Spain women's national under-20 football team Somalia women's national football team Morocco women's national football team Tunisia Olympic football team Argentina women's national under-17 football team Laos women's national football team Pakistan women's national football team Belize women's national football team Romania Olympic football team Sweden Olympic football team Norway women's national football team Maldives women's national football team Chile women's national football team New Caledonia women's national football team Burkina Faso women's national football team Timor-Leste women's national football team Spain national Olympic football team Trinidad and Tobago women's national football team Luxembourg women's national football team Venezuela women's national under-17 football team Kiribati women's national football team Seychelles women's national football team Sweden women's national under-17 football team Ethiopia women's national football team Egypt women's national football team Northern Ireland women's national football team El Salvador women's national football team Lithuania women's national under-17 football team Oman national under-23 football team Vietnam women's national football team Netherlands Olympic football team Greece women's national football team São Tomé and Príncipe women's national football team Belarus Olympic football team France Olympic football team Sudan women's national football team Sweden women's national association football team Algeria women's national football team Mali women's national football team Brazil women's national under-17 football team Kenya women's national under-20 football team Kenya women's national under-17 football team Lebanon women's national football team Spain women's national football team Ghana women's national under-20 football team Peru women's national under-17 football team Serbia women's national football team Japan women's national under-17 football team Morocco Olympic football team Ivory Coast women's national football team Kazakhstan women's national football team Finnland Olympic football team Malaysia women's national football team Uganda women's national football team Bosnia and Herzegovina women's national football team North Korea women's national under-20 football team Nigeria women's national under-17 football team Japan women's national football team Rwanda women's national football team Myanmar women's national football team Spain women's national under-17 football team Cuba women's national football team Guatemala Olympic football team Peru Olympic football team Yemen women's national football team Saudi Arabia women's national football team France women's national under-19 football team El Salvador women's national under-17 football team Brazil women's national football team Thailand women's national under-20 football team Thailand women's national under-17 football team Tonga women's national under-20 football team Bangladesh women's national football team Syria women's national football team Angola women's national football team Italy national under-23 football team Romania women's national football team Croatia women's national football team Iraq women's national football team France national youth football team Zimbabwe women's national football team Italy women's national football team Nigeria women's national football team Switzerland women's national under-17 football team Uruguay Olympic football team Brazil Olympic football team Jordan women's national football team Finland women's national football team Lesotho women's national football team Romania women's national under-17 football team Russia women's national under-17 football team Haiti women's national under-17 football team Haiti women's national under-23 football team Paraguay women's national under-20 football team Burundi women's national football team Northern Mariana Islands women's national football team Lesotho women's national under-17 team India women's national under-19 football team Ghana national football team United Arab Emirates olympic football team Cameroon women's national association football team Guatemala women's national football team Uruguay women's national football team United States women's national under-23 soccer team United States women's national under-20 soccer team Liberia women's national football team Finland women's national under-20 football team Bulgaria women's national football team Syria Olympic football team Israel women's national football team Cambodia women's national football team Djibouti women's national football team Ivory Coast Olympic football team Nicaragua women's national football team Japan women's national under-20 football team Namibia women's national football team Hungary women's national football team Estonia women's national football team Bolivia women's national football team Bhutan women's national football team Argentina women's national football team Estonia national youth football team
Norway women's national football team, Haiti women's national football team and Poland Olympic football team represent max number of administrative territories or administrative territories
Norway women's national football team Haiti women's national football team Poland Olympic football team
action argmax
action union
action find_tuple_counts
relation country for sport
type national association football team
type administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) ?q WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?q } . FILTER ( ?b = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q25230
P1532
Q56061 Q6979593
USER
Which administrative territories did greater number of national association football teams play for than Guernsey ?
(c(Q6979593),P1532,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P1532
type Q56061
type Q6979593
action count
action filter_type
action find
entity Q25230
relation P1532
type Q56061
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1532 ?s . ?s rdf:type ontology:Q56061 . ?w rdf:type ontology:Q6979593 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q25230 property:P1532 ?d . ?d rdf:type ontology:Q56061 } } . FILTER ( ?x > ?g ) }
Guernsey
action greater
action find_reverse_tuple_counts
relation country for sport
type administrative territorial entity
type national association football team
action count
action filter_type
action find
entity Guernsey
relation country for sport
type administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:country_for_sport ?s . ?s rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:national_association_football_team } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Guernsey property:country_for_sport ?d . ?d rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?x > ?g ) }
[]
administrative territorial entity national association football team
Q334 Q16635 Q11703
SYSTEM
Singapore, Guam, United States Virgin Islands
Q16644 Q1183 Q16641 Q11703 Q334 Q16635 Q26
(c(Q6979593),P1532,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P1532
type Q56061
type Q6979593
action count
action filter_type
action find
entity Q25230
relation P1532
type Q56061
[ANSWERS] greater number of national association football teams played for than Guernsey
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1532 ?s . ?s rdf:type ontology:Q56061 . ?w rdf:type ontology:Q6979593 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q25230 property:P1532 ?d . ?d rdf:type ontology:Q56061 } } . FILTER ( ?x > ?g ) }
Northern Mariana Islands Puerto Rico American Samoa United States Virgin Islands Singapore Guam Northern Ireland
Singapore, Guam and United States Virgin Islands greater number of national association football teams played for than Guernsey
Singapore Guam United States Virgin Islands
action greater
action find_reverse_tuple_counts
relation country for sport
type administrative territorial entity
type national association football team
action count
action filter_type
action find
entity Guernsey
relation country for sport
type administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:country_for_sport ?s . ?s rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:national_association_football_team } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Guernsey property:country_for_sport ?d . ?d rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?x > ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of approximately 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?f ) WHERE { ?d rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q56061 . ?d property:P532 ?l } GROUP BY ?d } . FILTER ( ?f = 2 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?f ) WHERE { ?d rdf:type ontology:ship_type . ?l rdf:type ontology:administrative_territorial_entity . ?d property:port_of_registry ?l } GROUP BY ?d } . FILTER ( ?f = 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] are the registry port of approximately 2 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?f ) WHERE { ?d rdf:type ontology:Q2235308 . ?l rdf:type ontology:Q56061 . ?d property:P532 ?l } GROUP BY ?d } . FILTER ( ?f = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste are the registry port of approximately 2 administrative territories
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?f ) WHERE { ?d rdf:type ontology:ship_type . ?l rdf:type ontology:administrative_territorial_entity . ?d property:port_of_registry ?l } GROUP BY ?d } . FILTER ( ?f = 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33209
P1071
Q56061
USER
Where is the final place of assembly for that ship type situated ?
(Q33209,P1071,c(Q56061))
action filter_type
action find
entity Q33209
relation P1071
type Q56061
['Q33209', 'P1071', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q33209 property:P1071 ?a . ?a rdf:type ontology:Q56061 }
Mary Celeste
action filter_type
action find
entity Mary Celeste
relation location of final assembly
type administrative territorial entity
['Mary Celeste', 'location of final assembly', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mary_Celeste property:location_of_final_assembly ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q33209
SYSTEM
Did you mean Mary Celeste ?
Q2596850 Q468026 Q33209
(Q2596850,P1071,c(Q56061)) (Q468026,P1071,c(Q56061)) (Q33209,P1071,c(Q56061))
[ANSWER]
['Q2596850', 'P1071', {'concept': 'Q56061'}] ['Q468026', 'P1071', {'concept': 'Q56061'}] ['Q33209', 'P1071', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q33209 property:P1071 ?a . ?a rdf:type ontology:Q56061 }
MS Azura SS Maxim Gorkiy Mary Celeste
Did you mean Mary Celeste ?
Mary Celeste
['MS Azura', 'location of final assembly', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'location of final assembly', {'concept': 'administrative territorial entity'}] ['Mary Celeste', 'location of final assembly', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mary_Celeste property:location_of_final_assembly ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q33209,P1071,c(Q56061))
['Q33209', 'P1071', {'concept': 'Q56061'}]
['Mary Celeste', 'location of final assembly', {'concept': 'administrative territorial entity'}]
[]
Q14875773
SYSTEM
Spencer's Island
Q14875773
(Q33209,P1071,c(Q56061))
action filter_type
action find
entity Q33209
relation P1071
type Q56061
Is the final place of assembly for that ship type situated at [ANSWER]
['Q33209', 'P1071', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q33209 property:P1071 ?a . ?a rdf:type ontology:Q56061 }
Spencer's Island
Is the final place of assembly for that ship type situated at Spencer's Island
Spencer's Island
action filter_type
action find
entity Mary Celeste
relation location of final assembly
type administrative territorial entity
['Mary Celeste', 'location of final assembly', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mary_Celeste property:location_of_final_assembly ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that administrative territory situated in ?
(Q14875773,P17,c(Q1048835))
action count
action filter_type
action find
entity Q14875773
relation P17
type Q1048835
['Q14875773', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q14875773 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Spencer's Island
relation country
type political territorial entity
["Spencer's Island", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Spencer's_Island property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q16
(Q14875773,P17,c(Q1048835))
action count
action filter_type
action find
entity Q14875773
relation P17
type Q1048835
[ANSWER]
['Q14875773', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q14875773 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Canada
1
action count
action filter_type
action find
entity Spencer's Island
relation country
type political territorial entity
["Spencer's Island", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Spencer's_Island property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334
P47
Q15617994
USER
Who share the border with Singapore ?
(Q334,P47,c(Q15617994))
action filter_type
action find
entity Q334
relation P47
type Q15617994
['Q334', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q334 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Singapore
action filter_type
action find
entity Singapore
relation shares border with
type designation for an administrative territorial entity
['Singapore', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Singapore property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q252
SYSTEM
Malaysia, Indonesia
Q833 Q252
(Q334,P47,c(Q15617994))
action filter_type
action find
entity Q334
relation P47
type Q15617994
[ANSWERS] share the border with Singapore
['Q334', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q334 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Malaysia Indonesia
Malaysia and Indonesia share the border with Singapore
Malaysia Indonesia
action filter_type
action find
entity Singapore
relation shares border with
type designation for an administrative territorial entity
['Singapore', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Singapore property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]