Simple Question (Direct)
Simple Question
Q2583226
P1412
Q34770
USER
Which language can James Klugmann read ?
(Q2583226,P1412,c(Q34770))
action filter_type
action find
entity Q2583226
relation P1412
type Q34770
['Q2583226', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q2583226 property:P1412 ?k }
James Klugmann
action filter_type
action find
entity James Klugmann
relation languages spoken, written or signed
type language
['James Klugmann', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:James_Klugmann property:languages_spoken,_written_or_signed ?k }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2583226,P1412,c(Q34770))
action filter_type
action find
entity Q2583226
relation P1412
type Q34770
James Klugmann can read in [ANSWER]
['Q2583226', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q2583226 property:P1412 ?k }
English
James Klugmann can read in English
English
action filter_type
action find
entity James Klugmann
relation languages spoken, written or signed
type language
['James Klugmann', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:James_Klugmann property:languages_spoken,_written_or_signed ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2583226
P69
Q41176
USER
Which building is that person an alumni of ?
(Q1860,P69,c(Q41176))
action filter_type
action find
entity Q2583226
relation P69
type Q41176
['Q1860', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q41176 . resource:Q2583226 property:P69 ?k }
James Klugmann
action filter_type
action find
entity James Klugmann
relation educated at
type building
['English', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:building . resource:James_Klugmann property:educated_at ?k }
[]
building
Q332342
SYSTEM
Trinity College, Cambridge
Q332342
(Q1860,P69,c(Q41176))
action filter_type
action find
entity Q2583226
relation P69
type Q41176
[ANSWER] is that person an alumni of
['Q1860', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q41176 . resource:Q2583226 property:P69 ?k }
Trinity College, Cambridge
Trinity College, Cambridge is that person an alumni of
Trinity College, Cambridge
action filter_type
action find
entity James Klugmann
relation educated at
type building
['English', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:building . resource:James_Klugmann property:educated_at ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q332342 Q217790
P69
Q502895
USER
Is Lawrence Lessig an alumni of that building ?
(Q217790,P69,Q332342)
action is_in
entity Q332342
action find
entity Q217790
relation P69
['Q217790', 'P69', 'Q332342']
ASK WHERE { resource:Q217790 property:P69 resource:Q332342 }
Trinity College, Cambridge Lawrence Lessig
action is_in
entity Trinity College, Cambridge
action find
entity Lawrence Lessig
relation educated at
['Lawrence Lessig', 'educated at', 'Trinity College, Cambridge']
ASK WHERE { resource:Lawrence_Lessig property:educated_at resource:Trinity_College,_Cambridge }
[]
common name
SYSTEM
YES
(Q217790,P69,Q332342)
action is_in
entity Q332342
action find
entity Q217790
relation P69
[ANSWER]
['Q217790', 'P69', 'Q332342']
ASK WHERE { resource:Q217790 property:P69 resource:Q332342 }
Yes
action is_in
entity Trinity College, Cambridge
action find
entity Lawrence Lessig
relation educated at
['Lawrence Lessig', 'educated at', 'Trinity College, Cambridge']
ASK WHERE { resource:Lawrence_Lessig property:educated_at resource:Trinity_College,_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332342
P112
Q1055028
USER
Which college of the University of Cambridge was founded by that building ?
action filter_type
action find_reverse
entity Q332342
relation P112
type Q1055028
SELECT DISTINCT ?s WHERE { ?s property:P112 resource:Q332342 . ?s rdf:type ontology:Q1055028 }
Trinity College, Cambridge
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation founder
type college of the University of Cambridge
SELECT DISTINCT ?s WHERE { ?s property:founder resource:Trinity_College,_Cambridge . ?s rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q675110
SYSTEM
Darwin College
Q675110
action filter_type
action find_reverse
entity Q332342
relation P112
type Q1055028
[ANSWER] was founded by that building
SELECT DISTINCT ?s WHERE { ?s property:P112 resource:Q332342 . ?s rdf:type ontology:Q1055028 }
Darwin College
Darwin College was founded by that building
Darwin College
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation founder
type college of the University of Cambridge
SELECT DISTINCT ?s WHERE { ?s property:founder resource:Trinity_College,_Cambridge . ?s rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q41176 Q11060274 Q340169
USER
How many buildings are depicted in atleast 1 prints and medias ?
(c(Q11060274)|c(Q340169),P180,c(Q41176))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q41176
type Q340169
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?h WHERE { { ?z property:P180 ?h . ?h rdf:type ontology:Q41176 . ?z rdf:type ontology:Q11060274 } UNION { ?z property:P180 ?h . ?h rdf:type ontology:Q41176 . ?z rdf:type ontology:Q340169 } } GROUP BY ?h } . FILTER ( ?q >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type building
type print
action find_reverse_tuple_counts
relation depicts
type building
type media
value 1
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?h WHERE { { ?z property:depicts ?h . ?h rdf:type ontology:building . ?z rdf:type ontology:print } UNION { ?z property:depicts ?h . ?h rdf:type ontology:building . ?z rdf:type ontology:media } } GROUP BY ?h } . FILTER ( ?q >= 1 ) }
[]
building print media
SYSTEM
8
Q16970 Q170544 Q193193 Q123256 Q867143 Q13164546 Q83405 Q267596
(c(Q11060274)|c(Q340169),P180,c(Q41176))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q41176
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?h WHERE { { ?z property:P180 ?h . ?h rdf:type ontology:Q41176 . ?z rdf:type ontology:Q11060274 } UNION { ?z property:P180 ?h . ?h rdf:type ontology:Q41176 . ?z rdf:type ontology:Q340169 } } GROUP BY ?h } . FILTER ( ?q >= 1 ) }
church tent Sainte Chapelle Palais du Trocadéro Roman temple butcher shop factory ancient Greek temple
8
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type building
type print
action find_reverse_tuple_counts
relation depicts
type building
type media
value 1
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?h WHERE { { ?z property:depicts ?h . ?h rdf:type ontology:building . ?z rdf:type ontology:print } UNION { ?z property:depicts ?h . ?h rdf:type ontology:building . ?z rdf:type ontology:media } } GROUP BY ?h } . FILTER ( ?q >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q332342 Q9061857
P1435
Q2065736
USER
How many cultural properties are the heritage status of Trinity College, Cambridge or portal moralles ?
(Q332342,P1435,c(Q2065736)) (Q9061857,P1435,c(Q2065736))
action count
action union
action filter_type
action find
entity Q332342
relation P1435
type Q2065736
action filter_type
action find
entity Q9061857
relation P1435
type Q2065736
['Q332342', 'P1435', {'concept': 'Q2065736'}] ['Q9061857', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Q332342 ) ( resource:Q9061857 ) } . ?z property:P1435 ?j }
Trinity College, Cambridge portal moralles
action count
action union
action filter_type
action find
entity Trinity College, Cambridge
relation heritage status
type cultural property
action filter_type
action find
entity portal moralles
relation heritage status
type cultural property
['Trinity College, Cambridge', 'heritage status', {'concept': 'cultural property'}] ['portal moralles', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Trinity_College,_Cambridge ) ( resource:portal_moralles ) } . ?z property:heritage_status ?j }
[]
cultural property
SYSTEM
2
Q23712 Q1019352
(Q332342,P1435,c(Q2065736)) (Q9061857,P1435,c(Q2065736))
action count
action union
action filter_type
action find
entity Q332342
relation P1435
type Q2065736
action filter_type
action find
entity Q9061857
relation P1435
type Q2065736
[ANSWER]
['Q332342', 'P1435', {'concept': 'Q2065736'}] ['Q9061857', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Q332342 ) ( resource:Q9061857 ) } . ?z property:P1435 ?j }
Bien de Interés Cultural Cultural Asset of National Interest
2
action count
action union
action filter_type
action find
entity Trinity College, Cambridge
relation heritage status
type cultural property
action filter_type
action find
entity portal moralles
relation heritage status
type cultural property
['Trinity College, Cambridge', 'heritage status', {'concept': 'cultural property'}] ['portal moralles', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Trinity_College,_Cambridge ) ( resource:portal_moralles ) } . ?z property:heritage_status ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2050534
P162
Q838948
USER
Which works of art created Mohanlal ?
(c(Q838948),P162,Q2050534)
action filter_type
action find_reverse
entity Q2050534
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q2050534']
SELECT DISTINCT ?r WHERE { ?r property:P162 resource:Q2050534 . ?r rdf:type ontology:Q838948 }
Mohanlal
action filter_type
action find_reverse
entity Mohanlal
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Mohanlal']
SELECT DISTINCT ?r WHERE { ?r property:producer resource:Mohanlal . ?r rdf:type ontology:work_of_art }
[]
work of art
Q3914903 Q6343350 Q5657490
SYSTEM
Lokpal, Kaalapani, Harikrishnans
Q7089205 Q7897182 Q6355644 Q5772035 Q3914903 Q4901186 Q5657490 Q6361199 Q6343350 Q7913965 Q3575221
(c(Q838948),P162,Q2050534)
action filter_type
action find_reverse
entity Q2050534
relation P162
type Q838948
[ANSWERS] created Mohanlal
[{'concept': 'Q838948'}, 'P162', 'Q2050534']
SELECT DISTINCT ?r WHERE { ?r property:P162 resource:Q2050534 . ?r rdf:type ontology:Q838948 }
Olympiyan Anthony Adam Unnikale Oru Kadha Parayam Kamaladalam His Highness Abdullah Lokpal Bharatham Harikrishnans Kandahar Kaalapani Vanaprastham Pingami
Lokpal, Kaalapani and Harikrishnans created Mohanlal
Lokpal Kaalapani Harikrishnans
action filter_type
action find_reverse
entity Mohanlal
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Mohanlal']
SELECT DISTINCT ?r WHERE { ?r property:producer resource:Mohanlal . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2050534
P551
Q56061
USER
Where did Mohanlal reside ?
(Q2050534,P551,c(Q56061))
action filter_type
action find
entity Q2050534
relation P551
type Q56061
['Q2050534', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2050534 property:P551 ?y . ?y rdf:type ontology:Q56061 }
Mohanlal
action filter_type
action find
entity Mohanlal
relation residence
type administrative territorial entity
['Mohanlal', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Mohanlal property:residence ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1800 Q167715
SYSTEM
Kochi, Thiruvananthapuram
Q1800 Q167715
(Q2050534,P551,c(Q56061))
action filter_type
action find
entity Q2050534
relation P551
type Q56061
Mohanlal resided in [ANSWERS]
['Q2050534', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q2050534 property:P551 ?y . ?y rdf:type ontology:Q56061 }
Kochi Thiruvananthapuram
Mohanlal resided in Kochi and Thiruvananthapuram
Kochi Thiruvananthapuram
action filter_type
action find
entity Mohanlal
relation residence
type administrative territorial entity
['Mohanlal', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Mohanlal property:residence ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5140417
Q56061
USER
And how about Cody Donovan?
(Q5140417,P551,c(Q56061))
action filter_type
action find
entity Q5140417
relation P551
type Q56061
['Q5140417', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5140417 property:P551 ?j . ?j rdf:type ontology:Q56061 }
Cody Donovan
action filter_type
action find
entity Cody Donovan
relation residence
type administrative territorial entity
['Cody Donovan', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Cody_Donovan property:residence ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16554
SYSTEM
Denver
Q16554
(Q5140417,P551,c(Q56061))
action filter_type
action find
entity Q5140417
relation P551
type Q56061
[ANSWER]
['Q5140417', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5140417 property:P551 ?j . ?j rdf:type ontology:Q56061 }
Denver
Denver
action filter_type
action find
entity Cody Donovan
relation residence
type administrative territorial entity
['Cody Donovan', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Cody_Donovan property:residence ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]