Simple Question (Direct)
Simple Question
Q21623238
P19
Q56061
USER
Where was Máté Vida born ?
(Q21623238,P19,c(Q56061))
action filter_type
action find
entity Q21623238
relation P19
type Q56061
['Q21623238', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q21623238 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Máté Vida
action filter_type
action find
entity Máté Vida
relation place of birth
type administrative territorial entity
['Máté Vida', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Máté_Vida property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q21623238,P19,c(Q56061))
action filter_type
action find
entity Q21623238
relation P19
type Q56061
Máté Vida was born in [ANSWER]
['Q21623238', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q21623238 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Budapest
Máté Vida was born in Budapest
Budapest
action filter_type
action find
entity Máté Vida
relation place of birth
type administrative territorial entity
['Máté Vida', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Máté_Vida property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P6
Q502895
USER
Which person has that administrative territory as its head of government ?
(Q1781,P6,c(Q502895))
action filter_type
action find
entity Q1781
relation P6
type Q502895
['Q1781', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1781 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Budapest
action filter_type
action find
entity Budapest
relation head of government
type common name
['Budapest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Budapest property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q923540
SYSTEM
István Tarlós
Q923540
(Q1781,P6,c(Q502895))
action filter_type
action find
entity Q1781
relation P6
type Q502895
[ANSWER] has that administrative territory as its head of government
['Q1781', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1781 property:P6 ?e . ?e rdf:type ontology:Q502895 }
István Tarlós
István Tarlós has that administrative territory as its head of government
István Tarlós
action filter_type
action find
entity Budapest
relation head of government
type common name
['Budapest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Budapest property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q923540 Q4691648
P6
Q56061
USER
Does Agbara-Otor have that person as its administrative leader ?
(Q4691648,P6,Q923540)
action is_in
entity Q4691648
action find
entity Q923540
relation P6
['Q4691648', 'P6', 'Q923540']
ASK WHERE { resource:Q923540 property:P6 resource:Q4691648 }
István Tarlós Agbara-Otor
action is_in
entity Agbara-Otor
action find
entity István Tarlós
relation head of government
['Agbara-Otor', 'head of government', 'István Tarlós']
ASK WHERE { resource:István_Tarlós property:head_of_government resource:Agbara-Otor }
[]
administrative territorial entity
SYSTEM
NO
(Q4691648,P6,Q923540)
action is_in
entity Q4691648
action find
entity Q923540
relation P6
[ANSWER]
['Q4691648', 'P6', 'Q923540']
ASK WHERE { resource:Q923540 property:P6 resource:Q4691648 }
No
action is_in
entity Agbara-Otor
action find
entity István Tarlós
relation head of government
['Agbara-Otor', 'head of government', 'István Tarlós']
ASK WHERE { resource:István_Tarlós property:head_of_government resource:Agbara-Otor }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1781 Q2332159 Q2340525
P190
Q56061
USER
Is Budapest a sister city of Legbourne, Lincolnshire and Batnjik ?
(Q1781,P190,Q2332159) (Q1781,P190,Q2340525)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q2332159
relation P190
action find_reverse
entity Q2340525
relation P190
['Q1781', 'P190', 'Q2332159'] ['Q1781', 'P190', 'Q2340525']
ASK WHERE { resource:Q1781 property:P190 resource:Q2332159 . resource:Q1781 property:P190 resource:Q2340525 }
Budapest Legbourne, Lincolnshire Batnjik
action is_in
entity Budapest
action intersection
action find_reverse
entity Legbourne, Lincolnshire
relation sister city
action find_reverse
entity Batnjik
relation sister city
['Budapest', 'sister city', 'Legbourne, Lincolnshire'] ['Budapest', 'sister city', 'Batnjik']
ASK WHERE { resource:Budapest property:sister_city resource:Legbourne,_Lincolnshire . resource:Budapest property:sister_city resource:Batnjik }
[]
administrative territorial entity
SYSTEM
NO
(Q1781,P190,Q2332159) (Q1781,P190,Q2340525)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q2332159
relation P190
action find_reverse
entity Q2340525
relation P190
[ANSWER]
['Q1781', 'P190', 'Q2332159'] ['Q1781', 'P190', 'Q2340525']
ASK WHERE { resource:Q1781 property:P190 resource:Q2332159 . resource:Q1781 property:P190 resource:Q2340525 }
No
action is_in
entity Budapest
action intersection
action find_reverse
entity Legbourne, Lincolnshire
relation sister city
action find_reverse
entity Batnjik
relation sister city
['Budapest', 'sister city', 'Legbourne, Lincolnshire'] ['Budapest', 'sister city', 'Batnjik']
ASK WHERE { resource:Budapest property:sister_city resource:Legbourne,_Lincolnshire . resource:Budapest property:sister_city resource:Batnjik }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q923540 Q1781
P19
Q56061
USER
Was Budapest that person born ?
(Q923540,P19,Q1781)
action is_in
entity Q1781
action find
entity Q923540
relation P19
['Q923540', 'P19', 'Q1781']
ASK WHERE { resource:Q923540 property:P19 resource:Q1781 }
István Tarlós Budapest
action is_in
entity Budapest
action find
entity István Tarlós
relation place of birth
['István Tarlós', 'place of birth', 'Budapest']
ASK WHERE { resource:István_Tarlós property:place_of_birth resource:Budapest }
[]
administrative territorial entity
SYSTEM
YES
(Q923540,P19,Q1781)
action is_in
entity Q1781
action find
entity Q923540
relation P19
[ANSWER]
['Q923540', 'P19', 'Q1781']
ASK WHERE { resource:Q923540 property:P19 resource:Q1781 }
Yes
action is_in
entity Budapest
action find
entity István Tarlós
relation place of birth
['István Tarlós', 'place of birth', 'Budapest']
ASK WHERE { resource:István_Tarlós property:place_of_birth resource:Budapest }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?v ) WHERE { ?t rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 . ?z property:P1303 ?t } GROUP BY ?t } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?s } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?v ) WHERE { ?t rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name . ?z property:instrument ?t } GROUP BY ?t } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?s } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?v ) WHERE { ?t rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 . ?z property:P1303 ?t } GROUP BY ?t } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?s } } }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?v ) WHERE { ?t rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name . ?z property:instrument ?t } GROUP BY ?t } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?s } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P291
Q2342494
USER
Which collectables were published in Budapest ?
(c(Q2342494),P291,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1781']
SELECT DISTINCT ?k WHERE { ?k property:P291 resource:Q1781 . ?k rdf:type ontology:Q2342494 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Budapest']
SELECT DISTINCT ?k WHERE { ?k property:place_of_publication resource:Budapest . ?k rdf:type ontology:collectable }
[]
collectable
Q22284511 Q12346361
SYSTEM
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance, Dancu marionetoj
Q22284511 Q12346361
(c(Q2342494),P291,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P291
type Q2342494
[ANSWERS] were published in Budapest
[{'concept': 'Q2342494'}, 'P291', 'Q1781']
SELECT DISTINCT ?k WHERE { ?k property:P291 resource:Q1781 . ?k rdf:type ontology:Q2342494 }
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance Dancu marionetoj
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance and Dancu marionetoj were published in Budapest
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance Dancu marionetoj
action filter_type
action find_reverse
entity Budapest
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Budapest']
SELECT DISTINCT ?k WHERE { ?k property:place_of_publication resource:Budapest . ?k rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12346361
P123
Q502895
USER
Who released that collectable ?
(Q12346361,P123,c(Q502895))
action filter_type
action find
entity Q12346361
relation P123
type Q502895
['Q12346361', 'P123', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q12346361 property:P123 ?k . ?k rdf:type ontology:Q502895 }
Dancu marionetoj
action filter_type
action find
entity Dancu marionetoj
relation publisher
type common name
['Dancu marionetoj', 'publisher', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Dancu_marionetoj property:publisher ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q22284511
SYSTEM
Did you mean Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance ?
Q22284511 Q12346361
(Q22284511,P123,c(Q502895)) (Q12346361,P123,c(Q502895))
[ANSWER]
['Q22284511', 'P123', {'concept': 'Q502895'}] ['Q12346361', 'P123', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q12346361 property:P123 ?k . ?k rdf:type ontology:Q502895 }
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance Dancu marionetoj
Did you mean Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance ?
Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance
['Synagogues in Hungary, 1782-1918 : genealogy, typology and architectural significance', 'publisher', {'concept': 'common name'}] ['Dancu marionetoj', 'publisher', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Dancu_marionetoj property:publisher ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Dancu marionetoj. Could you tell me the answer for that?
(Q12346361,P123,c(Q502895))
Q12346361
['Q12346361', 'P123', {'concept': 'Q502895'}]
['Dancu marionetoj', 'publisher', {'concept': 'common name'}]
[]
Q12773
SYSTEM
Julio Baghy
Q12773
(Q12346361,P123,c(Q502895))
action filter_type
action find
entity Q12346361
relation P123
type Q502895
[ANSWER] released that collectable
['Q12346361', 'P123', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q12346361 property:P123 ?k . ?k rdf:type ontology:Q502895 }
Julio Baghy
Julio Baghy released that collectable
Julio Baghy
action filter_type
action find
entity Dancu marionetoj
relation publisher
type common name
['Dancu marionetoj', 'publisher', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Dancu_marionetoj property:publisher ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q12773 Q28
P27
Q15617994
USER
Is Hungary the country of citizenship of that person ?
(Q12773,P27,Q28)
action is_in
entity Q28
action find
entity Q12773
relation P27
['Q12773', 'P27', 'Q28']
ASK WHERE { resource:Q12773 property:P27 resource:Q28 }
Julio Baghy Hungary
action is_in
entity Hungary
action find
entity Julio Baghy
relation country of citizenship
['Julio Baghy', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Julio_Baghy property:country_of_citizenship resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q12773,P27,Q28)
action is_in
entity Q28
action find
entity Q12773
relation P27
[ANSWER]
['Q12773', 'P27', 'Q28']
ASK WHERE { resource:Q12773 property:P27 resource:Q28 }
Yes
action is_in
entity Hungary
action find
entity Julio Baghy
relation country of citizenship
['Julio Baghy', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Julio_Baghy property:country_of_citizenship resource:Hungary }
[]