Simple Question (Direct)
Simple Question
Q4055894
P27
Q15617994
USER
Which administrative territory does Andrea Ávila belong to ?
(Q4055894,P27,c(Q15617994))
action filter_type
action find
entity Q4055894
relation P27
type Q15617994
['Q4055894', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q4055894 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Andrea Ávila
action filter_type
action find
entity Andrea Ávila
relation country of citizenship
type designation for an administrative territorial entity
['Andrea Ávila', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Andrea_Ávila property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q4055894,P27,c(Q15617994))
action filter_type
action find
entity Q4055894
relation P27
type Q15617994
Andrea Ávila belongs to [ANSWER]
['Q4055894', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q4055894 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Argentina
Andrea Ávila belongs to Argentina
Argentina
action filter_type
action find
entity Andrea Ávila
relation country of citizenship
type designation for an administrative territorial entity
['Andrea Ávila', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Andrea_Ávila property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
(Q414,P30,c(Q2221906))
action filter_type
action find
entity Q414
relation P30
type Q2221906
['Q414', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q414 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Argentina
action filter_type
action find
entity Argentina
relation continent
type geographic location
['Argentina', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Argentina property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q414,P30,c(Q2221906))
action filter_type
action find
entity Q414
relation P30
type Q2221906
The [ANSWER] is that administrative territory a part of
['Q414', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q414 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
South America
The South America is that administrative territory a part of
South America
action filter_type
action find
entity Argentina
relation continent
type geographic location
['Argentina', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Argentina property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q414
P1001
Q192350 Q14660
USER
How many ministries or flags apply to jurisdiction over Argentina ?
(c(Q192350),P1001,Q414) (c(Q14660),P1001,Q414)
action count
action union
action filter_type
action find_reverse
entity Q414
relation P1001
type Q192350
action filter_type
action find_reverse
entity Q414
relation P1001
type Q14660
[{'concept': 'Q192350'}, 'P1001', 'Q414'] [{'concept': 'Q14660'}, 'P1001', 'Q414']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:Q14660 . ?j property:P1001 resource:Q414 } UNION { ?j property:P1001 resource:Q414 . ?j rdf:type ontology:Q192350 } }
Argentina
action count
action union
action filter_type
action find_reverse
entity Argentina
relation applies to jurisdiction
type ministry
action filter_type
action find_reverse
entity Argentina
relation applies to jurisdiction
type flag
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Argentina']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:flag . ?j property:applies_to_jurisdiction resource:Argentina } UNION { ?j property:applies_to_jurisdiction resource:Argentina . ?j rdf:type ontology:ministry } }
[]
ministry flag
SYSTEM
3
Q130774 Q4294380 Q2601742
(c(Q192350),P1001,Q414) (c(Q14660),P1001,Q414)
action count
action union
action filter_type
action find_reverse
entity Q414
relation P1001
type Q192350
action filter_type
action find_reverse
entity Q414
relation P1001
type Q14660
[ANSWER]
[{'concept': 'Q192350'}, 'P1001', 'Q414'] [{'concept': 'Q14660'}, 'P1001', 'Q414']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:Q14660 . ?j property:P1001 resource:Q414 } UNION { ?j property:P1001 resource:Q414 . ?j rdf:type ontology:Q192350 } }
flag of Argentina Ministry of Foreign Affairs and Worship Ministry of Defense
3
action count
action union
action filter_type
action find_reverse
entity Argentina
relation applies to jurisdiction
type ministry
action filter_type
action find_reverse
entity Argentina
relation applies to jurisdiction
type flag
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Argentina']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:flag . ?j property:applies_to_jurisdiction resource:Argentina } UNION { ?j property:applies_to_jurisdiction resource:Argentina . ?j rdf:type ontology:ministry } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P35
Q502895
USER
Who is elected as the head of state of that administrative territory ?
action filter_type
action find
entity Q414
relation P35
type Q502895
SELECT DISTINCT ?a WHERE { resource:Q414 property:P35 ?a . ?a rdf:type ontology:Q502895 }
Argentina
action filter_type
action find
entity Argentina
relation head of state
type common name
SELECT DISTINCT ?a WHERE { resource:Argentina property:head_of_state ?a . ?a rdf:type ontology:common_name }
[]
common name
Q561837
SYSTEM
Mauricio Macri
Q561837
action filter_type
action find
entity Q414
relation P35
type Q502895
[ANSWER] is elected as the head of state of that administrative territory
SELECT DISTINCT ?a WHERE { resource:Q414 property:P35 ?a . ?a rdf:type ontology:Q502895 }
Mauricio Macri
Mauricio Macri is elected as the head of state of that administrative territory
Mauricio Macri
action filter_type
action find
entity Argentina
relation head of state
type common name
SELECT DISTINCT ?a WHERE { resource:Argentina property:head_of_state ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P710
Q1190554
USER
Which events were Argentina a participant of ?
(c(Q1190554),P710,Q414)
action filter_type
action find_reverse
entity Q414
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q414']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1190554 . ?w property:P710 resource:Q414 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation participant
type event
[{'concept': 'event'}, 'participant', 'Argentina']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:event . ?w property:participant resource:Argentina }
[]
event
Q4930640 Q5722546 Q4582489
SYSTEM
Bluff Cove Air Attacks, Battle of Lomas Valentinas, Battle of Mount Tumbledown
Q4872743 Q5722546 Q4582489 Q4930640 Q4871802 Q4871801
(c(Q1190554),P710,Q414)
action filter_type
action find_reverse
entity Q414
relation P710
type Q1190554
Argentina were the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q414']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1190554 . ?w property:P710 resource:Q414 }
Battle of Wireless Ridge Battle of Lomas Valentinas Battle of Mount Tumbledown Bluff Cove Air Attacks Battle of Mount Longdon Battle of Mount Harriet
Argentina were the Bluff Cove Air Attacks, Battle of Lomas Valentinas and Battle of Mount Tumbledown
Bluff Cove Air Attacks Battle of Lomas Valentinas Battle of Mount Tumbledown
action filter_type
action find_reverse
entity Argentina
relation participant
type event
[{'concept': 'event'}, 'participant', 'Argentina']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:event . ?w property:participant resource:Argentina }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4930640 Q5722546 Q4582489
P361
Q350604
USER
Which armed conflicts are those events a part of ?
(Q4930640,P361,c(Q350604)) (Q5722546,P361,c(Q350604)) (Q4582489,P361,c(Q350604))
action filter_type
action find
entity prev_answer
relation P361
type Q350604
['Q4930640', 'P361', {'concept': 'Q350604'}] ['Q5722546', 'P361', {'concept': 'Q350604'}] ['Q4582489', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Q4872743 ) ( resource:Q5722546 ) ( resource:Q4582489 ) } . ?x property:P361 ?j . ?j rdf:type ontology:Q350604 }
Bluff Cove Air Attacks Battle of Lomas Valentinas Battle of Mount Tumbledown
action filter_type
action find
entity prev_answer
relation part of
type armed conflict
['Bluff Cove Air Attacks', 'part of', {'concept': 'armed conflict'}] ['Battle of Lomas Valentinas', 'part of', {'concept': 'armed conflict'}] ['Battle of Mount Tumbledown', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Battle_of_Wireless_Ridge ) ( resource:Battle_of_Lomas_Valentinas ) ( resource:Battle_of_Mount_Tumbledown ) } . ?x property:part_of ?j . ?j rdf:type ontology:armed_conflict }
[]
armed conflict
Q48249 Q58947 Q48249
SYSTEM
War of the Triple Alliance for 2nd, Falklands War for 1st, 3rd
Q48249 Q58947 Q48249
(Q4930640,P361,c(Q350604)) (Q5722546,P361,c(Q350604)) (Q4582489,P361,c(Q350604))
action filter_type
action find
entity prev_answer
relation P361
type Q350604
[ANSWERS]
['Q4930640', 'P361', {'concept': 'Q350604'}] ['Q5722546', 'P361', {'concept': 'Q350604'}] ['Q4582489', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Q4872743 ) ( resource:Q5722546 ) ( resource:Q4582489 ) } . ?x property:P361 ?j . ?j rdf:type ontology:Q350604 }
Falklands War War of the Triple Alliance Falklands War
Falklands War, War of the Triple Alliance and Falklands War are those events a part of
Falklands War War of the Triple Alliance Falklands War
action filter_type
action find
entity prev_answer
relation part of
type armed conflict
['Bluff Cove Air Attacks', 'part of', {'concept': 'armed conflict'}] ['Battle of Lomas Valentinas', 'part of', {'concept': 'armed conflict'}] ['Battle of Mount Tumbledown', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Battle_of_Wireless_Ridge ) ( resource:Battle_of_Lomas_Valentinas ) ( resource:Battle_of_Mount_Tumbledown ) } . ?x property:part_of ?j . ?j rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P841
Q502895
USER
Which person has Argentina as principal feast day ?
(c(Q502895),P841,Q414)
action filter_type
action find_reverse
entity Q414
relation P841
type Q502895
[{'concept': 'Q502895'}, 'P841', 'Q414']
SELECT DISTINCT ?w WHERE { ?w property:P841 resource:Q414 . ?w rdf:type ontology:Q502895 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', 'Argentina']
SELECT DISTINCT ?w WHERE { ?w property:feast_day resource:Argentina . ?w rdf:type ontology:common_name }
[]
common name
Q1373633
SYSTEM
Joseph Cafasso
Q1373633
(c(Q502895),P841,Q414)
action filter_type
action find_reverse
entity Q414
relation P841
type Q502895
[ANSWER] has Argentina as principal feast day
[{'concept': 'Q502895'}, 'P841', 'Q414']
SELECT DISTINCT ?w WHERE { ?w property:P841 resource:Q414 . ?w rdf:type ontology:Q502895 }
Joseph Cafasso
Joseph Cafasso has Argentina as principal feast day
Joseph Cafasso
action filter_type
action find_reverse
entity Argentina
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', 'Argentina']
SELECT DISTINCT ?w WHERE { ?w property:feast_day resource:Argentina . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P740
Q2088357
USER
What were formed at that administrative territory ?
(c(Q2088357),P740,Q1373633)
action filter_type
action find_reverse
entity Q414
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1373633']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2088357 . ?c property:P740 resource:Q414 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Joseph Cafasso']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:musical_ensemble . ?c property:location_of_formation resource:Argentina }
[]
musical ensemble
Q1411892 Q18164496 Q12164214
SYSTEM
Miranda!, Todo Mundo, El Cielo (band)
Q12164214 Q6719081 Q18164496 Q1158232 Q1411892
(c(Q2088357),P740,Q1373633)
action filter_type
action find_reverse
entity Q414
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q1373633']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2088357 . ?c property:P740 resource:Q414 }
El Cielo (band) MUSA's Trio Todo Mundo Damas Gratis Miranda!
Miranda!, Todo Mundo and El Cielo (band) were formed at that administrative territory
Miranda! Todo Mundo El Cielo (band)
action filter_type
action find_reverse
entity Argentina
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Joseph Cafasso']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:musical_ensemble . ?c property:location_of_formation resource:Argentina }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27570439 Q4930640
P710
Q502895
USER
Which people were the artist who participated in Bluff Cove Air Attacks or 1963 German Open Badminton Championships – Men's doubles ?
OR((Q4930640,P710,c(Q502895)), (Q27570439,P710,c(Q502895)))
action filter_type
action union
action find
entity Q4930640
relation P710
action find
entity Q27570439
relation P710
type Q502895
{'OR': [['Q4930640', 'P710', {'concept': 'Q502895'}], ['Q27570439', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { resource:Q4930640 property:P710 ?k } UNION { resource:Q27570439 property:P710 ?k } } }
1963 German Open Badminton Championships – Men's doubles Bluff Cove Air Attacks
action filter_type
action union
action find
entity Bluff Cove Air Attacks
relation participant
action find
entity 1963 German Open Badminton Championships – Men's doubles
relation participant
type common name
{'OR': [['Bluff Cove Air Attacks', 'participant', {'concept': 'common name'}], ["1963 German Open Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { resource:Bluff_Cove_Air_Attacks property:participant ?k } UNION { resource:1963_German_Open_Badminton_Championships_–_Men's_doubles property:participant ?k } } }
[]
common name
Q1715693 Q2106714 Q3732262 Q3799170 Q1435695 Q7823684 Q196263 Q350921 Q581963
SYSTEM
Jørgen Mortensen, Poul-Erik Nielsen, Ernesto Horacio Crespo, Julian Thompson, Henning Borch, Tony Wilson, Mario Benjamín Menéndez, Erland Kops, Jeremy Moore
Q1715693 Q2106714 Q3732262 Q3799170 Q1435695 Q7823684 Q196263 Q350921 Q581963
OR((Q4930640,P710,c(Q502895)), (Q27570439,P710,c(Q502895)))
action filter_type
action union
action find
entity Q4930640
relation P710
action find
entity Q27570439
relation P710
type Q502895
[ANSWERS] were the artist who participated in Bluff Cove Air Attacks or 1963 German Open Badminton Championships – Men's doubles
{'OR': [['Q4930640', 'P710', {'concept': 'Q502895'}], ['Q27570439', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { resource:Q4930640 property:P710 ?k } UNION { resource:Q27570439 property:P710 ?k } } }
Jørgen Mortensen Poul-Erik Nielsen Ernesto Horacio Crespo Julian Thompson Henning Borch Tony Wilson Mario Benjamín Menéndez Erland Kops Jeremy Moore
Jørgen Mortensen, Poul-Erik Nielsen, Ernesto Horacio Crespo, Julian Thompson, Henning Borch, Tony Wilson, Mario Benjamín Menéndez, Erland Kops and Jeremy Moore were the artist who participated in Bluff Cove Air Attacks or 1963 German Open Badminton Championships – Men's doubles
Jørgen Mortensen Poul-Erik Nielsen Ernesto Horacio Crespo Julian Thompson Henning Borch Tony Wilson Mario Benjamín Menéndez Erland Kops Jeremy Moore
action filter_type
action union
action find
entity Bluff Cove Air Attacks
relation participant
action find
entity 1963 German Open Badminton Championships – Men's doubles
relation participant
type common name
{'OR': [['Bluff Cove Air Attacks', 'participant', {'concept': 'common name'}], ["1963 German Open Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { resource:Bluff_Cove_Air_Attacks property:participant ?k } UNION { resource:1963_German_Open_Badminton_Championships_–_Men's_doubles property:participant ?k } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1715693 Q2106714 Q3732262 Q3799170 Q1435695 Q7823684 Q196263 Q350921 Q581963
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q1715693,P106,c(Q12737077)) (Q2106714,P106,c(Q12737077)) (Q3732262,P106,c(Q12737077)) (Q3799170,P106,c(Q12737077)) (Q1435695,P106,c(Q12737077)) (Q7823684,P106,c(Q12737077)) (Q196263,P106,c(Q12737077)) (Q350921,P106,c(Q12737077)) (Q581963,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q1715693', 'P106', {'concept': 'Q12737077'}] ['Q2106714', 'P106', {'concept': 'Q12737077'}] ['Q3732262', 'P106', {'concept': 'Q12737077'}] ['Q3799170', 'P106', {'concept': 'Q12737077'}] ['Q1435695', 'P106', {'concept': 'Q12737077'}] ['Q7823684', 'P106', {'concept': 'Q12737077'}] ['Q196263', 'P106', {'concept': 'Q12737077'}] ['Q350921', 'P106', {'concept': 'Q12737077'}] ['Q581963', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?k property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?k ) { ( resource:Q1715693 ) ( resource:Q2106714 ) ( resource:Q3732262 ) } }
Jørgen Mortensen Poul-Erik Nielsen Ernesto Horacio Crespo Julian Thompson Henning Borch Tony Wilson Mario Benjamín Menéndez Erland Kops Jeremy Moore
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jørgen Mortensen', 'occupation', {'concept': 'occupation'}] ['Poul-Erik Nielsen', 'occupation', {'concept': 'occupation'}] ['Ernesto Horacio Crespo', 'occupation', {'concept': 'occupation'}] ['Julian Thompson', 'occupation', {'concept': 'occupation'}] ['Henning Borch', 'occupation', {'concept': 'occupation'}] ['Tony Wilson', 'occupation', {'concept': 'occupation'}] ['Mario Benjamín Menéndez', 'occupation', {'concept': 'occupation'}] ['Erland Kops', 'occupation', {'concept': 'occupation'}] ['Jeremy Moore', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?k property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?k ) { ( resource:Jørgen_Mortensen ) ( resource:Poul-Erik_Nielsen ) ( resource:Ernesto_Horacio_Crespo ) } }
[]
occupation
Q201788 Q13141064 Q13141064
SYSTEM
historian for 1st, badminton player for 2nd, 3rd
Q13141064 Q13141064 Q47064 Q201788 Q13141064 Q189290 Q47064 Q189290 Q13141064 Q189290
(Q1715693,P106,c(Q12737077)) (Q2106714,P106,c(Q12737077)) (Q3732262,P106,c(Q12737077)) (Q3799170,P106,c(Q12737077)) (Q1435695,P106,c(Q12737077)) (Q7823684,P106,c(Q12737077)) (Q196263,P106,c(Q12737077)) (Q350921,P106,c(Q12737077)) (Q581963,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q1715693', 'P106', {'concept': 'Q12737077'}] ['Q2106714', 'P106', {'concept': 'Q12737077'}] ['Q3732262', 'P106', {'concept': 'Q12737077'}] ['Q3799170', 'P106', {'concept': 'Q12737077'}] ['Q1435695', 'P106', {'concept': 'Q12737077'}] ['Q7823684', 'P106', {'concept': 'Q12737077'}] ['Q196263', 'P106', {'concept': 'Q12737077'}] ['Q350921', 'P106', {'concept': 'Q12737077'}] ['Q581963', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?k property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?k ) { ( resource:Q1715693 ) ( resource:Q2106714 ) ( resource:Q3732262 ) } }
badminton player badminton player military personnel historian badminton player officer military personnel officer badminton player officer
The professions of those people are the historian, badminton player and badminton player
historian badminton player badminton player
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jørgen Mortensen', 'occupation', {'concept': 'occupation'}] ['Poul-Erik Nielsen', 'occupation', {'concept': 'occupation'}] ['Ernesto Horacio Crespo', 'occupation', {'concept': 'occupation'}] ['Julian Thompson', 'occupation', {'concept': 'occupation'}] ['Henning Borch', 'occupation', {'concept': 'occupation'}] ['Tony Wilson', 'occupation', {'concept': 'occupation'}] ['Mario Benjamín Menéndez', 'occupation', {'concept': 'occupation'}] ['Erland Kops', 'occupation', {'concept': 'occupation'}] ['Jeremy Moore', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?k property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?k ) { ( resource:Jørgen_Mortensen ) ( resource:Poul-Erik_Nielsen ) ( resource:Ernesto_Horacio_Crespo ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13141064
P425
Q349
USER
Which sport is associated with the field of occupation that one ?
(Q13141064,P425,c(Q349))
action filter_type
action find
entity Q13141064
relation P425
type Q349
['Q13141064', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13141064 property:P425 ?h . ?h rdf:type ontology:Q349 }
badminton player
action filter_type
action find
entity badminton player
relation field of this occupation
type sport
['badminton player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:badminton_player property:field_of_this_occupation ?h . ?h rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q201788 Q13141064 Q13141064
(Q201788,P425,c(Q349)) (Q13141064,P425,c(Q349)) (Q13141064,P425,c(Q349))
[ANSWER]
['Q201788', 'P425', {'concept': 'Q349'}] ['Q13141064', 'P425', {'concept': 'Q349'}] ['Q13141064', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13141064 property:P425 ?h . ?h rdf:type ontology:Q349 }
historian badminton player badminton player
Did you mean historian ?
historian
['historian', 'field of this occupation', {'concept': 'sport'}] ['badminton player', 'field of this occupation', {'concept': 'sport'}] ['badminton player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:badminton_player property:field_of_this_occupation ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant badminton player. Could you tell me the answer for that?
(Q13141064,P425,c(Q349))
Q13141064
['Q13141064', 'P425', {'concept': 'Q349'}]
['badminton player', 'field of this occupation', {'concept': 'sport'}]
[]
Q7291
SYSTEM
badminton
Q7291
(Q13141064,P425,c(Q349))
action filter_type
action find
entity Q13141064
relation P425
type Q349
[ANSWER] is associated with the field of occupation that one
['Q13141064', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q13141064 property:P425 ?h . ?h rdf:type ontology:Q349 }
badminton
Badminton is associated with the field of occupation that one
badminton
action filter_type
action find
entity badminton player
relation field of this occupation
type sport
['badminton player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:badminton_player property:field_of_this_occupation ?h . ?h rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7291 Q27832207
P641
Q502895
USER
Does Sidra Hamad play that sport ?
(Q27832207,P641,Q7291)
action is_in
entity Q7291
action find
entity Q27832207
relation P641
['Q27832207', 'P641', 'Q7291']
ASK WHERE { resource:Q27832207 property:P641 resource:Q7291 }
badminton Sidra Hamad
action is_in
entity badminton
action find
entity Sidra Hamad
relation sport
['Sidra Hamad', 'sport', 'badminton']
ASK WHERE { resource:Sidra_Hamad property:sport resource:badminton }
[]
common name
SYSTEM
YES
(Q27832207,P641,Q7291)
action is_in
entity Q7291
action find
entity Q27832207
relation P641
[ANSWER]
['Q27832207', 'P641', 'Q7291']
ASK WHERE { resource:Q27832207 property:P641 resource:Q7291 }
Yes
action is_in
entity badminton
action find
entity Sidra Hamad
relation sport
['Sidra Hamad', 'sport', 'badminton']
ASK WHERE { resource:Sidra_Hamad property:sport resource:badminton }
[]