Simple Question (Direct)
Simple Question
Q2094717
P1344
Q15275719
USER
What did William Sunsing participate in ?
(Q2094717,P1344,c(Q15275719))
action filter_type
action find
entity Q2094717
relation P1344
type Q15275719
['Q2094717', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?j WHERE { resource:Q2094717 property:P1344 ?j . ?j rdf:type ontology:Q15275719 }
William Sunsing
action filter_type
action find
entity William Sunsing
relation participant of
type recurring event
['William Sunsing', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?j WHERE { resource:William_Sunsing property:participant_of ?j . ?j rdf:type ontology:recurring_event }
[]
recurring event
Q47735
SYSTEM
2002 FIFA World Cup
Q47735
(Q2094717,P1344,c(Q15275719))
action filter_type
action find
entity Q2094717
relation P1344
type Q15275719
William Sunsing participated in [ANSWER]
['Q2094717', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?j WHERE { resource:Q2094717 property:P1344 ?j . ?j rdf:type ontology:Q15275719 }
2002 FIFA World Cup
William Sunsing participated in 2002 FIFA World Cup
2002 FIFA World Cup
action filter_type
action find
entity William Sunsing
relation participant of
type recurring event
['William Sunsing', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?j WHERE { resource:William_Sunsing property:participant_of ?j . ?j rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2094717
P54
Q1194951
USER
What is that person a member of ?
(Q47735,P54,c(Q1194951))
action filter_type
action find
entity Q2094717
relation P54
type Q1194951
['Q47735', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1194951 . resource:Q2094717 property:P54 ?p }
William Sunsing
action filter_type
action find
entity William Sunsing
relation member of sports team
type national sports team
['2002 FIFA World Cup', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_sports_team . resource:William_Sunsing property:member_of_sports_team ?p }
[]
national sports team
Q194387
SYSTEM
Costa Rica national football team
Q194387
(Q47735,P54,c(Q1194951))
action filter_type
action find
entity Q2094717
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q47735', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1194951 . resource:Q2094717 property:P54 ?p }
Costa Rica national football team
That person a member of is the Costa Rica national football team
Costa Rica national football team
action filter_type
action find
entity William Sunsing
relation member of sports team
type national sports team
['2002 FIFA World Cup', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_sports_team . resource:William_Sunsing property:member_of_sports_team ?p }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams competed in approximately 7 sport competitions and recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 7
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?r WHERE { { ?s property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?s rdf:type ontology:Q15275719 } UNION { ?s property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?s rdf:type ontology:Q13406554 } } GROUP BY ?r } . FILTER ( ?t = 7 ) }
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 7
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?r WHERE { { ?s property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?s rdf:type ontology:recurring_event } UNION { ?s property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?s rdf:type ontology:sport_competition } } GROUP BY ?r } . FILTER ( ?t = 7 ) }
[]
national sports team sport competition recurring event
Q166196 Q47050 Q164134
SYSTEM
Poland national football team, Netherlands national football team, United States men's national soccer team
Q170327 Q212166 Q34044 Q174512 Q193386 Q172014 Q180187 Q188228 Q190978 Q212564 Q180845 Q987584 Q180857 Q543842 Q726080 Q27971 Q170403 Q172025 Q172020 Q170566 Q268208 Q175315 Q186262 Q194387 Q172221 Q175145 Q134479 Q47050 Q181903 Q189275 Q166196 Q175309 Q207337 Q163534 Q188363 Q131785 Q184387 Q168397 Q235399 Q483856 Q189198 Q28089 Q163547 Q236006 Q182072 Q184602 Q164134 Q14132 Q483868 Q181930 Q189723 Q134925
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 7
[ANSWERS] competed in approximately 7 sport competitions and recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?r WHERE { { ?s property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?s rdf:type ontology:Q15275719 } UNION { ?s property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?s rdf:type ontology:Q13406554 } } GROUP BY ?r } . FILTER ( ?t = 7 ) }
South Africa national football team Peru national football team Scotland national football team Slovakia national football team Bolivia national football team Ghana national football team Honduras national football team El Salvador national football team Northern Ireland national football team Colombia national football team Bulgaria national football team Ecuador national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Albania national football team Costa Rica national football team Slovenia national football team Ivory Coast national football team Croatia national football team Netherlands national football team Algeria national football team Soviet Union national football team Poland national football team Cameroon national football team Morocco national football team Austria national football team Yugoslavia national football team Denmark national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team Czechoslovakia national football team Iran national football team United States men's national soccer team North Korea national football team Czech Republic national football team Nigeria national football team Saudi Arabia national football team Greece national football team
Poland national football team, Netherlands national football team and United States men's national soccer team competed in approximately 7 sport competitions and recurring events
Poland national football team Netherlands national football team United States men's national soccer team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 7
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?r WHERE { { ?s property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?s rdf:type ontology:recurring_event } UNION { ?s property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?s rdf:type ontology:sport_competition } } GROUP BY ?r } . FILTER ( ?t = 7 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P466
Q1194951 Q811430 Q811979
USER
How many national sports teams are an occupants of around the same number of constructions and architectural structures as that national sports team ?
(c(Q811430)|c(Q811979),P466,c(Q1194951))
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q385378 . ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q811979 }
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:construction . ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:architectural_structure }
[]
national sports team construction architectural structure
Comparative|Count over More/Less|Mult. entity type|Clarification
Q47050
SYSTEM
Did you mean Netherlands national football team ?
(c(Q811430)|c(Q811979),P466,c(Q1194951))
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q385378 . ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q811979 }
Did you mean Netherlands national football team ?
Netherlands national football team
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:construction . ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Poland national football team. Could you tell me the answer for that?
(c(Q811430)|c(Q811979),P466,c(Q1194951))
Q166196
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q1194951'}]
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'national sports team'}]
[]
SYSTEM
135
Q270181 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 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 Q164089 Q455123 Q188228 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 Q627130 Q184602 Q327769 Q1048054 Q483868 Q206830 Q244590 Q239528 Q79800 Q634290 Q47762 Q186532 Q477647 Q232731 Q181930 Q275669 Q3954829 Q478339 Q189723 Q270689 Q319776 Q330125 Q239535
(c(Q811430)|c(Q811979),P466,c(Q1194951))
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q385378 . ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q811979 }
Gambia 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 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 Mexico national football team Guinea-Bissau national football team El Salvador 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 South Sudan men's national association football team Iran national football team Suriname 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 Finland national football team Papua New Guinea national football team Qatar national football team Nigeria national football team Cook Islands national football 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
135
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:construction . ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194387
P641
Q349
USER
What was the sport that Costa Rica national football team was a part of ?
(Q194387,P641,c(Q349))
action filter_type
action find
entity Q194387
relation P641
type Q349
['Q194387', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q194387 property:P641 ?k . ?k rdf:type ontology:Q349 }
Costa Rica national football team
action filter_type
action find
entity Costa Rica national football team
relation sport
type sport
['Costa Rica national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Costa_Rica_national_football_team property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q194387,P641,c(Q349))
action filter_type
action find
entity Q194387
relation P641
type Q349
The sport that Costa Rica national football team was a part of was in [ANSWER]
['Q194387', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q194387 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
The sport that Costa Rica national football team was a part of was in association football
association football
action filter_type
action find
entity Costa Rica national football team
relation sport
type sport
['Costa Rica national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Costa_Rica_national_football_team property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2978523
Q349
USER
And how about Claudio Beauvue?
(Q2978523,P641,c(Q349))
action filter_type
action find
entity Q2978523
relation P641
type Q349
['Q2978523', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q2978523 property:P641 ?c }
Claudio Beauvue
action filter_type
action find
entity Claudio Beauvue
relation sport
type sport
['Claudio Beauvue', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Claudio_Beauvue property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2978523,P641,c(Q349))
action filter_type
action find
entity Q2978523
relation P641
type Q349
[ANSWER]
['Q2978523', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q2978523 property:P641 ?c }
association football
association football
action filter_type
action find
entity Claudio Beauvue
relation sport
type sport
['Claudio Beauvue', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Claudio_Beauvue property:sport ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2978523
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q2978523
relation P19
type Q20667921
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q2978523 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Claudio Beauvue
action filter_type
action find
entity Claudio Beauvue
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Claudio_Beauvue property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q996400
SYSTEM
Saint-Claude
Q996400
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q2978523
relation P19
type Q20667921
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q2978523 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Saint-Claude
That person was born in Saint-Claude
Saint-Claude
action filter_type
action find
entity Claudio Beauvue
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Claudio_Beauvue property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q996400
P1376
Q20667921
USER
Which french administrative division has that one has its first city ?
(Q996400,P1376,c(Q20667921))
action filter_type
action find
entity Q996400
relation P1376
type Q20667921
['Q996400', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q996400 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
Saint-Claude
action filter_type
action find
entity Saint-Claude
relation capital of
type type of french administrative division
['Saint-Claude', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Saint-Claude property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q679205
SYSTEM
canton of Saint-Claude
Q679205
(Q996400,P1376,c(Q20667921))
action filter_type
action find
entity Q996400
relation P1376
type Q20667921
The [ANSWER] has that one has its first city
['Q996400', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q996400 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
canton of Saint-Claude
The canton of Saint-Claude has that one has its first city
canton of Saint-Claude
action filter_type
action find
entity Saint-Claude
relation capital of
type type of french administrative division
['Saint-Claude', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Saint-Claude property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15633606 Q2094717
P27
Q15617994
USER
Which administrative territories are William Sunsing or Bondie Dietaiuti an inhabitant of ?
OR((Q2094717,P27,c(Q15617994)), (Q15633606,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2094717
relation P27
action find
entity Q15633606
relation P27
type Q15617994
{'OR': [['Q2094717', 'P27', {'concept': 'Q15617994'}], ['Q15633606', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2094717 property:P27 ?p } UNION { resource:Q15633606 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Bondie Dietaiuti William Sunsing
action filter_type
action union
action find
entity William Sunsing
relation country of citizenship
action find
entity Bondie Dietaiuti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William Sunsing', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bondie Dietaiuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:William_Sunsing property:country_of_citizenship ?p } UNION { resource:Bondie_Dietaiuti property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q800
SYSTEM
Italy, Costa Rica
Q38 Q800
OR((Q2094717,P27,c(Q15617994)), (Q15633606,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2094717
relation P27
action find
entity Q15633606
relation P27
type Q15617994
[ANSWERS] are William Sunsing or Bondie Dietaiuti an inhabitant of
{'OR': [['Q2094717', 'P27', {'concept': 'Q15617994'}], ['Q15633606', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2094717 property:P27 ?p } UNION { resource:Q15633606 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Italy Costa Rica
Italy and Costa Rica are William Sunsing or Bondie Dietaiuti an inhabitant of
Italy Costa Rica
action filter_type
action union
action find
entity William Sunsing
relation country of citizenship
action find
entity Bondie Dietaiuti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William Sunsing', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bondie Dietaiuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:William_Sunsing property:country_of_citizenship ?p } UNION { resource:Bondie_Dietaiuti property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q56061 Q20667921 Q15617994
USER
How many administrative territories are exactly 4 administrative territories and french administrative divisions the capital of ?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 4
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?c ) WHERE { { ?y rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q20667921 . ?y property:P36 ?i } UNION { ?y property:P36 ?i . ?y rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q56061 } } GROUP BY ?y } . FILTER ( ?c = 4 ) }
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?c ) WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:type_of_french_administrative_division . ?y property:capital ?i } UNION { ?y property:capital ?i . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:administrative_territorial_entity } } GROUP BY ?y } . FILTER ( ?c = 4 ) }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
SYSTEM
1
Q12789
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?c ) WHERE { { ?y rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q20667921 . ?y property:P36 ?i } UNION { ?y property:P36 ?i . ?y rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q56061 } } GROUP BY ?y } . FILTER ( ?c = 4 ) }
Var
1
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?c ) WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:type_of_french_administrative_division . ?y property:capital ?i } UNION { ?y property:capital ?i . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:administrative_territorial_entity } } GROUP BY ?y } . FILTER ( ?c = 4 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1625249 Q15633606
P27
Q15617994
USER
Which administrative territories are Bondie Dietaiuti or Severino Bottero a civilian of ?
OR((Q15633606,P27,c(Q15617994)), (Q1625249,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15633606
relation P27
action find
entity Q1625249
relation P27
type Q15617994
{'OR': [['Q15633606', 'P27', {'concept': 'Q15617994'}], ['Q1625249', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?l property:P27 ?e . VALUES ( ?l ) { ( resource:Q15633606 ) ( resource:Q1625249 ) } } . ?e rdf:type ontology:Q15617994 }
Severino Bottero Bondie Dietaiuti
action filter_type
action union
action find
entity Bondie Dietaiuti
relation country of citizenship
action find
entity Severino Bottero
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bondie Dietaiuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Severino Bottero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?l property:country_of_citizenship ?e . VALUES ( ?l ) { ( resource:Bondie_Dietaiuti ) ( resource:Severino_Bottero ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
OR((Q15633606,P27,c(Q15617994)), (Q1625249,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15633606
relation P27
action find
entity Q1625249
relation P27
type Q15617994
[ANSWER] is Bondie Dietaiuti or Severino Bottero a civilian of
{'OR': [['Q15633606', 'P27', {'concept': 'Q15617994'}], ['Q1625249', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?l property:P27 ?e . VALUES ( ?l ) { ( resource:Q15633606 ) ( resource:Q1625249 ) } } . ?e rdf:type ontology:Q15617994 }
Italy
Italy is Bondie Dietaiuti or Severino Bottero a civilian of
Italy
action filter_type
action union
action find
entity Bondie Dietaiuti
relation country of citizenship
action find
entity Severino Bottero
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bondie Dietaiuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Severino Bottero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?l property:country_of_citizenship ?e . VALUES ( ?l ) { ( resource:Bondie_Dietaiuti ) ( resource:Severino_Bottero ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q881
P530
Q15617994
USER
Does Vietnam have diplomatic relationships with Italy ?
(Q38,P530,Q881)
action is_in
entity Q881
action find
entity Q38
relation P530
['Q38', 'P530', 'Q881']
ASK WHERE { resource:Q38 property:P530 resource:Q881 }
Italy Vietnam
action is_in
entity Vietnam
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Vietnam']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Vietnam }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q881)
action is_in
entity Q881
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q881']
ASK WHERE { resource:Q38 property:P530 resource:Q881 }
Yes
action is_in
entity Vietnam
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Vietnam']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Vietnam }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q667939 Q166196
P1344
Q15275719
USER
Which recurring events did Poland national football team or Sergio Daniel Martínez take part in ?
OR((Q166196,P1344,c(Q15275719)), (Q667939,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q166196
relation P1344
action find
entity Q667939
relation P1344
type Q15275719
{'OR': [['Q166196', 'P1344', {'concept': 'Q15275719'}], ['Q667939', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q166196 property:P1344 ?w } UNION { resource:Q667939 property:P1344 ?w } } . ?w rdf:type ontology:Q15275719 }
Sergio Daniel Martínez Poland national football team
action filter_type
action union
action find
entity Poland national football team
relation participant of
action find
entity Sergio Daniel Martínez
relation participant of
type recurring event
{'OR': [['Poland national football team', 'participant of', {'concept': 'recurring event'}], ['Sergio Daniel Martínez', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Poland_national_football_team property:participant_of ?w } UNION { resource:Sergio_Daniel_Martínez property:participant_of ?w } } . ?w rdf:type ontology:recurring_event }
[]
recurring event
Q37285 Q166121 Q132529 Q47735 Q46938 Q46943 Q131591 Q46934
SYSTEM
2006 FIFA World Cup, 1974 FIFA World Cup, 1990 FIFA World Cup, 2002 FIFA World Cup, 1986 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup, 1982 FIFA World Cup
Q37285 Q166121 Q132529 Q47735 Q46938 Q46943 Q131591 Q46934
OR((Q166196,P1344,c(Q15275719)), (Q667939,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q166196
relation P1344
action find
entity Q667939
relation P1344
type Q15275719
Poland national football team or Sergio Daniel Martínez took part in the [ANSWERS]
{'OR': [['Q166196', 'P1344', {'concept': 'Q15275719'}], ['Q667939', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q166196 property:P1344 ?w } UNION { resource:Q667939 property:P1344 ?w } } . ?w rdf:type ontology:Q15275719 }
2006 FIFA World Cup 1974 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
Poland national football team or Sergio Daniel Martínez took part in the 2006 FIFA World Cup, 1974 FIFA World Cup, 1990 FIFA World Cup, 2002 FIFA World Cup, 1986 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup and 1982 FIFA World Cup
2006 FIFA World Cup 1974 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
action filter_type
action union
action find
entity Poland national football team
relation participant of
action find
entity Sergio Daniel Martínez
relation participant of
type recurring event
{'OR': [['Poland national football team', 'participant of', {'concept': 'recurring event'}], ['Sergio Daniel Martínez', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Poland_national_football_team property:participant_of ?w } UNION { resource:Sergio_Daniel_Martínez property:participant_of ?w } } . ?w rdf:type ontology:recurring_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q132529
P276
Q483110
USER
Where are that recurring event situated ?
(Q132529,P276,c(Q483110))
action filter_type
action find
entity Q132529
relation P276
type Q483110
['Q132529', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?b WHERE { resource:Q132529 property:P276 ?b . ?b rdf:type ontology:Q483110 }
1990 FIFA World Cup
action filter_type
action find
entity 1990 FIFA World Cup
relation location
type stadium
['1990 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?b WHERE { resource:1990_FIFA_World_Cup property:location ?b . ?b rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q46934
SYSTEM
Did you mean 1982 FIFA World Cup ?
Q37285 Q166121 Q132529 Q47735 Q46938 Q46943 Q131591 Q46934
(Q37285,P276,c(Q483110)) (Q166121,P276,c(Q483110)) (Q132529,P276,c(Q483110)) (Q47735,P276,c(Q483110)) (Q46938,P276,c(Q483110)) (Q46943,P276,c(Q483110)) (Q131591,P276,c(Q483110)) (Q46934,P276,c(Q483110))
[ANSWER]
['Q37285', 'P276', {'concept': 'Q483110'}] ['Q166121', 'P276', {'concept': 'Q483110'}] ['Q132529', 'P276', {'concept': 'Q483110'}] ['Q47735', 'P276', {'concept': 'Q483110'}] ['Q46938', 'P276', {'concept': 'Q483110'}] ['Q46943', 'P276', {'concept': 'Q483110'}] ['Q131591', 'P276', {'concept': 'Q483110'}] ['Q46934', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?b WHERE { resource:Q132529 property:P276 ?b . ?b rdf:type ontology:Q483110 }
2006 FIFA World Cup 1974 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
Did you mean 1982 FIFA World Cup ?
1982 FIFA World Cup
['2006 FIFA World Cup', 'location', {'concept': 'stadium'}] ['1974 FIFA World Cup', 'location', {'concept': 'stadium'}] ['1990 FIFA World Cup', 'location', {'concept': 'stadium'}] ['2002 FIFA World Cup', 'location', {'concept': 'stadium'}] ['1986 FIFA World Cup', 'location', {'concept': 'stadium'}] ['1978 FIFA World Cup', 'location', {'concept': 'stadium'}] ['1938 FIFA World Cup', 'location', {'concept': 'stadium'}] ['1982 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?b WHERE { resource:1990_FIFA_World_Cup property:location ?b . ?b rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
No, I meant 1990 FIFA World Cup. Could you tell me the answer for that?
(Q132529,P276,c(Q483110))
Q132529
['Q132529', 'P276', {'concept': 'Q483110'}]
['1990 FIFA World Cup', 'location', {'concept': 'stadium'}]
[]
Q757182 Q28500 Q133566
SYSTEM
Stadio Renato Dall'Ara, Stadio Renzo Barbera, Stadio Giuseppe Meazza
Q754200 Q28500 Q640031 Q737093 Q757182 Q133566 Q328698 Q215493 Q271568
(Q132529,P276,c(Q483110))
action filter_type
action find
entity Q132529
relation P276
type Q483110
That recurring event are situated in [ANSWERS]
['Q132529', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?b WHERE { resource:Q132529 property:P276 ?b . ?b rdf:type ontology:Q483110 }
Stadio Sant'Elia Stadio Renzo Barbera Stadio Friuli Stadio Marc'Antonio Bentegodi Stadio Renato Dall'Ara Stadio Giuseppe Meazza Stadio San Nicola Stadio delle Alpi Stadio Luigi Ferraris
That recurring event are situated in Stadio Renato Dall'Ara, Stadio Renzo Barbera and Stadio Giuseppe Meazza
Stadio Renato Dall'Ara Stadio Renzo Barbera Stadio Giuseppe Meazza
action filter_type
action find
entity 1990 FIFA World Cup
relation location
type stadium
['1990 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?b WHERE { resource:1990_FIFA_World_Cup property:location ?b . ?b rdf:type ontology:stadium }
[]