Simple Question (Direct)
Simple Question
Q6873808
P641
Q349
USER
What was the sport that Miro Katić was a part of ?
(Q6873808,P641,c(Q349))
action filter_type
action find
entity Q6873808
relation P641
type Q349
['Q6873808', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q6873808 property:P641 ?t . ?t rdf:type ontology:Q349 }
Miro Katić
action filter_type
action find
entity Miro Katić
relation sport
type sport
['Miro Katić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Miro_Katić property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6873808,P641,c(Q349))
action filter_type
action find
entity Q6873808
relation P641
type Q349
The sport that Miro Katić was a part of was the [ANSWER]
['Q6873808', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q6873808 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
The sport that Miro Katić was a part of was the association football
association football
action filter_type
action find
entity Miro Katić
relation sport
type sport
['Miro Katić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Miro_Katić property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6873808
P54
Q1194951
USER
Which national sports team is Miro Katić a member of ?
(Q6873808,P54,c(Q1194951))
action filter_type
action find
entity Q6873808
relation P54
type Q1194951
['Q6873808', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1194951 . resource:Q6873808 property:P54 ?y }
Miro Katić
action filter_type
action find
entity Miro Katić
relation member of sports team
type national sports team
['Miro Katić', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:national_sports_team . resource:Miro_Katić property:member_of_sports_team ?y }
[]
national sports team
Q181190
SYSTEM
Bosnia and Herzegovina national football team
Q181190
(Q6873808,P54,c(Q1194951))
action filter_type
action find
entity Q6873808
relation P54
type Q1194951
The [ANSWER] is Miro Katić a member of
['Q6873808', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1194951 . resource:Q6873808 property:P54 ?y }
Bosnia and Herzegovina national football team
The Bosnia and Herzegovina national football team is Miro Katić a member of
Bosnia and Herzegovina national football team
action filter_type
action find
entity Miro Katić
relation member of sports team
type national sports team
['Miro Katić', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:national_sports_team . resource:Miro_Katić property:member_of_sports_team ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6873808
P21
Q290
USER
Which sex does that person have ?
(Q181190,P21,c(Q290))
action filter_type
action find
entity Q6873808
relation P21
type Q290
['Q181190', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6873808 property:P21 ?t . ?t rdf:type ontology:Q290 }
Miro Katić
action filter_type
action find
entity Miro Katić
relation gender
type sex
['Bosnia and Herzegovina national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Miro_Katić property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q181190,P21,c(Q290))
action filter_type
action find
entity Q6873808
relation P21
type Q290
That person has a [ANSWER]
['Q181190', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6873808 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Miro Katić
relation gender
type sex
['Bosnia and Herzegovina national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Miro_Katić property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7180410 Q6873808
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Miro Katić or Phan Thanh Hai ?
OR((Q6873808,P27,c(Q15617994)), (Q7180410,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6873808
relation P27
action find
entity Q7180410
relation P27
type Q15617994
{'OR': [['Q6873808', 'P27', {'concept': 'Q15617994'}], ['Q7180410', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Q6873808 ) ( resource:Q7180410 ) } . ?c property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Phan Thanh Hai Miro Katić
action filter_type
action union
action find
entity Miro Katić
relation country of citizenship
action find
entity Phan Thanh Hai
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Miro Katić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Phan Thanh Hai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Miro_Katić ) ( resource:Phan_Thanh_Hai ) } . ?c property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225 Q881
SYSTEM
Bosnia and Herzegovina, Vietnam
Q225 Q881
OR((Q6873808,P27,c(Q15617994)), (Q7180410,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6873808
relation P27
action find
entity Q7180410
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Miro Katić or Phan Thanh Hai
{'OR': [['Q6873808', 'P27', {'concept': 'Q15617994'}], ['Q7180410', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Q6873808 ) ( resource:Q7180410 ) } . ?c property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Bosnia and Herzegovina Vietnam
Bosnia and Herzegovina and Vietnam are the countries of citizenship of Miro Katić or Phan Thanh Hai
Bosnia and Herzegovina Vietnam
action filter_type
action union
action find
entity Miro Katić
relation country of citizenship
action find
entity Phan Thanh Hai
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Miro Katić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Phan Thanh Hai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?c ) { ( resource:Miro_Katić ) ( resource:Phan_Thanh_Hai ) } . ?c property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21130165
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams participated in approximately the same number of recurring events or sport competitions as Scotland national quidditch team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q21130165
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1923 resource:Q21130165 . { { ?a rdf:type ontology:Q15275719 } UNION { ?a rdf:type ontology:Q13406554 } } } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { { ?z rdf:type ontology:Q13406554 . ?q rdf:type ontology:Q1194951 . ?z property:P1923 ?q } UNION { ?z property:P1923 ?q . ?q rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q15275719 } } GROUP BY ?q } }
Scotland national quidditch team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Scotland national quidditch team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:participating_teams resource:Scotland_national_quidditch_team . { { ?a rdf:type ontology:recurring_event } UNION { ?a rdf:type ontology:sport_competition } } } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { { ?z rdf:type ontology:sport_competition . ?q rdf:type ontology:national_sports_team . ?z property:participating_teams ?q } UNION { ?z property:participating_teams ?q . ?q rdf:type ontology:national_sports_team . ?z rdf:type ontology:recurring_event } } GROUP BY ?q } }
[]
national sports team recurring event sport competition
Q131785 Q184387 Q184602
SYSTEM
Denmark national football team, Norway national football team, Iran national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q21130160 Q236014 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q1131732 Q192828 Q270080 Q182740 Q27971 Q170403 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q191595 Q21130170 Q181903 Q152424 Q207337 Q181190 Q186243 Q131785 Q184387 Q235399 Q483856 Q189198 Q28089 Q236006 Q721418 Q184602 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q21130165
relation P1923
type Q15275719
type Q13406554
[ANSWERS] participated in approximately the same number of recurring events or sport competitions as Scotland national quidditch team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1923 resource:Q21130165 . { { ?a rdf:type ontology:Q15275719 } UNION { ?a rdf:type ontology:Q13406554 } } } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { { ?z rdf:type ontology:Q13406554 . ?q rdf:type ontology:Q1194951 . ?z property:P1923 ?q } UNION { ?z property:P1923 ?q . ?q rdf:type ontology:Q1194951 . ?z rdf:type ontology:Q15275719 } } GROUP BY ?q } }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia national football team Slovakia national football team Transylvania national quidditch team Bolivia national football team Ghana national football team Panama national football team Honduras national football team El Salvador national football team England national quidditch team Cuba national football team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team United Arab Emirates national football team Ecuador national football team Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Tunisia national football team Ukraine national football team Japan national football team Australia national association football team New Zealand national football team Venezuela national football team Albania national football team Costa Rica national football team Israel national football team Slovenia national football team Ivory Coast national football team Togo national football team Peru national quidditch team Algeria national football team East Germany national football team Morocco national football team Bosnia and Herzegovina national football team Iraq national football team Denmark national football team Norway national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Haiti national football team CIS national football team Iran national football team Trinidad and Tobago national football team North Korea national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Czech Republic national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
Denmark national football team, Norway national football team and Iran national football team participated in approximately the same number of recurring events or sport competitions as Scotland national quidditch team
Denmark national football team Norway national football team Iran national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Scotland national quidditch team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:participating_teams resource:Scotland_national_quidditch_team . { { ?a rdf:type ontology:recurring_event } UNION { ?a rdf:type ontology:sport_competition } } } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { { ?z rdf:type ontology:sport_competition . ?q rdf:type ontology:national_sports_team . ?z property:participating_teams ?q } UNION { ?z property:participating_teams ?q . ?q rdf:type ontology:national_sports_team . ?z rdf:type ontology:recurring_event } } GROUP BY ?q } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20974206 Q6873808
P19
Q13220204
USER
Which administrative country subdivisions were Miro Katić or Stefan Panić born in ?
OR((Q6873808,P19,c(Q13220204)), (Q20974206,P19,c(Q13220204)))
action filter_type
action union
action find
entity Q6873808
relation P19
action find
entity Q20974206
relation P19
type Q13220204
{'OR': [['Q6873808', 'P19', {'concept': 'Q13220204'}], ['Q20974206', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Q6873808 ) ( resource:Q20974206 ) } . ?u property:P19 ?o } . ?o rdf:type ontology:Q13220204 }
Stefan Panić Miro Katić
action filter_type
action union
action find
entity Miro Katić
relation place of birth
action find
entity Stefan Panić
relation place of birth
type second-level administrative country subdivision
{'OR': [['Miro Katić', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Stefan Panić', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Miro_Katić ) ( resource:Stefan_Panić ) } . ?u property:place_of_birth ?o } . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1663 Q991072
SYSTEM
Split, Topola
Q1663 Q991072
OR((Q6873808,P19,c(Q13220204)), (Q20974206,P19,c(Q13220204)))
action filter_type
action union
action find
entity Q6873808
relation P19
action find
entity Q20974206
relation P19
type Q13220204
[ANSWERS]
{'OR': [['Q6873808', 'P19', {'concept': 'Q13220204'}], ['Q20974206', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Q6873808 ) ( resource:Q20974206 ) } . ?u property:P19 ?o } . ?o rdf:type ontology:Q13220204 }
Split Topola
Which administrative country subdivisions were Miro Katić or Stefan Panić born in
Split Topola
action filter_type
action union
action find
entity Miro Katić
relation place of birth
action find
entity Stefan Panić
relation place of birth
type second-level administrative country subdivision
{'OR': [['Miro Katić', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Stefan Panić', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Miro_Katić ) ( resource:Stefan_Panić ) } . ?u property:place_of_birth ?o } . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q13220204 Q515
USER
How many cities are the county seat for exactly 1 administrative country subdivision ?
(c(Q515),P1376,c(Q13220204))
action count
action equal
action find_tuple_counts
relation P1376
type Q515
type Q13220204
value 1
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:Q515 . ?j rdf:type ontology:Q13220204 . ?g property:P1376 ?j } GROUP BY ?g } . FILTER ( ?n = 1 ) }
action count
action equal
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
value 1
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:city . ?j rdf:type ontology:second-level_administrative_country_subdivision . ?g property:capital_of ?j } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
second-level administrative country subdivision city
SYSTEM
18
Q496667 Q23482 Q505208 Q117676 Q305640 Q6807568 Q714628 Q177149 Q271000 Q271917 Q83247 Q3768 Q693264 Q6582 Q502205 Q456 Q267894 Q7003
(c(Q515),P1376,c(Q13220204))
action count
action equal
action find_tuple_counts
relation P1376
type Q515
type Q13220204
value 1
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:Q515 . ?j rdf:type ontology:Q13220204 . ?g property:P1376 ?j } GROUP BY ?g } . FILTER ( ?n = 1 ) }
Muroran Marseille Ouarzazate Viseu Abashiri Emmen Rumoi Obihiro Bouaké Kushiro Braga Yamoussoukro Iwamizawa Carcassonne Nemuro Lyon Wakkanai Dijon
18
action count
action equal
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
value 1
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:city . ?j rdf:type ontology:second-level_administrative_country_subdivision . ?g property:capital_of ?j } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1663
P159
Q7210356 Q43229
USER
How many political organizations or organizations have the principal seat at Split ?
(c(Q7210356),P159,Q1663) (c(Q43229),P159,Q1663)
action count
action union
action filter_type
action find_reverse
entity Q1663
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q1663
relation P159
type Q43229
[{'concept': 'Q7210356'}, 'P159', 'Q1663'] [{'concept': 'Q43229'}, 'P159', 'Q1663']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:P159 resource:Q1663 . ?v rdf:type ontology:Q7210356 } UNION { ?v property:P159 resource:Q1663 . ?v rdf:type ontology:Q43229 } }
Split
action count
action union
action filter_type
action find_reverse
entity Split
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Split
relation headquarters location
type organization
[{'concept': 'political organization'}, 'headquarters location', 'Split'] [{'concept': 'organization'}, 'headquarters location', 'Split']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:headquarters_location resource:Split . ?v rdf:type ontology:political_organization } UNION { ?v property:headquarters_location resource:Split . ?v rdf:type ontology:organization } }
[]
political organization organization
SYSTEM
5
Q7205180 Q2311854 Q19609400 Q1563417 Q924701
(c(Q7210356),P159,Q1663) (c(Q43229),P159,Q1663)
action count
action union
action filter_type
action find_reverse
entity Q1663
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q1663
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q7210356'}, 'P159', 'Q1663'] [{'concept': 'Q43229'}, 'P159', 'Q1663']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:P159 resource:Q1663 . ?v rdf:type ontology:Q7210356 } UNION { ?v property:P159 resource:Q1663 . ?v rdf:type ontology:Q43229 } }
Plovput Splitska banka Rišpet Croatian Civic Party Brodosplit
5
action count
action union
action filter_type
action find_reverse
entity Split
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Split
relation headquarters location
type organization
[{'concept': 'political organization'}, 'headquarters location', 'Split'] [{'concept': 'organization'}, 'headquarters location', 'Split']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:headquarters_location resource:Split . ?v rdf:type ontology:political_organization } UNION { ?v property:headquarters_location resource:Split . ?v rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9628253 Q7180410
P27
Q15617994
USER
Which administrative territories are the native countriesof Phan Thanh Hai or Argentina Maciel ?
OR((Q7180410,P27,c(Q15617994)), (Q9628253,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7180410
relation P27
action find
entity Q9628253
relation P27
type Q15617994
{'OR': [['Q7180410', 'P27', {'concept': 'Q15617994'}], ['Q9628253', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?o property:P27 ?g . VALUES ( ?o ) { ( resource:Q7180410 ) ( resource:Q9628253 ) } } . ?g rdf:type ontology:Q15617994 }
Argentina Maciel Phan Thanh Hai
action filter_type
action union
action find
entity Phan Thanh Hai
relation country of citizenship
action find
entity Argentina Maciel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Phan Thanh Hai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Argentina Maciel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?o property:country_of_citizenship ?g . VALUES ( ?o ) { ( resource:Phan_Thanh_Hai ) ( resource:Argentina_Maciel ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q881
SYSTEM
Brazil, Vietnam
Q155 Q881
OR((Q7180410,P27,c(Q15617994)), (Q9628253,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7180410
relation P27
action find
entity Q9628253
relation P27
type Q15617994
[ANSWERS] are the native countriesof Phan Thanh Hai or Argentina Maciel
{'OR': [['Q7180410', 'P27', {'concept': 'Q15617994'}], ['Q9628253', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?o property:P27 ?g . VALUES ( ?o ) { ( resource:Q7180410 ) ( resource:Q9628253 ) } } . ?g rdf:type ontology:Q15617994 }
Brazil Vietnam
Brazil and Vietnam are the native countriesof Phan Thanh Hai or Argentina Maciel
Brazil Vietnam
action filter_type
action union
action find
entity Phan Thanh Hai
relation country of citizenship
action find
entity Argentina Maciel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Phan Thanh Hai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Argentina Maciel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?o property:country_of_citizenship ?g . VALUES ( ?o ) { ( resource:Phan_Thanh_Hai ) ( resource:Argentina_Maciel ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q881
P36
Q515
USER
Which cities are called the capital of those administrative territories ?
(Q155,P36,c(Q515)) (Q881,P36,c(Q515))
action filter_type
action find
entity prev_answer
relation P36
type Q515
['Q155', 'P36', {'concept': 'Q515'}] ['Q881', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q515 . VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q881 ) } . ?l property:P36 ?d }
Brazil Vietnam
action filter_type
action find
entity prev_answer
relation capital
type city
['Brazil', 'capital', {'concept': 'city'}] ['Vietnam', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:city . VALUES ( ?l ) { ( resource:Brazil ) ( resource:Vietnam ) } . ?l property:capital ?d }
[]
city
Q2844 Q1858
SYSTEM
Brasília, Hanoi
Q2844 Q1858
(Q155,P36,c(Q515)) (Q881,P36,c(Q515))
action filter_type
action find
entity prev_answer
relation P36
type Q515
[ANSWERS] are called the capital of those administrative territories
['Q155', 'P36', {'concept': 'Q515'}] ['Q881', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q515 . VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q881 ) } . ?l property:P36 ?d }
Brasília Hanoi
Brasília and Hanoi are called the capital of those administrative territories
Brasília Hanoi
action filter_type
action find
entity prev_answer
relation capital
type city
['Brazil', 'capital', {'concept': 'city'}] ['Vietnam', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:city . VALUES ( ?l ) { ( resource:Brazil ) ( resource:Vietnam ) } . ?l property:capital ?d }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2844 Q1858
P20
Q502895
USER
Which people have those cities as place of death ?
(c(Q502895),P20,Q2844) (c(Q502895),P20,Q1858)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q2844'] [{'concept': 'Q502895'}, 'P20', 'Q1858']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Q2844 ) ( resource:Q1858 ) } . ?f property:P20 ?h . ?f rdf:type ontology:Q502895 }
Brasília Hanoi
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Brasília'] [{'concept': 'common name'}, 'place of death', 'Hanoi']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Brasília ) ( resource:Hanoi ) } . ?f property:place_of_death ?h . ?f rdf:type ontology:common_name }
[]
common name
Q735370 Q36014 Q21093966
SYSTEM
Paul Bert, Ho Chi Minh, Victor Goloubew
Q27643357 Q10305370 Q9696795 Q1929085 Q1165735 Q152534 Q2466823 Q9608866 Q1709536 Q1398888 Q139552 Q6278180 Q1676647 Q12054707 Q3439728 Q9587016 Q7109990 Q3059091 Q1103858 Q1510081 Q1669447 Q14781867 Q519771 Q2522028 Q1690761 Q10269034 Q273264 Q1195391 Q983839 Q2861960 Q3383348 Q1010526 Q1706367 Q3206845 Q1036300 Q21093966 Q3365133 Q439381 Q7022871 Q3084204 Q7833329 Q724117 Q94204 Q1306742 Q16158354 Q967516 Q1441510 Q1926906 Q3904309 Q716945 Q22704274 Q7833314 Q358051 Q233969 Q3557606 Q36014 Q10829617 Q466001 Q26270191 Q10779923 Q460906 Q6706064 Q1085482 Q496924 Q1611010 Q705869 Q1111882 Q700516 Q179910 Q1354825 Q5374602 Q705695 Q3121126 Q10828651 Q10840294 Q716481 Q1156054 Q12792048 Q18115707 Q10831190 Q5438634 Q714138 Q1001807 Q5925781 Q739795 Q6673021 Q10768859 Q597965 Q10843033 Q7833326 Q10801081 Q3188438 Q545539 Q6480717 Q735370 Q10799024 Q2543899 Q724317 Q10771955 Q712473 Q967468 Q536946 Q1155852
(c(Q502895),P20,Q2844) (c(Q502895),P20,Q1858)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] have those cities as place of death
[{'concept': 'Q502895'}, 'P20', 'Q2844'] [{'concept': 'Q502895'}, 'P20', 'Q1858']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Q2844 ) ( resource:Q1858 ) } . ?f property:P20 ?h . ?f rdf:type ontology:Q502895 }
Salim Miguel Jarbas Passarinho Carlos Alberto Brilhante Ustra Valdir Azevedo Darcy Ribeiro Alfredo Stroessner Vladimír Hrivnák Aluísio Napoleão de Freitas Rego José Newton de Almeida Baptista Wilhelm Techmeier Clodovil Hernandes Jorge Kalume Ubiratan Pereira Maciel Slavomír Stračár Rogério Duarte Afonso Brazza Ottomar Pinto Estácio Gonçalves Souto Maior Cláudio Santoro Geraldo do Espírito Santo Ávila Luis Fernando Castillo Mendez Anésia Pinheiro Machado Sarah Kubitschek Vicente Ângelo José Marchetti Zioni Joan Lowell Dulcina de Moraes Tancredo Neves Lê Lợi Nguyen Huu Tho Armand Rousseau Pierre-Marie Gendreau Khuc Hao Joseph-Marie Trịnh Văn Căn Tran Van Tra Xuan Dieu Victor Goloubew Nguyen Huu An Le Dac Trong Nguyen Manh Tuong François Chaize Tran Tu Binh Nguyễn Đình Thi Trần Lập Hoang Minh Chinh Phạm Bằng Hoang Cam Francis Garnier Henri Rivière Pietro Trương Văn Thi Ly Thai To Léon Vermeersch Tran Quoc Khang Pham Van Dong Le Duc Tho Victor Tardieu Ho Chi Minh Trần Văn Quang Le Duan Jules Bobillot Kim Lân Madeleine Colani Luu Trong Lu Pham Ngu Lao Andrew Dung-Lac Vu Trong Phung Ly Anh Tong Le Van Huu Van Tien Dung Vo Nguyen Giap Trinh Nhu Khue Empress Thuan Thien Tran Tu Khanh Gustave Borgnis-Desbordes Trúc Khê Đoàn Khuê Duong Nhat Le Trần Thị Dung Janez Krstnik Mesar Noël Peri Tô hoài Jacinto Castañeda Pham Dinh Tung Khuc Thua Du Le Trong Tan Nguyen Van Linh Nguyễn Công Hoan Hoài Thanh Théophane Vénard Y Lan Tran Thua Nhượng Tống Jean Stanislas Jules Boissière Truong Chinh Lam Uyen Nhi Paul Bert Nguyen Co Thach Albert Schlicklin Ton Duc Thang Hồ Dzếnh Tran Thu Do Nguyễn Văn Cao Benjamin Balansa Học Phi
Paul Bert, Ho Chi Minh and Victor Goloubew have those cities as place of death
Paul Bert Ho Chi Minh Victor Goloubew
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Brasília'] [{'concept': 'common name'}, 'place of death', 'Hanoi']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Brasília ) ( resource:Hanoi ) } . ?f property:place_of_death ?h . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q735370 Q36014 Q21093966
P106
Q12737077
USER
What are the professions of those people ?
(Q735370,P106,c(Q12737077)) (Q36014,P106,c(Q12737077)) (Q21093966,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q735370', 'P106', {'concept': 'Q12737077'}] ['Q36014', 'P106', {'concept': 'Q12737077'}] ['Q21093966', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?d property:P106 ?z . ?z rdf:type ontology:Q12737077 . VALUES ( ?d ) { ( resource:Q27643357 ) ( resource:Q10305370 ) ( resource:Q9696795 ) } }
Paul Bert Ho Chi Minh Victor Goloubew
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Paul Bert', 'occupation', {'concept': 'occupation'}] ['Ho Chi Minh', 'occupation', {'concept': 'occupation'}] ['Victor Goloubew', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?d property:occupation ?z . ?z rdf:type ontology:occupation . VALUES ( ?d ) { ( resource:Salim_Miguel ) ( resource:Jarbas_Passarinho ) ( resource:Carlos_Alberto_Brilhante_Ustra ) } }
[]
occupation
Q3621491 Q1622272 Q1930187
SYSTEM
archaeologist, university teacher, journalist
Q132050 Q82955 Q1622272 Q3055126 Q39631 Q350979 Q1930187 Q82955 Q36180 Q49757 Q201788 Q3621491
(Q735370,P106,c(Q12737077)) (Q36014,P106,c(Q12737077)) (Q21093966,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q735370', 'P106', {'concept': 'Q12737077'}] ['Q36014', 'P106', {'concept': 'Q12737077'}] ['Q21093966', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?d property:P106 ?z . ?z rdf:type ontology:Q12737077 . VALUES ( ?d ) { ( resource:Q27643357 ) ( resource:Q10305370 ) ( resource:Q9696795 ) } }
governor politician university teacher entomologist physician zoologist journalist politician writer poet historian archaeologist
The professions of those people are archaeologist, university teacher and journalist
archaeologist university teacher journalist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Paul Bert', 'occupation', {'concept': 'occupation'}] ['Ho Chi Minh', 'occupation', {'concept': 'occupation'}] ['Victor Goloubew', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?d property:occupation ?z . ?z rdf:type ontology:occupation . VALUES ( ?d ) { ( resource:Salim_Miguel ) ( resource:Jarbas_Passarinho ) ( resource:Carlos_Alberto_Brilhante_Ustra ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3621491
P101
Q502895
USER
Which person has specialisation in that occupation ?
(c(Q502895),P101,Q3621491)
action filter_type
action find_reverse
entity Q3621491
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q3621491 . ?y rdf:type ontology:Q502895 }
archaeologist
action filter_type
action find_reverse
entity archaeologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'archaeologist']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:archaeologist . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1930187
SYSTEM
Did you mean journalist ?
Q3621491 Q1622272 Q1930187
(c(Q502895),P101,Q3621491) (c(Q502895),P101,Q1622272) (c(Q502895),P101,Q1930187)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q3621491'] [{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q1930187']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q3621491 . ?y rdf:type ontology:Q502895 }
archaeologist university teacher journalist
Did you mean journalist ?
journalist
[{'concept': 'common name'}, 'field of work', 'archaeologist'] [{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'journalist']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:archaeologist . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant archaeologist. Could you tell me the answer for that?
(c(Q502895),P101,Q3621491)
Q3621491
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
[{'concept': 'common name'}, 'field of work', 'archaeologist']
[]
Q102139
SYSTEM
Margrethe II of Denmark
Q102139
(c(Q502895),P101,Q3621491)
action filter_type
action find_reverse
entity Q3621491
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q3621491 . ?y rdf:type ontology:Q502895 }
Margrethe II of Denmark
Margrethe II of Denmark has specialisation in that occupation
Margrethe II of Denmark
action filter_type
action find_reverse
entity archaeologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'archaeologist']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:archaeologist . ?y rdf:type ontology:common_name }
[]