Simple Question (Direct)
Simple Question
Q19654663
P641
Q349
USER
Which sport was James Akintunde a part of ?
(Q19654663,P641,c(Q349))
action filter_type
action find
entity Q19654663
relation P641
type Q349
['Q19654663', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q19654663 property:P641 ?d . ?d rdf:type ontology:Q349 }
James Akintunde
action filter_type
action find
entity James Akintunde
relation sport
type sport
['James Akintunde', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:James_Akintunde property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19654663,P641,c(Q349))
action filter_type
action find
entity Q19654663
relation P641
type Q349
The [ANSWER] was James Akintunde a part of
['Q19654663', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q19654663 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
The association football was James Akintunde a part of
association football
action filter_type
action find
entity James Akintunde
relation sport
type sport
['James Akintunde', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:James_Akintunde property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19654663
P27
Q15617994
USER
Which administrative territory is the native country of James Akintunde ?
(Q19654663,P27,c(Q15617994))
action filter_type
action find
entity Q19654663
relation P27
type Q15617994
['Q19654663', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q19654663 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
James Akintunde
action filter_type
action find
entity James Akintunde
relation country of citizenship
type designation for an administrative territorial entity
['James Akintunde', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:James_Akintunde property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q19654663,P27,c(Q15617994))
action filter_type
action find
entity Q19654663
relation P27
type Q15617994
The [ANSWER] is the native country of James Akintunde
['Q19654663', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q19654663 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of James Akintunde
United Kingdom
action filter_type
action find
entity James Akintunde
relation country of citizenship
type designation for an administrative territorial entity
['James Akintunde', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:James_Akintunde property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P530
Q15617994
USER
Who holds diplomatic relationship with that one ?
(Q145,P530,c(Q15617994))
action filter_type
action find
entity Q145
relation P530
type Q15617994
['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?w }
United Kingdom
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?w }
[]
designation for an administrative territorial entity
Q38 Q155 Q142
SYSTEM
Italy, Brazil, France
Q142 Q805 Q801 Q155 Q37 Q403 Q38
(Q145,P530,c(Q15617994))
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with that one
['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?w }
France Yemen Israel Brazil Lithuania Serbia Italy
Italy, Brazil and France hold diplomatic relationship with that one
Italy Brazil France
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P36
Q56061
USER
Which administrative territory is known as the capital of that administrative territory ?
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P36 ?b . ?b rdf:type ontology:Q56061 }
France
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q38 Q155 Q142
(Q38,P36,c(Q56061)) (Q155,P36,c(Q56061)) (Q142,P36,c(Q56061))
[ANSWER]
['Q38', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Italy Brazil France
Did you mean France ?
France
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q142,P36,c(Q56061))
['Q142', 'P36', {'concept': 'Q56061'}]
['France', 'capital', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
[ANSWER] is known as the capital of that administrative territory
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Paris
Paris is known as the capital of that administrative territory
Paris
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have atleast 3 administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?i ) WHERE { ?n property:P532 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q2235308 } GROUP BY ?n } . FILTER ( ?i >= 3 ) }
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?i ) WHERE { ?n property:port_of_registry ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:ship_type } GROUP BY ?n } . FILTER ( ?i >= 3 ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] have atleast 3 administrative territories as their registry harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?i ) WHERE { ?n property:P532 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q2235308 } GROUP BY ?n } . FILTER ( ?i >= 3 ) }
MS Arrow
MS Arrow have atleast 3 administrative territories as their registry harbour
MS Arrow
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?i ) WHERE { ?n property:port_of_registry ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:ship_type } GROUP BY ?n } . FILTER ( ?i >= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q154741
P194
Q1752346
USER
How many assemblies are the representative bodies for France or Confederation of the Rhine ?
(Q142,P194,c(Q1752346)) (Q154741,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q142
relation P194
type Q1752346
action filter_type
action find
entity Q154741
relation P194
type Q1752346
['Q142', 'P194', {'concept': 'Q1752346'}] ['Q154741', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?n property:P194 ?x . VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q154741 ) } }
France Confederation of the Rhine
action count
action union
action filter_type
action find
entity France
relation legislative body
type assembly
action filter_type
action find
entity Confederation of the Rhine
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}] ['Confederation of the Rhine', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?n property:legislative_body ?x . VALUES ( ?n ) { ( resource:France ) ( resource:Confederation_of_the_Rhine ) } }
[]
assembly
SYSTEM
2
Q632552 Q2282872
(Q142,P194,c(Q1752346)) (Q154741,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q142
relation P194
type Q1752346
action filter_type
action find
entity Q154741
relation P194
type Q1752346
[ANSWER]
['Q142', 'P194', {'concept': 'Q1752346'}] ['Q154741', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?n property:P194 ?x . VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q154741 ) } }
French Parliament diet
2
action count
action union
action filter_type
action find
entity France
relation legislative body
type assembly
action filter_type
action find
entity Confederation of the Rhine
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}] ['Confederation of the Rhine', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?n property:legislative_body ?x . VALUES ( ?n ) { ( resource:France ) ( resource:Confederation_of_the_Rhine ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P35
Q502895
USER
Who are the chiefs of state of Brazil ?
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q155 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Brazil
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Brazil property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
common name
Q37181 Q230578 Q40722
SYSTEM
Luiz Inácio Lula da Silva, Fernando Henrique Cardoso, Dilma Rousseff
Q37181 Q230578 Q463533 Q485946 Q236503 Q40722
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
The chiefs of state of Brazil are the [ANSWERS]
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q155 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Michel Temer Itamar Franco Fernando Collor de Mello Dilma Rousseff
The chiefs of state of Brazil are the Luiz Inácio Lula da Silva, Fernando Henrique Cardoso and Dilma Rousseff
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Dilma Rousseff
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Brazil property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40722
P172
Q2472587
USER
Which people does that person have as his/her race ?
(Q40722,P172,c(Q2472587))
action filter_type
action find
entity Q40722
relation P172
type Q2472587
['Q40722', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q40722 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
Dilma Rousseff
action filter_type
action find
entity Dilma Rousseff
relation ethnic group
type people
['Dilma Rousseff', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Dilma_Rousseff property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
people
Clarification for simple ques.
Q37181
SYSTEM
Did you mean Luiz Inácio Lula da Silva ?
Q37181 Q230578 Q40722
(Q37181,P172,c(Q2472587)) (Q230578,P172,c(Q2472587)) (Q40722,P172,c(Q2472587))
[ANSWER]
['Q37181', 'P172', {'concept': 'Q2472587'}] ['Q230578', 'P172', {'concept': 'Q2472587'}] ['Q40722', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q40722 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Dilma Rousseff
Did you mean Luiz Inácio Lula da Silva ?
Luiz Inácio Lula da Silva
['Luiz Inácio Lula da Silva', 'ethnic group', {'concept': 'people'}] ['Fernando Henrique Cardoso', 'ethnic group', {'concept': 'people'}] ['Dilma Rousseff', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Dilma_Rousseff property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
Simple Question (Coreferenced)
USER
No, I meant Dilma Rousseff. Could you tell me the answer for that?
(Q40722,P172,c(Q2472587))
Q40722
['Q40722', 'P172', {'concept': 'Q2472587'}]
['Dilma Rousseff', 'ethnic group', {'concept': 'people'}]
[]
Q133255
SYSTEM
Bulgarians
Q133255
(Q40722,P172,c(Q2472587))
action filter_type
action find
entity Q40722
relation P172
type Q2472587
As his / her race of [ANSWER] that person has
['Q40722', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q40722 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
Bulgarians
As his / her race of Bulgarians that person has
Bulgarians
action filter_type
action find
entity Dilma Rousseff
relation ethnic group
type people
['Dilma Rousseff', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Dilma_Rousseff property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P1071
Q3305213
USER
Which paintings have France as their location of final assembly ?
(c(Q3305213),P1071,Q142)
action filter_type
action find_reverse
entity Q142
relation P1071
type Q3305213
[{'concept': 'Q3305213'}, 'P1071', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P1071 resource:Q142 . ?l rdf:type ontology:Q3305213 }
France
action filter_type
action find_reverse
entity France
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'France']
SELECT DISTINCT ?l WHERE { ?l property:location_of_final_assembly resource:France . ?l rdf:type ontology:painting }
[]
painting
Q18591537 Q18343261 Q18591430
SYSTEM
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non), Homme en Grande Bottes, View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
Q18591537 Q18343261 Q18591430
(c(Q3305213),P1071,Q142)
action filter_type
action find_reverse
entity Q142
relation P1071
type Q3305213
[ANSWERS]
[{'concept': 'Q3305213'}, 'P1071', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P1071 resource:Q142 . ?l rdf:type ontology:Q3305213 }
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Homme en Grande Bottes View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non), Homme en Grande Bottes and View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) have France as their location of final assembly
View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non) Homme en Grande Bottes View Near Manfredonia (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
action filter_type
action find_reverse
entity France
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'France']
SELECT DISTINCT ?l WHERE { ?l property:location_of_final_assembly resource:France . ?l rdf:type ontology:painting }
[]