Simple Question (Direct)
Simple Question
Q5163560
P106
Q12737077
USER
Which occupation is the profession of Constance Mabel Winchell ?
(Q5163560,P106,c(Q12737077))
action filter_type
action find
entity Q5163560
relation P106
type Q12737077
['Q5163560', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5163560 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Constance Mabel Winchell
action filter_type
action find
entity Constance Mabel Winchell
relation occupation
type occupation
['Constance Mabel Winchell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Constance_Mabel_Winchell property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q182436
SYSTEM
librarian
Q182436
(Q5163560,P106,c(Q12737077))
action filter_type
action find
entity Q5163560
relation P106
type Q12737077
[ANSWER] is the profession of Constance Mabel Winchell
['Q5163560', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5163560 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
librarian
Librarian is the profession of Constance Mabel Winchell
librarian
action filter_type
action find
entity Constance Mabel Winchell
relation occupation
type occupation
['Constance Mabel Winchell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Constance_Mabel_Winchell property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5163560
P69
Q163740
USER
Which nonprofit organization is that person an alumni of ?
(Q182436,P69,c(Q163740))
action filter_type
action find
entity Q5163560
relation P69
type Q163740
['Q182436', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q163740 . resource:Q5163560 property:P69 ?q }
Constance Mabel Winchell
action filter_type
action find
entity Constance Mabel Winchell
relation educated at
type nonprofit organization
['librarian', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:nonprofit_organization . resource:Constance_Mabel_Winchell property:educated_at ?q }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q182436,P69,c(Q163740))
action filter_type
action find
entity Q5163560
relation P69
type Q163740
[ANSWER] is that person an alumni of
['Q182436', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q163740 . resource:Q5163560 property:P69 ?q }
Columbia University
Columbia University is that person an alumni of
Columbia University
action filter_type
action find
entity Constance Mabel Winchell
relation educated at
type nonprofit organization
['librarian', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:nonprofit_organization . resource:Constance_Mabel_Winchell property:educated_at ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1595811
P180
Q12737077 Q3305213 Q3516658
USER
Which occupations are depicted in more number of paintings or heraldic symbols than Heimkehrer ?
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q1595811
relation P180
type Q3305213
type Q3516658
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P180 resource:Q1595811 . { VALUES ( ?s ) { ( ontology:Q3305213 ) ( ontology:Q3516658 ) } . ?o rdf:type ?s } } } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?k WHERE { { ?h property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q3305213 } UNION { ?h property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q3516658 } } GROUP BY ?k } }
Heimkehrer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity Heimkehrer
relation depicts
type painting
type heraldic symbol
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:depicts resource:Heimkehrer . { VALUES ( ?s ) { ( ontology:painting ) ( ontology:heraldic_symbol ) } . ?o rdf:type ?s } } } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?k WHERE { { ?h property:depicts ?k . ?k rdf:type ontology:occupation . ?h rdf:type ontology:painting } UNION { ?h property:depicts ?k . ?k rdf:type ontology:occupation . ?h rdf:type ontology:heraldic_symbol } } GROUP BY ?k } }
[]
occupation painting heraldic symbol
Q131512 Q1401609 Q4991371
SYSTEM
farmer, vaquero, soldier
Q131512 Q1401609 Q1124183 Q1250916 Q81710 Q1259917 Q4504549 Q842782 Q486748 Q483501 Q215536 Q19723482 Q1139055 Q1028181 Q733786 Q12097 Q12059906 Q14009165 Q10833314 Q1318187 Q4991371 Q250867 Q10873124 Q2730732 Q103163 Q207651 Q5716684 Q833860 Q2191547 Q838811 Q331432 Q639669 Q49757 Q15296811 Q1281618 Q811122 Q42603 Q1630100
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q1595811
relation P180
type Q3305213
type Q3516658
[ANSWERS] are depicted in more number of paintings or heraldic symbols than Heimkehrer
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P180 resource:Q1595811 . { VALUES ( ?s ) { ( ontology:Q3305213 ) ( ontology:Q3516658 ) } . ?o rdf:type ?s } } } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?k WHERE { { ?h property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q3305213 } UNION { ?h property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q3516658 } } GROUP BY ?k } }
farmer vaquero lumberjack warrior shepherd violinist religious servant detective pianist artist merchant mandolinist tax collector painter monk king herder trapper tennis player scrivener soldier Catholic priest chess player equestrian abbot executioner dancer maid picador peasant fisherman musician poet draughtsperson sculptor construction worker priest art model
Farmer, vaquero and soldier are depicted in more number of paintings or heraldic symbols than Heimkehrer
farmer vaquero soldier
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity Heimkehrer
relation depicts
type painting
type heraldic symbol
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:depicts resource:Heimkehrer . { VALUES ( ?s ) { ( ontology:painting ) ( ontology:heraldic_symbol ) } . ?o rdf:type ?s } } } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) ?k WHERE { { ?h property:depicts ?k . ?k rdf:type ontology:occupation . ?h rdf:type ontology:painting } UNION { ?h property:depicts ?k . ?k rdf:type ontology:occupation . ?h rdf:type ontology:heraldic_symbol } } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6735310
P180
Q12737077 Q3305213 Q3516658
USER
And what about Maid of honour?
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q6735310
relation P180
type Q3305213
type Q3516658
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q3516658 } UNION { ?f property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q3305213 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { VALUES ( ?l ) { ( ontology:Q3516658 ) ( ontology:Q3305213 ) } . ?o rdf:type ?l } . ?o property:P180 resource:Q6735310 } } . FILTER ( ?d > ?u ) }
Maid of honour
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity Maid of honour
relation depicts
type painting
type heraldic symbol
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:depicts ?s . ?s rdf:type ontology:occupation . ?f rdf:type ontology:heraldic_symbol } UNION { ?f property:depicts ?s . ?s rdf:type ontology:occupation . ?f rdf:type ontology:painting } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { VALUES ( ?l ) { ( ontology:heraldic_symbol ) ( ontology:painting ) } . ?o rdf:type ?l } . ?o property:depicts resource:Maid_of_honour } } . FILTER ( ?d > ?u ) }
[]
occupation painting heraldic symbol
Q131512 Q1401609 Q4991371
SYSTEM
farmer, vaquero, soldier
Q131512 Q1401609 Q1124183 Q1250916 Q81710 Q1259917 Q4504549 Q842782 Q486748 Q483501 Q215536 Q19723482 Q1139055 Q1028181 Q733786 Q12097 Q12059906 Q14009165 Q10833314 Q1318187 Q4991371 Q250867 Q10873124 Q2730732 Q103163 Q207651 Q5716684 Q833860 Q2191547 Q838811 Q331432 Q639669 Q49757 Q15296811 Q1281618 Q811122 Q42603 Q1630100
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q6735310
relation P180
type Q3305213
type Q3516658
[ANSWERS]
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q3516658 } UNION { ?f property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q3305213 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { VALUES ( ?l ) { ( ontology:Q3516658 ) ( ontology:Q3305213 ) } . ?o rdf:type ?l } . ?o property:P180 resource:Q6735310 } } . FILTER ( ?d > ?u ) }
farmer vaquero lumberjack warrior shepherd violinist religious servant detective pianist artist merchant mandolinist tax collector painter monk king herder trapper tennis player scrivener soldier Catholic priest chess player equestrian abbot executioner dancer maid picador peasant fisherman musician poet draughtsperson sculptor construction worker priest art model
farmer vaquero soldier
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity Maid of honour
relation depicts
type painting
type heraldic symbol
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:depicts ?s . ?s rdf:type ontology:occupation . ?f rdf:type ontology:heraldic_symbol } UNION { ?f property:depicts ?s . ?s rdf:type ontology:occupation . ?f rdf:type ontology:painting } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { VALUES ( ?l ) { ( ontology:heraldic_symbol ) ( ontology:painting ) } . ?o rdf:type ?l } . ?o property:depicts resource:Maid_of_honour } } . FILTER ( ?d > ?u ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories did that occupation originate ?
(Q1401609,P495,c(Q15617994))
['Q1401609', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1401609 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:vaquero property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q4991371
SYSTEM
Did you mean soldier ?
(Q131512,P495,c(Q15617994)) (Q1401609,P495,c(Q15617994)) (Q4991371,P495,c(Q15617994))
[ANSWER]
['Q131512', 'P495', {'concept': 'Q15617994'}] ['Q1401609', 'P495', {'concept': 'Q15617994'}] ['Q4991371', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1401609 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean soldier ?
soldier
['farmer', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['soldier', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:vaquero property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant vaquero. Could you tell me the answer for that?
(Q1401609,P495,c(Q15617994))
Q1401609
['Q1401609', 'P495', {'concept': 'Q15617994'}]
['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q29
(Q1401609,P495,c(Q15617994))
[ANSWER]
['Q1401609', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1401609 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Spain
1
['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:vaquero property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q182436
P39
Q502895
USER
Which people were appointed for the position of librarian ?
(c(Q502895),P39,Q182436)
action filter_type
action find_reverse
entity Q182436
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q182436']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P39 resource:Q182436 }
librarian
action filter_type
action find_reverse
entity librarian
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'librarian']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:position_held resource:librarian }
[]
common name
Q17276119 Q26883536 Q5947728
SYSTEM
Daniel C. Tsang, Father Bicaïs, Juan Bautista Cubíe
Q16649380 Q17276119 Q5947728 Q26883536
(c(Q502895),P39,Q182436)
action filter_type
action find_reverse
entity Q182436
relation P39
type Q502895
[ANSWERS] were appointed for the position of librarian
[{'concept': 'Q502895'}, 'P39', 'Q182436']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P39 resource:Q182436 }
Harald Heyman Daniel C. Tsang Juan Bautista Cubíe Father Bicaïs
Daniel C. Tsang, Father Bicaïs and Juan Bautista Cubíe were appointed for the position of librarian
Daniel C. Tsang Father Bicaïs Juan Bautista Cubíe
action filter_type
action find_reverse
entity librarian
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'librarian']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:position_held resource:librarian }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17276119 Q26883536 Q5947728
P21
Q290
USER
Which sexes do those people have ?
(Q17276119,P21,c(Q290)) (Q26883536,P21,c(Q290)) (Q5947728,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q17276119', 'P21', {'concept': 'Q290'}] ['Q26883536', 'P21', {'concept': 'Q290'}] ['Q5947728', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?h property:P21 ?l . ?l rdf:type ontology:Q290 . VALUES ( ?h ) { ( resource:Q16649380 ) ( resource:Q17276119 ) ( resource:Q5947728 ) } }
Daniel C. Tsang Father Bicaïs Juan Bautista Cubíe
action filter_type
action find
entity prev_answer
relation gender
type sex
['Daniel C. Tsang', 'gender', {'concept': 'sex'}] ['Father Bicaïs', 'gender', {'concept': 'sex'}] ['Juan Bautista Cubíe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?h property:gender ?l . ?l rdf:type ontology:sex . VALUES ( ?h ) { ( resource:Harald_Heyman ) ( resource:Daniel_C._Tsang ) ( resource:Juan_Bautista_Cubíe ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q17276119,P21,c(Q290)) (Q26883536,P21,c(Q290)) (Q5947728,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWER], [ANSWER] and [ANSWER]
['Q17276119', 'P21', {'concept': 'Q290'}] ['Q26883536', 'P21', {'concept': 'Q290'}] ['Q5947728', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?h property:P21 ?l . ?l rdf:type ontology:Q290 . VALUES ( ?h ) { ( resource:Q16649380 ) ( resource:Q17276119 ) ( resource:Q5947728 ) } }
male male male
Those people have a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Daniel C. Tsang', 'gender', {'concept': 'sex'}] ['Father Bicaïs', 'gender', {'concept': 'sex'}] ['Juan Bautista Cubíe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?h property:gender ?l . ?l rdf:type ontology:sex . VALUES ( ?h ) { ( resource:Harald_Heyman ) ( resource:Daniel_C._Tsang ) ( resource:Juan_Bautista_Cubíe ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49088
P127
Q811979
USER
Which architectural structures are owned by Columbia University ?
(c(Q811979),P127,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q49088']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q49088 . ?x rdf:type ontology:Q811979 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Columbia University']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Columbia_University . ?x rdf:type ontology:architectural_structure }
[]
architectural structure
Q5640913 Q7346228
SYSTEM
Hal Robertson Field at Phillip Satow Stadium, Robert K. Kraft Field at Lawrence A. Wien Stadium
Q5640913 Q7346228
(c(Q811979),P127,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P127
type Q811979
The [ANSWERS] are owned by Columbia University
[{'concept': 'Q811979'}, 'P127', 'Q49088']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q49088 . ?x rdf:type ontology:Q811979 }
Hal Robertson Field at Phillip Satow Stadium Robert K. Kraft Field at Lawrence A. Wien Stadium
The Hal Robertson Field at Phillip Satow Stadium and Robert K. Kraft Field at Lawrence A. Wien Stadium are owned by Columbia University
Hal Robertson Field at Phillip Satow Stadium Robert K. Kraft Field at Lawrence A. Wien Stadium
action filter_type
action find_reverse
entity Columbia University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Columbia University']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Columbia_University . ?x rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5640913 Q7346228
P127
Q163740
USER
Who are the owners of Hal Robertson Field at Phillip Satow Stadium and Robert K. Kraft Field at Lawrence A. Wien Stadium ?
(Q5640913,P127,c(Q163740)) (Q7346228,P127,c(Q163740))
action union
action filter_type
action find
entity Q5640913
relation P127
type Q163740
action filter_type
action find
entity Q7346228
relation P127
type Q163740
['Q5640913', 'P127', {'concept': 'Q163740'}] ['Q7346228', 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { { resource:Q5640913 property:P127 ?d . ?d rdf:type ontology:Q163740 } UNION { resource:Q7346228 property:P127 ?d . ?d rdf:type ontology:Q163740 } }
Hal Robertson Field at Phillip Satow Stadium Robert K. Kraft Field at Lawrence A. Wien Stadium
action union
action filter_type
action find
entity Hal Robertson Field at Phillip Satow Stadium
relation owned by
type nonprofit organization
action filter_type
action find
entity Robert K. Kraft Field at Lawrence A. Wien Stadium
relation owned by
type nonprofit organization
['Hal Robertson Field at Phillip Satow Stadium', 'owned by', {'concept': 'nonprofit organization'}] ['Robert K. Kraft Field at Lawrence A. Wien Stadium', 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { { resource:Hal_Robertson_Field_at_Phillip_Satow_Stadium property:owned_by ?d . ?d rdf:type ontology:nonprofit_organization } UNION { resource:Robert_K._Kraft_Field_at_Lawrence_A._Wien_Stadium property:owned_by ?d . ?d rdf:type ontology:nonprofit_organization } }
[]
nonprofit organization
Q49088 Q49088
SYSTEM
Columbia University
Q49088 Q49088
(Q5640913,P127,c(Q163740)) (Q7346228,P127,c(Q163740))
action union
action filter_type
action find
entity Q5640913
relation P127
type Q163740
action filter_type
action find
entity Q7346228
relation P127
type Q163740
The owners of Hal Robertson Field at Phillip Satow Stadium and Robert K. Kraft Field at Lawrence A . Wien Stadium are both [ANSWER] and [ANSWER]
['Q5640913', 'P127', {'concept': 'Q163740'}] ['Q7346228', 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { { resource:Q5640913 property:P127 ?d . ?d rdf:type ontology:Q163740 } UNION { resource:Q7346228 property:P127 ?d . ?d rdf:type ontology:Q163740 } }
Columbia University Columbia University
The owners of Hal Robertson Field at Phillip Satow Stadium and Robert K. Kraft Field at Lawrence A . Wien Stadium are both Columbia University and Columbia University
Columbia University Columbia University
action union
action filter_type
action find
entity Hal Robertson Field at Phillip Satow Stadium
relation owned by
type nonprofit organization
action filter_type
action find
entity Robert K. Kraft Field at Lawrence A. Wien Stadium
relation owned by
type nonprofit organization
['Hal Robertson Field at Phillip Satow Stadium', 'owned by', {'concept': 'nonprofit organization'}] ['Robert K. Kraft Field at Lawrence A. Wien Stadium', 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { { resource:Hal_Robertson_Field_at_Phillip_Satow_Stadium property:owned_by ?d . ?d rdf:type ontology:nonprofit_organization } UNION { resource:Robert_K._Kraft_Field_at_Lawrence_A._Wien_Stadium property:owned_by ?d . ?d rdf:type ontology:nonprofit_organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26883536
P140
Q879146
USER
What is the religious affiliation of Father Bicaïs ?
(Q26883536,P140,c(Q879146))
action filter_type
action find
entity Q26883536
relation P140
type Q879146
['Q26883536', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q26883536 property:P140 ?g }
Father Bicaïs
action filter_type
action find
entity Father Bicaïs
relation religion
type Christian denomination
['Father Bicaïs', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Father_Bicaïs property:religion ?g }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q26883536,P140,c(Q879146))
action filter_type
action find
entity Q26883536
relation P140
type Q879146
The religious affiliation of Father Bicaïs is a [ANSWER]
['Q26883536', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q26883536 property:P140 ?g }
Roman Catholic Church
The religious affiliation of Father Bicaïs is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Father Bicaïs
relation religion
type Christian denomination
['Father Bicaïs', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Father_Bicaïs property:religion ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q47563
Q879146
USER
And how about Matteo Renzi?
(Q47563,P140,c(Q879146))
action filter_type
action find
entity Q47563
relation P140
type Q879146
['Q47563', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?k WHERE { resource:Q47563 property:P140 ?k . ?k rdf:type ontology:Q879146 }
Matteo Renzi
action filter_type
action find
entity Matteo Renzi
relation religion
type Christian denomination
['Matteo Renzi', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?k WHERE { resource:Matteo_Renzi property:religion ?k . ?k rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q47563,P140,c(Q879146))
action filter_type
action find
entity Q47563
relation P140
type Q879146
[ANSWER]
['Q47563', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?k WHERE { resource:Q47563 property:P140 ?k . ?k rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Matteo Renzi
relation religion
type Christian denomination
['Matteo Renzi', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?k WHERE { resource:Matteo_Renzi property:religion ?k . ?k rdf:type ontology:Christian_denomination }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9592 Q11941009
P140
Q502895
USER
Is Pere Mercè i Santaló connected to that Christian denomination by religion ?
(Q11941009,P140,Q9592)
action is_in
entity Q11941009
action find
entity Q9592
relation P140
['Q11941009', 'P140', 'Q9592']
ASK WHERE { resource:Q9592 property:P140 resource:Q11941009 }
Roman Catholic Church Pere Mercè i Santaló
action is_in
entity Pere Mercè i Santaló
action find
entity Roman Catholic Church
relation religion
['Pere Mercè i Santaló', 'religion', 'Roman Catholic Church']
ASK WHERE { resource:Roman_Catholic_Church property:religion resource:Pere_Mercè_i_Santaló }
[]
common name
SYSTEM
NO
(Q11941009,P140,Q9592)
action is_in
entity Q11941009
action find
entity Q9592
relation P140
[ANSWER]
['Q11941009', 'P140', 'Q9592']
ASK WHERE { resource:Q9592 property:P140 resource:Q11941009 }
No
action is_in
entity Pere Mercè i Santaló
action find
entity Roman Catholic Church
relation religion
['Pere Mercè i Santaló', 'religion', 'Roman Catholic Church']
ASK WHERE { resource:Roman_Catholic_Church property:religion resource:Pere_Mercè_i_Santaló }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5982660 Q5947728
P27
Q15617994
USER
Which administrative territories do Juan Bautista Cubíe or Luis Alberto Acuña Tapias belong to ?
OR((Q5947728,P27,c(Q15617994)), (Q5982660,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5947728
relation P27
action find
entity Q5982660
relation P27
type Q15617994
{'OR': [['Q5947728', 'P27', {'concept': 'Q15617994'}], ['Q5982660', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5947728 property:P27 ?j } UNION { resource:Q5982660 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Luis Alberto Acuña Tapias Juan Bautista Cubíe
action filter_type
action union
action find
entity Juan Bautista Cubíe
relation country of citizenship
action find
entity Luis Alberto Acuña Tapias
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Bautista Cubíe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luis Alberto Acuña Tapias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Juan_Bautista_Cubíe property:country_of_citizenship ?j } UNION { resource:Luis_Alberto_Acuña_Tapias property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q29
SYSTEM
Colombia, Spain
Q739 Q29
OR((Q5947728,P27,c(Q15617994)), (Q5982660,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5947728
relation P27
action find
entity Q5982660
relation P27
type Q15617994
Juan Bautista Cubíe or Luis Alberto Acuña Tapias belong to [ANSWERS]
{'OR': [['Q5947728', 'P27', {'concept': 'Q15617994'}], ['Q5982660', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5947728 property:P27 ?j } UNION { resource:Q5982660 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Colombia Spain
Juan Bautista Cubíe or Luis Alberto Acuña Tapias belong to Colombia and Spain
Colombia Spain
action filter_type
action union
action find
entity Juan Bautista Cubíe
relation country of citizenship
action find
entity Luis Alberto Acuña Tapias
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Bautista Cubíe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luis Alberto Acuña Tapias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Juan_Bautista_Cubíe property:country_of_citizenship ?j } UNION { resource:Luis_Alberto_Acuña_Tapias property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q33
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with more number of administrative territories than Finland ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?s ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q33 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?s > ?i ) }
Finland
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?s ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Finland property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with more number of administrative territories than Finland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?s ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q33 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?s > ?i ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America are known to have diplomatic connections with more number of administrative territories than Finland
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?s ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Finland property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q678
P530
Q15617994 Q15617994
USER
And how about Tonga?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q678
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?k ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Q678 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Tonga
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tonga
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?k ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Tonga property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q678
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?k ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Q678 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tonga
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?k ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Tonga property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]