Simple Question (Direct)
Simple Question
Q2054733
P54
Q12973014
USER
Which sports teams are Dmitry Kulagin a member of ?
(Q2054733,P54,c(Q12973014))
action filter_type
action find
entity Q2054733
relation P54
type Q12973014
['Q2054733', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q2054733 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Dmitry Kulagin
action filter_type
action find
entity Dmitry Kulagin
relation member of sports team
type sports team
['Dmitry Kulagin', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Dmitry_Kulagin property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q457376 Q384718
SYSTEM
PBC CSKA Moscow, B.C. Zenit Saint Petersburg
Q457376 Q384718
(Q2054733,P54,c(Q12973014))
action filter_type
action find
entity Q2054733
relation P54
type Q12973014
[ANSWERS] are Dmitry Kulagin a member of
['Q2054733', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q2054733 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
PBC CSKA Moscow B.C. Zenit Saint Petersburg
PBC CSKA Moscow and B.C. Zenit Saint Petersburg are Dmitry Kulagin a member of
PBC CSKA Moscow B.C. Zenit Saint Petersburg
action filter_type
action find
entity Dmitry Kulagin
relation member of sports team
type sports team
['Dmitry Kulagin', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Dmitry_Kulagin property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q457376
P641
Q349
USER
Which sport was PBC CSKA Moscow a part of ?
(Q457376,P641,c(Q349))
action filter_type
action find
entity Q457376
relation P641
type Q349
['Q457376', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q457376 property:P641 ?w }
PBC CSKA Moscow
action filter_type
action find
entity PBC CSKA Moscow
relation sport
type sport
['PBC CSKA Moscow', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:PBC_CSKA_Moscow property:sport ?w }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q457376,P641,c(Q349))
action filter_type
action find
entity Q457376
relation P641
type Q349
Which sport was PBC CSKA Moscow a part of
['Q457376', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q457376 property:P641 ?w }
basketball
Which sport was PBC CSKA Moscow a part of
basketball
action filter_type
action find
entity PBC CSKA Moscow
relation sport
type sport
['PBC CSKA Moscow', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:PBC_CSKA_Moscow property:sport ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1377810
Q349
USER
And also tell me about Tomas Nordahl?
(Q1377810,P641,c(Q349))
action filter_type
action find
entity Q1377810
relation P641
type Q349
['Q1377810', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q1377810 property:P641 ?n }
Tomas Nordahl
action filter_type
action find
entity Tomas Nordahl
relation sport
type sport
['Tomas Nordahl', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Tomas_Nordahl property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1377810,P641,c(Q349))
action filter_type
action find
entity Q1377810
relation P641
type Q349
[ANSWER]
['Q1377810', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q1377810 property:P641 ?n }
association football
association football
action filter_type
action find
entity Tomas Nordahl
relation sport
type sport
['Tomas Nordahl', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Tomas_Nordahl property:sport ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q2342494
USER
Which sports do greater number of organizations and collectables belong to than that sport ?
(c(Q43229)|c(Q2342494),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q43229
type Q2342494
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:P101 ?j . ?h rdf:type ontology:Q43229 . ?j rdf:type ontology:Q349 } UNION { ?h property:P101 ?j . ?h rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q349 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P101 resource:Q2736 . { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } } } } . FILTER ( ?o > ?d ) }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:field_of_work ?j . ?h rdf:type ontology:organization . ?j rdf:type ontology:sport } UNION { ?h property:field_of_work ?j . ?h rdf:type ontology:collectable . ?j rdf:type ontology:sport } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:field_of_work resource:association_football . { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:collectable ) ( ontology:organization ) } } } } . FILTER ( ?o > ?d ) }
[]
sport organization collectable
Q1109032 Q114466
SYSTEM
college football, mixed martial arts
Q1109032 Q114466
(c(Q43229)|c(Q2342494),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q43229
type Q2342494
[ANSWERS] greater number of organizations and collectables belong to than that sport
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:P101 ?j . ?h rdf:type ontology:Q43229 . ?j rdf:type ontology:Q349 } UNION { ?h property:P101 ?j . ?h rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q349 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P101 resource:Q2736 . { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } } } } . FILTER ( ?o > ?d ) }
college football mixed martial arts
College football and mixed martial arts greater number of organizations and collectables belong to than that sport
college football mixed martial arts
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:field_of_work ?j . ?h rdf:type ontology:organization . ?j rdf:type ontology:sport } UNION { ?h property:field_of_work ?j . ?h rdf:type ontology:collectable . ?j rdf:type ontology:sport } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:field_of_work resource:association_football . { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:collectable ) ( ontology:organization ) } } } } . FILTER ( ?o > ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q2235308 Q3084961
USER
Which sports are considered to be the main utilization of max number of ship types or product linings ?
(c(Q2235308)|c(Q3084961),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
[[{'concept': 'Q2235308'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?s WHERE { VALUES ( ?i ) { ( ontology:Q2235308 ) ( ontology:Q3084961 ) } . ?a rdf:type ?i } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) ?z WHERE { { ?l property:P366 ?z . ?z rdf:type ontology:Q349 . ?l rdf:type ontology:Q2235308 } UNION { ?l property:P366 ?z . ?z rdf:type ontology:Q349 . ?l rdf:type ontology:Q3084961 } } GROUP BY ?z } . FILTER ( ?q = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type product lining
[[{'concept': 'ship type'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?s WHERE { VALUES ( ?i ) { ( ontology:ship_type ) ( ontology:product_lining ) } . ?a rdf:type ?i } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) ?z WHERE { { ?l property:use ?z . ?z rdf:type ontology:sport . ?l rdf:type ontology:ship_type } UNION { ?l property:use ?z . ?z rdf:type ontology:sport . ?l rdf:type ontology:product_lining } } GROUP BY ?z } . FILTER ( ?q = ?u ) }
[]
sport ship type product lining
Q1875777 Q61065
SYSTEM
air racing, water sport
Q1875777 Q61065
(c(Q2235308)|c(Q3084961),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
The [ANSWERS] are considered to be the main utilization of max number of ship types or product linings
[[{'concept': 'Q2235308'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?s WHERE { VALUES ( ?i ) { ( ontology:Q2235308 ) ( ontology:Q3084961 ) } . ?a rdf:type ?i } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) ?z WHERE { { ?l property:P366 ?z . ?z rdf:type ontology:Q349 . ?l rdf:type ontology:Q2235308 } UNION { ?l property:P366 ?z . ?z rdf:type ontology:Q349 . ?l rdf:type ontology:Q3084961 } } GROUP BY ?z } . FILTER ( ?q = ?u ) }
air racing water sport
The air racing and water sport are considered to be the main utilization of max number of ship types or product linings
air racing water sport
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type product lining
[[{'concept': 'ship type'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?s WHERE { VALUES ( ?i ) { ( ontology:ship_type ) ( ontology:product_lining ) } . ?a rdf:type ?i } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) ?z WHERE { { ?l property:use ?z . ?z rdf:type ontology:sport . ?l rdf:type ontology:ship_type } UNION { ?l property:use ?z . ?z rdf:type ontology:sport . ?l rdf:type ontology:product_lining } } GROUP BY ?z } . FILTER ( ?q = ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13422623 Q1377810
P54
Q1194951
USER
Which national sports teams are Tomas Nordahl or Heini Vatnsdal a member of ?
OR((Q1377810,P54,c(Q1194951)), (Q13422623,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q1377810
relation P54
action find
entity Q13422623
relation P54
type Q1194951
{'OR': [['Q1377810', 'P54', {'concept': 'Q1194951'}], ['Q13422623', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1377810 property:P54 ?e } UNION { resource:Q13422623 property:P54 ?e } } . ?e rdf:type ontology:Q1194951 }
Heini Vatnsdal Tomas Nordahl
action filter_type
action union
action find
entity Tomas Nordahl
relation member of sports team
action find
entity Heini Vatnsdal
relation member of sports team
type national sports team
{'OR': [['Tomas Nordahl', 'member of sports team', {'concept': 'national sports team'}], ['Heini Vatnsdal', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Tomas_Nordahl property:member_of_sports_team ?e } UNION { resource:Heini_Vatnsdal property:member_of_sports_team ?e } } . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q200688 Q160826
SYSTEM
Faroe Islands national football team, Sweden national football team
Q200688 Q160826
OR((Q1377810,P54,c(Q1194951)), (Q13422623,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q1377810
relation P54
action find
entity Q13422623
relation P54
type Q1194951
[ANSWERS] are Tomas Nordahl or Heini Vatnsdal a member of
{'OR': [['Q1377810', 'P54', {'concept': 'Q1194951'}], ['Q13422623', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1377810 property:P54 ?e } UNION { resource:Q13422623 property:P54 ?e } } . ?e rdf:type ontology:Q1194951 }
Faroe Islands national football team Sweden national football team
Faroe Islands national football team and Sweden national football team are Tomas Nordahl or Heini Vatnsdal a member of
Faroe Islands national football team Sweden national football team
action filter_type
action union
action find
entity Tomas Nordahl
relation member of sports team
action find
entity Heini Vatnsdal
relation member of sports team
type national sports team
{'OR': [['Tomas Nordahl', 'member of sports team', {'concept': 'national sports team'}], ['Heini Vatnsdal', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Tomas_Nordahl property:member_of_sports_team ?e } UNION { resource:Heini_Vatnsdal property:member_of_sports_team ?e } } . ?e rdf:type ontology:national_sports_team }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P466
Q1194951 Q811979
USER
Which national sports teams are occupants of approximately the same number of architectural structures as that national sports team ?
(c(Q811979),P466,c(Q1194951))
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?z property:P466 ?y . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q1194951 }
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?z property:occupant ?y . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:national_sports_team }
[]
national sports team architectural structure
Comparative|More/Less|Single entity type|Clarification
Q160826
SYSTEM
Did you mean Sweden national football team ?
(c(Q811979),P466,c(Q1194951))
[ANSWER]
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?z property:P466 ?y . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q1194951 }
Did you mean Sweden national football team ?
Sweden national football team
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?z property:occupant ?y . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q811979),P466,c(Q1194951))
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
[]
Q166196 Q83459 Q42267
SYSTEM
Poland national football team, Brazil national football team, Spain national football team
Q270181 Q47233 Q212166 Q244374 Q271753 Q207441 Q189322 Q276076 Q223748 Q657451 Q180187 Q270973 Q318919 Q241353 Q869689 Q221093 Q257411 Q219854 Q255771 Q245153 Q134916 Q218167 Q180845 Q275940 Q242845 Q270666 Q486628 Q459101 Q235910 Q387812 Q318928 Q272097 Q185350 Q318922 Q333490 Q455413 Q170403 Q188791 Q326864 Q267245 Q387301 Q189948 Q166776 Q206350 Q270080 Q160826 Q459119 Q987584 Q386139 Q267972 Q189018 Q183326 Q328318 Q583626 Q543842 Q189275 Q244431 Q244728 Q497637 Q497630 Q170561 Q172025 Q172020 Q327100 Q200688 Q239520 Q186262 Q191406 Q172221 Q330148 Q275933 Q276089 Q191595 Q212206 Q235411 Q42267 Q270168 Q389097 Q166196 Q239549 Q330971 Q83459 Q211733 Q1478243 Q186276 Q192966 Q497989 Q164089 Q455123 Q188228 Q328295 Q387312 Q635433 Q163534 Q241670 Q184266 Q477067 Q365548 Q210460 Q131785 Q477304 Q275698 Q638166 Q729640 Q239555 Q180800 Q168397 Q235399 Q455131 Q47774 Q725543 Q477833 Q330039 Q189198 Q163547 Q876633 Q637831 Q627130 Q184602 Q327769 Q239405 Q1048054 Q483868 Q206830 Q244590 Q239528 Q79800 Q634290 Q47762 Q285708 Q186532 Q477647 Q232731 Q181930 Q275669 Q684531 Q208635 Q3954829 Q478339 Q189723 Q270689 Q319776 Q330125 Q239535
(c(Q811979),P466,c(Q1194951))
[ANSWERS] are occupants of approximately the same number of architectural structures as that national sports team
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?z property:P466 ?y . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q1194951 }
Gambia national football team Dominican Republic national football team Peru national football team Kyrgyzstan national football team Myanmar national football team Senegal national football team Latvia national football team Palestine national football team Panama national football team Indonesia national football team Honduras national football team Timor-Leste national football team American Samoa national football team Mongolia national football team Greenland national football team Lesotho national football team Ethiopia national football team Philippines national football team Equatorial Guinea national football team Niger national football team Uruguay national football team Federated States of Micronesia national football team Bulgaria national football team Jordan national football team Uganda national football team Grenada national football team Turkmenistan national football team Aruba national football team United Arab Emirates national football team Solomon Islands national football team Lebanon national football team Syria national football team San Marino national football team Malaysia national football team Swaziland national football team Belize national football team Ukraine national football team Cyprus national football team Yemen national football team Portugal national football team Liberia national football team Central African Republic national football team Belgium national football team Zambia national football team Congo DR national football team Sweden national football team Chinese Taipei national football team Ecuador national football team Tajikistan national football team Antigua and Barbuda national football team Montenegro national football team Armenia national football team Vanuatu national football team Gibraltar national association football team South Korea national football team Soviet Union national football team Bhutan national football team Tanzania national football team Comoros national football team Anguilla national football team Hungary national football team Chile national football team Paraguay national football team Zimbabwe national football team Faroe Islands national football team Kenya national football team Albania national football team Israel national football team Slovenia national football team Sierra Leone national football team Fiji national football team Libya national football team Togo national football team India national football team Guinea national football team Spain national football team Guatemala national football team Somalia national football team Poland national football team Thailand national football team Nepal national football team Brazil national football team Mali national football team Guernsey official association football team Lithuania national football team Afghanistan national football team Montserrat national football team Mexico national football team Guinea-Bissau national football team El Salvador national football team New Caledonia national football team Maldives national football team Jersey official association football team Austria national football team Bangladesh national football team Luxembourg national football team Mauritania national football team Malawi national football team Bahrain national football team Denmark national football team Madagascar national football team Djibouti national football team Seychelles national football team Curaçao national football team Brunei national football team Azerbaijan national football team Romania national football team Jamaica national football team Eritrea national football team France national football team Kiribati national football team Mauritius national football team Cape Verde national football team Iceland national football team Republic of Ireland national football team Niue national football team Saint Lucia national football team South Sudan men's national association football team Iran national football team Suriname national football team Tahiti national football team Sahrawi national football team Czech Republic national football team Oman national football team Bahamas national football team Singapore national football team Argentina national football team Nauru national soccer team England national football team Macau national football team Finland national football team Papua New Guinea national football team Qatar national football team Nigeria national football team Cook Islands national football team Sint Maarten national football team Canada national soccer team Nagorno-Karabakh national football team Sri Lanka national football team Saudi Arabia national football team Vietnam national football team Rwanda national football team Guyana national football team Benin national football team
Poland national football team, Brazil national football team and Spain national football team are occupants of approximately the same number of architectural structures as that national sports team
Poland national football team Brazil national football team Spain national football team
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?z property:occupant ?y . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q166196 Q83459 Q42267
P1344
Q15275719
USER
What recurring events did those national sports teams participate in ?
(Q166196,P1344,c(Q15275719)) (Q83459,P1344,c(Q15275719)) (Q42267,P1344,c(Q15275719))
action filter_type
action find
entity prev_answer
relation P1344
type Q15275719
['Q166196', 'P1344', {'concept': 'Q15275719'}] ['Q83459', 'P1344', {'concept': 'Q15275719'}] ['Q42267', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15275719 . ?y property:P1344 ?x . VALUES ( ?y ) { ( resource:Q270181 ) ( resource:Q47233 ) ( resource:Q212166 ) } }
Poland national football team Brazil national football team Spain national football team
action filter_type
action find
entity prev_answer
relation participant of
type recurring event
['Poland national football team', 'participant of', {'concept': 'recurring event'}] ['Brazil national football team', 'participant of', {'concept': 'recurring event'}] ['Spain national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:recurring_event . ?y property:participant_of ?x . VALUES ( ?y ) { ( resource:Gambia_national_football_team ) ( resource:Dominican_Republic_national_football_team ) ( resource:Peru_national_football_team ) } }
[]
recurring event
Q47735 Q47735 Q47735
SYSTEM
2002 FIFA World Cup
Q37285 Q166121 Q47735 Q46938 Q46943 Q131591 Q46934 Q176883 Q37285 Q132515 Q48432 Q132533 Q46938 Q131591 Q46934 Q166121 Q134202 Q1477177 Q132529 Q46943 Q132664 Q160813 Q101751 Q47735 Q131075 Q101730 Q79859 Q176883 Q37285 Q132515 Q101751 Q134202 Q1477177 Q132529 Q47735 Q46938 Q46943 Q160813 Q46934 Q101730 Q79859
(Q166196,P1344,c(Q15275719)) (Q83459,P1344,c(Q15275719)) (Q42267,P1344,c(Q15275719))
action filter_type
action find
entity prev_answer
relation P1344
type Q15275719
Those national sports teams participated in [ANSWER], [ANSWER] and [ANSWER]
['Q166196', 'P1344', {'concept': 'Q15275719'}] ['Q83459', 'P1344', {'concept': 'Q15275719'}] ['Q42267', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15275719 . ?y property:P1344 ?x . VALUES ( ?y ) { ( resource:Q270181 ) ( resource:Q47233 ) ( resource:Q212166 ) } }
2006 FIFA World Cup 1974 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup 2010 FIFA World Cup 2006 FIFA World Cup 1950 FIFA World Cup 1930 FIFA World Cup 1958 FIFA World Cup 1986 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup 1974 FIFA World Cup 1966 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 1978 FIFA World Cup 1970 FIFA World Cup 1962 FIFA World Cup 1994 FIFA World Cup 2002 FIFA World Cup 1954 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup 2010 FIFA World Cup 2006 FIFA World Cup 1950 FIFA World Cup 1994 FIFA World Cup 1966 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1962 FIFA World Cup 1982 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
Those national sports teams participated in 2002 FIFA World Cup, 2002 FIFA World Cup and 2002 FIFA World Cup
2002 FIFA World Cup 2002 FIFA World Cup 2002 FIFA World Cup
action filter_type
action find
entity prev_answer
relation participant of
type recurring event
['Poland national football team', 'participant of', {'concept': 'recurring event'}] ['Brazil national football team', 'participant of', {'concept': 'recurring event'}] ['Spain national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:recurring_event . ?y property:participant_of ?x . VALUES ( ?y ) { ( resource:Gambia_national_football_team ) ( resource:Dominican_Republic_national_football_team ) ( resource:Peru_national_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200688
P466
Q483110
USER
What are the stadia occupied by Faroe Islands national football team ?
(c(Q483110),P466,Q200688)
action filter_type
action find_reverse
entity Q200688
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q200688']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q200688 . ?r rdf:type ontology:Q483110 }
Faroe Islands national football team
action filter_type
action find_reverse
entity Faroe Islands national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Faroe Islands national football team']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:Faroe_Islands_national_football_team . ?r rdf:type ontology:stadium }
[]
stadium
Q845610 Q1060809
SYSTEM
Tórsvøllur, Svangaskarð
Q845610 Q1060809
(c(Q483110),P466,Q200688)
action filter_type
action find_reverse
entity Q200688
relation P466
type Q483110
The stadia occupied by Faroe Islands national football team are [ANSWERS]
[{'concept': 'Q483110'}, 'P466', 'Q200688']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q200688 . ?r rdf:type ontology:Q483110 }
Tórsvøllur Svangaskarð
The stadia occupied by Faroe Islands national football team are Tórsvøllur and Svangaskarð
Tórsvøllur Svangaskarð
action filter_type
action find_reverse
entity Faroe Islands national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Faroe Islands national football team']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:Faroe_Islands_national_football_team . ?r rdf:type ontology:stadium }
[]
Clarification
Simple Question|Single Entity|Indirect
Q845610
P17
Q15617994
USER
Which administrative territory is that stadium a part of ?
(Q845610,P17,c(Q15617994))
action filter_type
action find
entity Q845610
relation P17
type Q15617994
['Q845610', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q845610 property:P17 ?b }
Tórsvøllur
action filter_type
action find
entity Tórsvøllur
relation country
type designation for an administrative territorial entity
['Tórsvøllur', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tórsvøllur property:country ?b }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q845610
SYSTEM
Did you mean Tórsvøllur ?
Q845610 Q1060809
(Q845610,P17,c(Q15617994)) (Q1060809,P17,c(Q15617994))
[ANSWER]
['Q845610', 'P17', {'concept': 'Q15617994'}] ['Q1060809', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q845610 property:P17 ?b }
Tórsvøllur Svangaskarð
Did you mean Tórsvøllur ?
Tórsvøllur
['Tórsvøllur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Svangaskarð', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tórsvøllur property:country ?b }
[]
Simple Question (Coreferenced)
USER
Yes
(Q845610,P17,c(Q15617994))
['Q845610', 'P17', {'concept': 'Q15617994'}]
['Tórsvøllur', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q4628
SYSTEM
Faroe Islands
Q4628
(Q845610,P17,c(Q15617994))
action filter_type
action find
entity Q845610
relation P17
type Q15617994
[ANSWER] is that stadium a part of
['Q845610', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q845610 property:P17 ?b }
Faroe Islands
Faroe Islands is that stadium a part of
Faroe Islands
action filter_type
action find
entity Tórsvøllur
relation country
type designation for an administrative territorial entity
['Tórsvøllur', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tórsvøllur property:country ?b }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12675
P36
Q515 Q56061 Q15617994
USER
How many administrative territories contain greater number of cities and administrative territories as their capital than Oise ?
(c(Q15617994),P36,c(Q515)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q12675
relation P36
type Q515
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?r WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q12675 property:P36 ?k . { { ?k rdf:type ontology:Q515 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?l > ?e ) }
Oise
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Oise
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?r WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Oise property:capital ?k . { { ?k rdf:type ontology:city } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?l > ?e ) }
[]
city administrative territorial entity designation for an administrative territorial entity
SYSTEM
448
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q414 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q983 Q730 Q734 Q736 Q1280 Q1282 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q891165 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q3564819 Q3500767 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q833 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q174280 Q1232680 Q889 Q884 Q881 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q654849 Q1773268 Q30835 Q30831 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q199688 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q1948 Q30805 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q967 Q963 Q2921370 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q3240 Q2662372 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q1984191 Q30797 Q1904 Q228 Q3462133 Q30815 Q17 Q1429761 Q153402 Q3207 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q2565367 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q515)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q12675
relation P36
type Q515
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?r WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q12675 property:P36 ?k . { { ?k rdf:type ontology:Q515 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?l > ?e ) }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Argentina Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Ecuador Umbria Lazio John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Bojanala Platinum District Municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Hamadoni District Norak District Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Malaysia Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey Greece El Salvador Haiti Iraq Iran San Juan de Jinotega Ithaque Afghanistan South Korea Vietnam Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay Almohad United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud Saky municipality Fiji Mongolia Kiribati Venezuela Nord Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Manitoba Cairo Governorate iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Botswana Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Vose' District Mer-Égée Mymensingh District Principality of Polotsk Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Luxor Governorate Ontario Andorra Saxe-Coburg and Gotha South Sinai Governorate Japan Patuakhali District Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Vakhsh District Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
448
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Oise
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?r WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Oise property:capital ?k . { { ?k rdf:type ontology:city } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?l > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q72670
P36
Q515 Q56061 Q15617994
USER
And what about Batumi Oblast?
(c(Q15617994),P36,c(Q515)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q72670
relation P36
type Q515
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?c rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q72670 property:P36 ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q515 ) } } } } . FILTER ( ?k > ?a ) }
Batumi Oblast
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Batumi Oblast
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?c rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Batumi_Oblast property:capital ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } } } } . FILTER ( ?k > ?a ) }
[]
city administrative territorial entity designation for an administrative territorial entity
SYSTEM
14
Q252 Q258 Q155 Q1020 Q41 Q30 Q230 Q1033 Q199688 Q12536 Q517333 Q924 Q17 Q160307
(c(Q15617994),P36,c(Q515)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q72670
relation P36
type Q515
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?c rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q72670 property:P36 ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q515 ) } } } } . FILTER ( ?k > ?a ) }
Indonesia South Africa Brazil Malawi Greece United States of America Georgia Nigeria Almohad Abbasid caliphate Principality of Polotsk Tanzania Japan Fatimid caliphate
14
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Batumi Oblast
relation capital
type city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?c rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Batumi_Oblast property:capital ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } } } } . FILTER ( ?k > ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1656695 Q42267
P17
Q15617994
USER
Which administrative territories are Spain national football team or Carcasi located in ?
OR((Q42267,P17,c(Q15617994)), (Q1656695,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q42267
relation P17
action find
entity Q1656695
relation P17
type Q15617994
{'OR': [['Q42267', 'P17', {'concept': 'Q15617994'}], ['Q1656695', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?e property:P17 ?i . VALUES ( ?e ) { ( resource:Q42267 ) ( resource:Q1656695 ) } } . ?i rdf:type ontology:Q15617994 }
Carcasi Spain national football team
action filter_type
action union
action find
entity Spain national football team
relation country
action find
entity Carcasi
relation country
type designation for an administrative territorial entity
{'OR': [['Spain national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Carcasi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?e property:country ?i . VALUES ( ?e ) { ( resource:Spain_national_football_team ) ( resource:Carcasi ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q29
SYSTEM
Colombia, Spain
Q739 Q29
OR((Q42267,P17,c(Q15617994)), (Q1656695,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q42267
relation P17
action find
entity Q1656695
relation P17
type Q15617994
Spain national football team or Carcasi are located in [ANSWERS]
{'OR': [['Q42267', 'P17', {'concept': 'Q15617994'}], ['Q1656695', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?e property:P17 ?i . VALUES ( ?e ) { ( resource:Q42267 ) ( resource:Q1656695 ) } } . ?i rdf:type ontology:Q15617994 }
Colombia Spain
Spain national football team or Carcasi are located in Colombia and Spain
Colombia Spain
action filter_type
action union
action find
entity Spain national football team
relation country
action find
entity Carcasi
relation country
type designation for an administrative territorial entity
{'OR': [['Spain national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Carcasi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?e property:country ?i . VALUES ( ?e ) { ( resource:Spain_national_football_team ) ( resource:Carcasi ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q739 Q29
P47
Q15617994
USER
Who share the border with Colombia and Spain ?
(Q739,P47,c(Q15617994)) (Q29,P47,c(Q15617994))
action union
action filter_type
action find
entity Q739
relation P47
type Q15617994
action filter_type
action find
entity Q29
relation P47
type Q15617994
['Q739', 'P47', {'concept': 'Q15617994'}] ['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q15617994 . resource:Q739 property:P47 ?m } UNION { resource:Q29 property:P47 ?m . ?m rdf:type ontology:Q15617994 } }
Colombia Spain
action union
action filter_type
action find
entity Colombia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Colombia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colombia property:shares_border_with ?m } UNION { resource:Spain property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q142 Q45
SYSTEM
Brazil, France, Portugal
Q804 Q717 Q811 Q155 Q736 Q419 Q142 Q45 Q1028 Q1025 Q228
(Q739,P47,c(Q15617994)) (Q29,P47,c(Q15617994))
action union
action filter_type
action find
entity Q739
relation P47
type Q15617994
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWERS] share the border with Colombia and Spain
['Q739', 'P47', {'concept': 'Q15617994'}] ['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q15617994 . resource:Q739 property:P47 ?m } UNION { resource:Q29 property:P47 ?m . ?m rdf:type ontology:Q15617994 } }
Panama Venezuela Nicaragua Brazil Ecuador Peru France Portugal Morocco Mauritania Andorra
Brazil, France and Portugal share the border with Colombia and Spain
Brazil France Portugal
action union
action filter_type
action find
entity Colombia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Colombia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colombia property:shares_border_with ?m } UNION { resource:Spain property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]