Simple Question (Direct)
Simple Question
Q7037783
P106
Q12737077
USER
Which occupation has Nimrod Ping as his/her 's career ?
(Q7037783,P106,c(Q12737077))
action filter_type
action find
entity Q7037783
relation P106
type Q12737077
['Q7037783', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q7037783 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Nimrod Ping
action filter_type
action find
entity Nimrod Ping
relation occupation
type occupation
['Nimrod Ping', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Nimrod_Ping property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q7037783,P106,c(Q12737077))
action filter_type
action find
entity Q7037783
relation P106
type Q12737077
The [ANSWER] has Nimrod Ping as his/her 's career
['Q7037783', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q7037783 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
architect
The architect has Nimrod Ping as his/her 's career
architect
action filter_type
action find
entity Nimrod Ping
relation occupation
type occupation
['Nimrod Ping', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Nimrod_Ping property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42973
P921
Q223393
USER
Which literary genre was mainly based on that occupation ?
(c(Q223393),P921,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q42973']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q42973 . ?t rdf:type ontology:Q223393 }
architect
action filter_type
action find_reverse
entity architect
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'architect']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:architect . ?t rdf:type ontology:literary_genre }
[]
literary genre
Q23041831
SYSTEM
dictionary of architects in canada
Q23041831
(c(Q223393),P921,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P921
type Q223393
[ANSWER] was mainly based on that occupation
[{'concept': 'Q223393'}, 'P921', 'Q42973']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q42973 . ?t rdf:type ontology:Q223393 }
dictionary of architects in canada
Dictionary of architects in canada was mainly based on that occupation
dictionary of architects in canada
action filter_type
action find_reverse
entity architect
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'architect']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:architect . ?t rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P417
Q502895
USER
Which people are the patron saint of architect ?
(Q42973,P417,c(Q502895))
action filter_type
action find
entity Q42973
relation P417
type Q502895
['Q42973', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q42973 property:P417 ?z }
architect
action filter_type
action find
entity architect
relation patron saint
type common name
['architect', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:architect property:patron_saint ?z }
[]
common name
Q43669 Q192816 Q44265
SYSTEM
Thomas the Apostle, Saint Barbara, Benedict of Nursia
Q43669 Q192816 Q44265
(Q42973,P417,c(Q502895))
action filter_type
action find
entity Q42973
relation P417
type Q502895
[ANSWERS] are the patron saint of architect
['Q42973', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q42973 property:P417 ?z }
Thomas the Apostle Saint Barbara Benedict of Nursia
Thomas the Apostle, Saint Barbara and Benedict of Nursia are the patron saint of architect
Thomas the Apostle Saint Barbara Benedict of Nursia
action filter_type
action find
entity architect
relation patron saint
type common name
['architect', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:architect property:patron_saint ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q390865
Q502895
USER
And what about Ittiri?
(Q390865,P417,c(Q502895))
action filter_type
action find
entity Q390865
relation P417
type Q502895
['Q390865', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q390865 property:P417 ?y }
Ittiri
action filter_type
action find
entity Ittiri
relation patron saint
type common name
['Ittiri', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Ittiri property:patron_saint ?y }
[]
common name
Q33923
SYSTEM
Peter
Q33923
(Q390865,P417,c(Q502895))
action filter_type
action find
entity Q390865
relation P417
type Q502895
[ANSWER]
['Q390865', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q390865 property:P417 ?y }
Peter
Peter
action filter_type
action find
entity Ittiri
relation patron saint
type common name
['Ittiri', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Ittiri property:patron_saint ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33923 Q17722562
P825
Q44539
USER
Does St Peter's Church have a commitment towards that person ?
(Q17722562,P825,Q33923)
action is_in
entity Q33923
action find
entity Q17722562
relation P825
['Q17722562', 'P825', 'Q33923']
ASK WHERE { resource:Q17722562 property:P825 resource:Q33923 }
Peter St Peter's Church
action is_in
entity Peter
action find
entity St Peter's Church
relation dedicated to
["St Peter's Church", 'dedicated to', 'Peter']
ASK WHERE { resource:St_Peter's_Church property:dedicated_to resource:Peter }
[]
temple
SYSTEM
YES
(Q17722562,P825,Q33923)
action is_in
entity Q33923
action find
entity Q17722562
relation P825
[ANSWER]
['Q17722562', 'P825', 'Q33923']
ASK WHERE { resource:Q17722562 property:P825 resource:Q33923 }
Yes
action is_in
entity Peter
action find
entity St Peter's Church
relation dedicated to
["St Peter's Church", 'dedicated to', 'Peter']
ASK WHERE { resource:St_Peter's_Church property:dedicated_to resource:Peter }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q192816 Q1055713
P2348
Q3024240
USER
Did Saint Barbara belong to Yan ?
(Q192816,P2348,Q1055713)
action is_in
entity Q1055713
action find
entity Q192816
relation P2348
['Q192816', 'P2348', 'Q1055713']
ASK WHERE { resource:Q192816 property:P2348 resource:Q1055713 }
Saint Barbara Yan
action is_in
entity Yan
action find
entity Saint Barbara
relation period
['Saint Barbara', 'period', 'Yan']
ASK WHERE { resource:Saint_Barbara property:period resource:Yan }
[]
former country
SYSTEM
NO
(Q192816,P2348,Q1055713)
action is_in
entity Q1055713
action find
entity Q192816
relation P2348
[ANSWER]
['Q192816', 'P2348', 'Q1055713']
ASK WHERE { resource:Q192816 property:P2348 resource:Q1055713 }
No
action is_in
entity Yan
action find
entity Saint Barbara
relation period
['Saint Barbara', 'period', 'Yan']
ASK WHERE { resource:Saint_Barbara property:period resource:Yan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q33923 Q5252702
P20
Q56061
USER
Did the demise of Peter occur Laar, Nuenen ?
(Q33923,P20,Q5252702)
action is_in
entity Q5252702
action find
entity Q33923
relation P20
['Q33923', 'P20', 'Q5252702']
ASK WHERE { resource:Q33923 property:P20 resource:Q5252702 }
Peter Laar, Nuenen
action is_in
entity Laar, Nuenen
action find
entity Peter
relation place of death
['Peter', 'place of death', 'Laar, Nuenen']
ASK WHERE { resource:Peter property:place_of_death resource:Laar,_Nuenen }
[]
administrative territorial entity
SYSTEM
NO
(Q33923,P20,Q5252702)
action is_in
entity Q5252702
action find
entity Q33923
relation P20
[ANSWER]
['Q33923', 'P20', 'Q5252702']
ASK WHERE { resource:Q33923 property:P20 resource:Q5252702 }
No
action is_in
entity Laar, Nuenen
action find
entity Peter
relation place of death
['Peter', 'place of death', 'Laar, Nuenen']
ASK WHERE { resource:Peter property:place_of_death resource:Laar,_Nuenen }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?m } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?m } } }
[]
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
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?m } } }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?m } } }
[]