Simple Question (Direct)
Simple Question
Q8060272
P734
Q82799
USER
Who is associated with Yuen-Ying Chan ?
(Q8060272,P734,c(Q82799))
action filter_type
action find
entity Q8060272
relation P734
type Q82799
['Q8060272', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q8060272 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Yuen-Ying Chan
action filter_type
action find
entity Yuen-Ying Chan
relation family name
type name
['Yuen-Ying Chan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Yuen-Ying_Chan property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q804988
SYSTEM
Chen
Q804988
(Q8060272,P734,c(Q82799))
action filter_type
action find
entity Q8060272
relation P734
type Q82799
[ANSWER] is associated with Yuen-Ying Chan
['Q8060272', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q8060272 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Chen
Chen is associated with Yuen-Ying Chan
Chen
action filter_type
action find
entity Yuen-Ying Chan
relation family name
type name
['Yuen-Ying Chan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Yuen-Ying_Chan property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8060272
P69
Q3918
USER
What are the universities where Yuen-Ying Chan were educated ?
(Q8060272,P69,c(Q3918))
action filter_type
action find
entity Q8060272
relation P69
type Q3918
['Q8060272', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q8060272 property:P69 ?z . ?z rdf:type ontology:Q3918 }
Yuen-Ying Chan
action filter_type
action find
entity Yuen-Ying Chan
relation educated at
type university
['Yuen-Ying Chan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Yuen-Ying_Chan property:educated_at ?z . ?z rdf:type ontology:university }
[]
university
Q15568 Q230492 Q15570
SYSTEM
The University of Hong Kong, University of Michigan, The Chinese University of Hong Kong
Q15568 Q230492 Q15570
(Q8060272,P69,c(Q3918))
action filter_type
action find
entity Q8060272
relation P69
type Q3918
The universities Yuen-Ying Chan were educated are [ANSWERS]
['Q8060272', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q8060272 property:P69 ?z . ?z rdf:type ontology:Q3918 }
The University of Hong Kong University of Michigan The Chinese University of Hong Kong
The universities Yuen-Ying Chan were educated are The University of Hong Kong, University of Michigan and The Chinese University of Hong Kong
The University of Hong Kong University of Michigan The Chinese University of Hong Kong
action filter_type
action find
entity Yuen-Ying Chan
relation educated at
type university
['Yuen-Ying Chan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Yuen-Ying_Chan property:educated_at ?z . ?z rdf:type ontology:university }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15570
P361
Q874405
USER
Which social group is a portion of that university ?
(c(Q874405),P361,Q15570)
action filter_type
action find_reverse
entity Q15570
relation P361
type Q874405
[{'concept': 'Q874405'}, 'P361', 'Q15570']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q15570 . ?o rdf:type ontology:Q874405 }
The Chinese University of Hong Kong
action filter_type
action find_reverse
entity The Chinese University of Hong Kong
relation part of
type social group
[{'concept': 'social group'}, 'part of', 'The Chinese University of Hong Kong']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:The_Chinese_University_of_Hong_Kong . ?o rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q15568
SYSTEM
Did you mean The University of Hong Kong ?
Q15568 Q230492 Q15570
(c(Q874405),P361,Q15568) (c(Q874405),P361,Q230492) (c(Q874405),P361,Q15570)
[ANSWER]
[{'concept': 'Q874405'}, 'P361', 'Q15568'] [{'concept': 'Q874405'}, 'P361', 'Q230492'] [{'concept': 'Q874405'}, 'P361', 'Q15570']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q15570 . ?o rdf:type ontology:Q874405 }
The University of Hong Kong University of Michigan The Chinese University of Hong Kong
Did you mean The University of Hong Kong ?
The University of Hong Kong
[{'concept': 'social group'}, 'part of', 'The University of Hong Kong'] [{'concept': 'social group'}, 'part of', 'University of Michigan'] [{'concept': 'social group'}, 'part of', 'The Chinese University of Hong Kong']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:The_Chinese_University_of_Hong_Kong . ?o rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant The Chinese University of Hong Kong. Could you tell me the answer for that?
(c(Q874405),P361,Q15570)
Q15570
[{'concept': 'Q874405'}, 'P361', 'Q15570']
[{'concept': 'social group'}, 'part of', 'The Chinese University of Hong Kong']
[]
Q1666729
SYSTEM
Chung Chi College
Q1666729
(c(Q874405),P361,Q15570)
action filter_type
action find_reverse
entity Q15570
relation P361
type Q874405
[ANSWER] is a portion of that university
[{'concept': 'Q874405'}, 'P361', 'Q15570']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q15570 . ?o rdf:type ontology:Q874405 }
Chung Chi College
Chung Chi College is a portion of that university
Chung Chi College
action filter_type
action find_reverse
entity The Chinese University of Hong Kong
relation part of
type social group
[{'concept': 'social group'}, 'part of', 'The Chinese University of Hong Kong']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:The_Chinese_University_of_Hong_Kong . ?o rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1666729 Q6844861
P361
Q3918
USER
Is Chung Chi College a component of Miguel de Cervantes University ?
(Q1666729,P361,Q6844861)
action is_in
entity Q6844861
action find
entity Q1666729
relation P361
['Q1666729', 'P361', 'Q6844861']
ASK WHERE { resource:Q1666729 property:P361 resource:Q6844861 }
Chung Chi College Miguel de Cervantes University
action is_in
entity Miguel de Cervantes University
action find
entity Chung Chi College
relation part of
['Chung Chi College', 'part of', 'Miguel de Cervantes University']
ASK WHERE { resource:Chung_Chi_College property:part_of resource:Miguel_de_Cervantes_University }
[]
university
SYSTEM
NO
(Q1666729,P361,Q6844861)
action is_in
entity Q6844861
action find
entity Q1666729
relation P361
[ANSWER]
['Q1666729', 'P361', 'Q6844861']
ASK WHERE { resource:Q1666729 property:P361 resource:Q6844861 }
No
action is_in
entity Miguel de Cervantes University
action find
entity Chung Chi College
relation part of
['Chung Chi College', 'part of', 'Miguel de Cervantes University']
ASK WHERE { resource:Chung_Chi_College property:part_of resource:Miguel_de_Cervantes_University }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15570 Q148
P17
Q15617994
USER
Is The Chinese University of Hong Kong present in People's Republic of China ?
(Q15570,P17,Q148)
action is_in
entity Q148
action find
entity Q15570
relation P17
['Q15570', 'P17', 'Q148']
ASK WHERE { resource:Q15570 property:P17 resource:Q148 }
The Chinese University of Hong Kong People's Republic of China
action is_in
entity People's Republic of China
action find
entity The Chinese University of Hong Kong
relation country
['The Chinese University of Hong Kong', 'country', "People's Republic of China"]
ASK WHERE { resource:The_Chinese_University_of_Hong_Kong property:country resource:People's_Republic_of_China }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q15570,P17,Q148)
action is_in
entity Q148
action find
entity Q15570
relation P17
[ANSWER]
['Q15570', 'P17', 'Q148']
ASK WHERE { resource:Q15570 property:P17 resource:Q148 }
Yes
action is_in
entity People's Republic of China
action find
entity The Chinese University of Hong Kong
relation country
['The Chinese University of Hong Kong', 'country', "People's Republic of China"]
ASK WHERE { resource:The_Chinese_University_of_Hong_Kong property:country resource:People's_Republic_of_China }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2472587 Q15619164 Q82799
USER
Which names have atleast 1 peoples or abstract beings as their toponym ?
(c(Q82799),P138,c(Q2472587)|c(Q15619164))
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q15619164
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q15619164 . ?k property:P138 ?m } UNION { ?k property:P138 ?m . ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q2472587 } } GROUP BY ?k } . FILTER ( ?n >= 1 ) }
action atleast
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type abstract being
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:name . ?m rdf:type ontology:abstract_being . ?k property:named_after ?m } UNION { ?k property:named_after ?m . ?k rdf:type ontology:name . ?m rdf:type ontology:people } } GROUP BY ?k } . FILTER ( ?n >= 1 ) }
[]
people abstract being name
Q1069827 Q17643158 Q20818054
SYSTEM
Rosario, If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned, Giolla Íosa
Q1069827 Q17643158 Q20027829 Q20818054 Q20963077
(c(Q82799),P138,c(Q2472587)|c(Q15619164))
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q15619164
value 1
[ANSWERS] have atleast 1 peoples or abstract beings as their toponym
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q15619164 . ?k property:P138 ?m } UNION { ?k property:P138 ?m . ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q2472587 } } GROUP BY ?k } . FILTER ( ?n >= 1 ) }
Rosario If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Saxon Giolla Íosa Aryaman
Rosario, If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned and Giolla Íosa have atleast 1 peoples or abstract beings as their toponym
Rosario If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa
action atleast
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type abstract being
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?k WHERE { { ?k rdf:type ontology:name . ?m rdf:type ontology:abstract_being . ?k property:named_after ?m } UNION { ?k property:named_after ?m . ?k rdf:type ontology:name . ?m rdf:type ontology:people } } GROUP BY ?k } . FILTER ( ?n >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q26262632
P138
Q502895 Q486972 Q82799
USER
How many names come from greater number of people and human settlements than Ofer ?
(c(Q82799),P138,c(Q502895)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q26262632
relation P138
type Q502895
type Q486972
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { FILTER ( ?o > ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q26262632 property:P138 ?h . { VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } . ?h rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?v WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } } GROUP BY ?v } }
Ofer
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Ofer
relation named after
type common name
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { FILTER ( ?o > ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Ofer property:named_after ?h . { VALUES ( ?g ) { ( ontology:common_name ) ( ontology:human_settlement ) } . ?h rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?v WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:common_name ) ( ontology:human_settlement ) } } GROUP BY ?v } }
[]
common name human settlement name
SYSTEM
9
Q27022433 Q18198499 Q19558843 Q1746111 Q23885849 Q21161805 Q807882 Q688520 Q23301520
(c(Q82799),P138,c(Q502895)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q26262632
relation P138
type Q502895
type Q486972
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { FILTER ( ?o > ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q26262632 property:P138 ?h . { VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } . ?h rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?v WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } } GROUP BY ?v } }
Danziger Elizur Pseudo-Lucian Michael Gregorio Achaz Cain Barbus Müller Arminia Aonchotheca moraveci
9
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Ofer
relation named after
type common name
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { FILTER ( ?o > ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Ofer property:named_after ?h . { VALUES ( ?g ) { ( ontology:common_name ) ( ontology:human_settlement ) } . ?h rdf:type ?g } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?v WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:common_name ) ( ontology:human_settlement ) } } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q21508058
P138
Q502895 Q486972 Q82799
USER
And how about Delaroche?
(c(Q82799),P138,c(Q502895)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q21508058
relation P138
type Q502895
type Q486972
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?l property:P138 ?e . ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q82799 } UNION { ?l property:P138 ?e . ?l rdf:type ontology:Q82799 . ?e rdf:type ontology:Q486972 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q21508058 property:P138 ?c . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q486972 } } } } . FILTER ( ?q > ?z ) }
Delaroche
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Delaroche
relation named after
type common name
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?l property:named_after ?e . ?e rdf:type ontology:common_name . ?l rdf:type ontology:name } UNION { ?l property:named_after ?e . ?l rdf:type ontology:name . ?e rdf:type ontology:human_settlement } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Delaroche property:named_after ?c . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:human_settlement } } } } . FILTER ( ?q > ?z ) }
[]
common name human settlement name
SYSTEM
9
Q27022433 Q18198499 Q19558843 Q1746111 Q23885849 Q21161805 Q807882 Q688520 Q23301520
(c(Q82799),P138,c(Q502895)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q21508058
relation P138
type Q502895
type Q486972
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?l property:P138 ?e . ?e rdf:type ontology:Q502895 . ?l rdf:type ontology:Q82799 } UNION { ?l property:P138 ?e . ?l rdf:type ontology:Q82799 . ?e rdf:type ontology:Q486972 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q21508058 property:P138 ?c . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q486972 } } } } . FILTER ( ?q > ?z ) }
Danziger Elizur Pseudo-Lucian Michael Gregorio Achaz Cain Barbus Müller Arminia Aonchotheca moraveci
9
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Delaroche
relation named after
type common name
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?l WHERE { { ?l property:named_after ?e . ?e rdf:type ontology:common_name . ?l rdf:type ontology:name } UNION { ?l property:named_after ?e . ?l rdf:type ontology:name . ?e rdf:type ontology:human_settlement } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Delaroche property:named_after ?c . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:human_settlement } } } } . FILTER ( ?q > ?z ) }
[]