Simple Question (Direct)
Simple Question
Q2093525
P641
Q349
USER
What did Hervé Ndjana Onana participate in ?
(Q2093525,P641,c(Q349))
action filter_type
action find
entity Q2093525
relation P641
type Q349
['Q2093525', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q2093525 property:P641 ?e }
Hervé Ndjana Onana
action filter_type
action find
entity Hervé Ndjana Onana
relation sport
type sport
['Hervé Ndjana Onana', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Hervé_Ndjana_Onana property:sport ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2093525,P641,c(Q349))
action filter_type
action find
entity Q2093525
relation P641
type Q349
Hervé Ndjana Onana participated in [ANSWER]
['Q2093525', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q2093525 property:P641 ?e }
association football
Hervé Ndjana Onana participated in association football
association football
action filter_type
action find
entity Hervé Ndjana Onana
relation sport
type sport
['Hervé Ndjana Onana', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Hervé_Ndjana_Onana property:sport ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2093525
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2093525
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2093525 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Hervé Ndjana Onana
action filter_type
action find
entity Hervé Ndjana Onana
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Hervé_Ndjana_Onana property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2093525
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2093525 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Hervé Ndjana Onana
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Hervé_Ndjana_Onana property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person has his/her area as that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q937857 . ?j rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:association_football_player . ?j rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q937857 . ?j rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze has his/her area as that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:association_football_player . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Who is associated with the field of occupation association football player ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q937857 property:P425 ?y }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
As [ANSWER] is associated with the field of occupation [ANSWER] player
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q937857 property:P425 ?y }
association football
As association football is associated with the field of occupation association football player
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do exactly 5 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?c = 5 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?c = 5 ) }
[]
musical instrument common name
SYSTEM
2
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?c = 5 ) }
harmonium tabla
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?c = 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2089026
P54
Q1194951
USER
What is Akaki Devadze a member of ?
(Q2089026,P54,c(Q1194951))
action filter_type
action find
entity Q2089026
relation P54
type Q1194951
['Q2089026', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q2089026 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Akaki Devadze
action filter_type
action find
entity Akaki Devadze
relation member of sports team
type national sports team
['Akaki Devadze', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Akaki_Devadze property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Q186268
SYSTEM
Georgia national football team
Q186268
(Q2089026,P54,c(Q1194951))
action filter_type
action find
entity Q2089026
relation P54
type Q1194951
Akaki Devadze a member of is [ANSWER]
['Q2089026', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q2089026 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Georgia national football team
Akaki Devadze a member of is Georgia national football team
Georgia national football team
action filter_type
action find
entity Akaki Devadze
relation member of sports team
type national sports team
['Akaki Devadze', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Akaki_Devadze property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P361
Q623109
USER
What are a component of association football ?
(c(Q623109),P361,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q623109
[{'concept': 'Q623109'}, 'P361', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q2736 . ?j rdf:type ontology:Q623109 }
association football
action filter_type
action find_reverse
entity association football
relation part of
type sports league
[{'concept': 'sports league'}, 'part of', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:association_football . ?j rdf:type ontology:sports_league }
[]
sports league
Q1061291 Q206813
SYSTEM
Championnat de France amateur, Campeonato Brasileiro Série A
Q1061291 Q206813
(c(Q623109),P361,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q623109
A component of association football are the [ANSWERS]
[{'concept': 'Q623109'}, 'P361', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q2736 . ?j rdf:type ontology:Q623109 }
Championnat de France amateur Campeonato Brasileiro Série A
A component of association football are the Championnat de France amateur and Campeonato Brasileiro Série A
Championnat de France amateur Campeonato Brasileiro Série A
action filter_type
action find_reverse
entity association football
relation part of
type sports league
[{'concept': 'sports league'}, 'part of', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:association_football . ?j rdf:type ontology:sports_league }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1061291 Q206813
P17
Q15617994
USER
Which administrative territories are those sports leagues located in ?
(Q1061291,P17,c(Q15617994)) (Q206813,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1061291', 'P17', {'concept': 'Q15617994'}] ['Q206813', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?q property:P17 ?x . VALUES ( ?q ) { ( resource:Q1061291 ) ( resource:Q206813 ) } }
Championnat de France amateur Campeonato Brasileiro Série A
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Championnat de France amateur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Campeonato Brasileiro Série A', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:country ?x . VALUES ( ?q ) { ( resource:Championnat_de_France_amateur ) ( resource:Campeonato_Brasileiro_Série_A ) } }
[]
designation for an administrative territorial entity
Q142 Q155
SYSTEM
France, Brazil
Q142 Q155
(Q1061291,P17,c(Q15617994)) (Q206813,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those sports leagues are located in [ANSWERS]
['Q1061291', 'P17', {'concept': 'Q15617994'}] ['Q206813', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?q property:P17 ?x . VALUES ( ?q ) { ( resource:Q1061291 ) ( resource:Q206813 ) } }
France Brazil
Those sports leagues are located in France and Brazil
France Brazil
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Championnat de France amateur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Campeonato Brasileiro Série A', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:country ?x . VALUES ( ?q ) { ( resource:Championnat_de_France_amateur ) ( resource:Campeonato_Brasileiro_Série_A ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P123
Q2342494
USER
Which collectables were published by that administrative territory ?
(c(Q2342494),P123,Q155)
action filter_type
action find_reverse
entity Q155
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2342494 . ?s property:P123 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collectable . ?s property:publisher resource:Brazil }
[]
collectable
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q142 Q155
(c(Q2342494),P123,Q142) (c(Q2342494),P123,Q155)
[ANSWER]
[{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2342494 . ?s property:P123 resource:Q155 }
France Brazil
Did you mean France ?
France
[{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collectable . ?s property:publisher resource:Brazil }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q2342494),P123,Q155)
Q155
[{'concept': 'Q2342494'}, 'P123', 'Q155']
[{'concept': 'collectable'}, 'publisher', 'Brazil']
[]
Q7105479 Q7073328 Q7666148
SYSTEM
Os Sete, O Senhor da Chuva, Sétimo
Q7105479 Q7073328 Q4655739 Q7666148 Q7449233
(c(Q2342494),P123,Q155)
action filter_type
action find_reverse
entity Q155
relation P123
type Q2342494
[ANSWERS] were published by that administrative territory
[{'concept': 'Q2342494'}, 'P123', 'Q155']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2342494 . ?s property:P123 resource:Q155 }
Os Sete O Senhor da Chuva A Casa Sétimo Sementes no Gelo
Os Sete, O Senhor da Chuva and Sétimo were published by that administrative territory
Os Sete O Senhor da Chuva Sétimo
action filter_type
action find_reverse
entity Brazil
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Brazil']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collectable . ?s property:publisher resource:Brazil }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q45
P530
Q1048835
USER
How many political territories have ambassadorial relations with Brazil and Portugal ?
(c(Q1048835),P530,Q155) (c(Q1048835),P530,Q45)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q45
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q155'] [{'concept': 'Q1048835'}, 'P530', 'Q45']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P530 resource:Q155 . ?i rdf:type ontology:Q1048835 . ?i property:P530 resource:Q45 . ?i rdf:type ontology:Q1048835 }
Brazil Portugal
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Portugal
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Portugal']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:diplomatic_relation resource:Brazil . ?i rdf:type ontology:political_territorial_entity . ?i property:diplomatic_relation resource:Portugal . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q155) (c(Q1048835),P530,Q45)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q45
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q155'] [{'concept': 'Q1048835'}, 'P530', 'Q45']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P530 resource:Q155 . ?i rdf:type ontology:Q1048835 . ?i property:P530 resource:Q45 . ?i rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Portugal
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Portugal']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:diplomatic_relation resource:Brazil . ?i rdf:type ontology:political_territorial_entity . ?i property:diplomatic_relation resource:Portugal . ?i rdf:type ontology:political_territorial_entity }
[]