Simple Question (Direct)
Simple Question
Q1583389
P106
Q12737077
USER
What does Hans Freyberg do for a living ?
(Q1583389,P106,c(Q12737077))
action filter_type
action find
entity Q1583389
relation P106
type Q12737077
['Q1583389', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1583389 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Hans Freyberg
action filter_type
action find
entity Hans Freyberg
relation occupation
type occupation
['Hans Freyberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Freyberg property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1583389,P106,c(Q12737077))
action filter_type
action find
entity Q1583389
relation P106
type Q12737077
[ANSWER] Hans Freyberg does for a living
['Q1583389', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1583389 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
Politician Hans Freyberg does for a living
politician
action filter_type
action find
entity Hans Freyberg
relation occupation
type occupation
['Hans Freyberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Freyberg property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1583389
P102
Q7210356
USER
Which party does Hans Freyberg belong to ?
(Q1583389,P102,c(Q7210356))
action filter_type
action find
entity Q1583389
relation P102
type Q7210356
['Q1583389', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q1583389 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Hans Freyberg
action filter_type
action find
entity Hans Freyberg
relation member of political party
type political organization
['Hans Freyberg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Hans_Freyberg property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1583389,P102,c(Q7210356))
action filter_type
action find
entity Q1583389
relation P102
type Q7210356
Hans Freyberg belongs to [ANSWER]
['Q1583389', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q1583389 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Nazi Party
Hans Freyberg belongs to Nazi Party
Nazi Party
action filter_type
action find
entity Hans Freyberg
relation member of political party
type political organization
['Hans Freyberg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Hans_Freyberg property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3169278
Q7210356
USER
And what about Jean-Pierre Fabre?
(Q3169278,P102,c(Q7210356))
action filter_type
action find
entity Q3169278
relation P102
type Q7210356
['Q3169278', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q3169278 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Jean-Pierre Fabre
action filter_type
action find
entity Jean-Pierre Fabre
relation member of political party
type political organization
['Jean-Pierre Fabre', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Jean-Pierre_Fabre property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q2838206
SYSTEM
National Alliance for Change
Q2838206
(Q3169278,P102,c(Q7210356))
action filter_type
action find
entity Q3169278
relation P102
type Q7210356
[ANSWER]
['Q3169278', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q3169278 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
National Alliance for Change
National Alliance for Change
action filter_type
action find
entity Jean-Pierre Fabre
relation member of political party
type political organization
['Jean-Pierre Fabre', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Jean-Pierre_Fabre property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q937857
P921
Q12737077 Q191067 Q386724
USER
Which occupations were the main subjects of more number of articles or works 's work than association football player ?
(c(Q191067)|c(Q386724),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P921
type Q191067
type Q386724
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q191067 } UNION { ?f property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q386724 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P921 resource:Q937857 . { { ?q rdf:type ontology:Q191067 } UNION { ?q rdf:type ontology:Q386724 } } } } . FILTER ( ?h > ?r ) }
association football player
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity association football player
relation main subject
type article
type work
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:main_subject ?c . ?c rdf:type ontology:occupation . ?f rdf:type ontology:article } UNION { ?f property:main_subject ?c . ?c rdf:type ontology:occupation . ?f rdf:type ontology:work } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:main_subject resource:association_football_player . { { ?q rdf:type ontology:article } UNION { ?q rdf:type ontology:work } } } } . FILTER ( ?h > ?r ) }
[]
occupation article work
Q316070 Q182436 Q16746569
SYSTEM
Fletcher Christian, librarian, high school student
Q172907 Q9402 Q316070 Q510373 Q152002 Q16746569 Q732358 Q182436 Q16003532
(c(Q191067)|c(Q386724),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P921
type Q191067
type Q386724
[ANSWERS] were the main subjects of more number of articles or works 's work than association football player
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q191067 } UNION { ?f property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q386724 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P921 resource:Q937857 . { { ?q rdf:type ontology:Q191067 } UNION { ?q rdf:type ontology:Q386724 } } } } . FILTER ( ?h > ?r ) }
praetor ninja Fletcher Christian Lord High Steward pastor high school student Nomarch librarian middle school student
Fletcher Christian, librarian and high school student were the main subjects of more number of articles or works 's work than association football player
Fletcher Christian librarian high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity association football player
relation main subject
type article
type work
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { { ?f property:main_subject ?c . ?c rdf:type ontology:occupation . ?f rdf:type ontology:article } UNION { ?f property:main_subject ?c . ?c rdf:type ontology:occupation . ?f rdf:type ontology:work } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:main_subject resource:association_football_player . { { ?q rdf:type ontology:article } UNION { ?q rdf:type ontology:work } } } } . FILTER ( ?h > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q9045502
P921
Q12737077 Q191067 Q386724
USER
And also tell me about member of the Parliament of Norway?
(c(Q191067)|c(Q386724),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q9045502
relation P921
type Q191067
type Q386724
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { VALUES ( ?d ) { ( ontology:Q191067 ) ( ontology:Q386724 ) } . ?k rdf:type ?d } . ?k property:P921 resource:Q9045502 } } . FILTER ( ?n > ?o ) }
member of the Parliament of Norway
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity member of the Parliament of Norway
relation main subject
type article
type work
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { VALUES ( ?d ) { ( ontology:article ) ( ontology:work ) } . ?k rdf:type ?d } . ?k property:main_subject resource:member_of_the_Parliament_of_Norway } } . FILTER ( ?n > ?o ) }
[]
occupation article work
Q316070 Q182436 Q16746569
SYSTEM
Fletcher Christian, librarian, high school student
Q172907 Q9402 Q316070 Q510373 Q152002 Q16746569 Q732358 Q182436 Q16003532
(c(Q191067)|c(Q386724),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q9045502
relation P921
type Q191067
type Q386724
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { VALUES ( ?d ) { ( ontology:Q191067 ) ( ontology:Q386724 ) } . ?k rdf:type ?d } . ?k property:P921 resource:Q9045502 } } . FILTER ( ?n > ?o ) }
praetor ninja Fletcher Christian Lord High Steward pastor high school student Nomarch librarian middle school student
Fletcher Christian librarian high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity member of the Parliament of Norway
relation main subject
type article
type work
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { VALUES ( ?d ) { ( ontology:article ) ( ontology:work ) } . ?k rdf:type ?d } . ?k property:main_subject resource:member_of_the_Parliament_of_Norway } } . FILTER ( ?n > ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q316070
P19
Q56061
USER
Which administrative territory was Fletcher Christian born in ?
(Q316070,P19,c(Q56061))
action filter_type
action find
entity Q316070
relation P19
type Q56061
['Q316070', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q316070 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Fletcher Christian
action filter_type
action find
entity Fletcher Christian
relation place of birth
type administrative territorial entity
['Fletcher Christian', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Fletcher_Christian property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q915599
SYSTEM
Brigham, Cumbria
Q915599
(Q316070,P19,c(Q56061))
action filter_type
action find
entity Q316070
relation P19
type Q56061
Fletcher Christian was born in [ANSWER]
['Q316070', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q316070 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Brigham, Cumbria
Fletcher Christian was born in Brigham, Cumbria
Brigham, Cumbria
action filter_type
action find
entity Fletcher Christian
relation place of birth
type administrative territorial entity
['Fletcher Christian', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Fletcher_Christian property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q180633
Q56061
USER
And how about Yevgeniya Sechenova?
(Q180633,P19,c(Q56061))
action filter_type
action find
entity Q180633
relation P19
type Q56061
['Q180633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q180633 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Yevgeniya Sechenova
action filter_type
action find
entity Yevgeniya Sechenova
relation place of birth
type administrative territorial entity
['Yevgeniya Sechenova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Yevgeniya_Sechenova property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7525
SYSTEM
Sevastopol
Q7525
(Q180633,P19,c(Q56061))
action filter_type
action find
entity Q180633
relation P19
type Q56061
[ANSWER]
['Q180633', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q180633 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Sevastopol
Sevastopol
action filter_type
action find
entity Yevgeniya Sechenova
relation place of birth
type administrative territorial entity
['Yevgeniya Sechenova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Yevgeniya_Sechenova property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7525
P237
Q17335294
USER
Which coat of arms serves as the heraldic design for that administrative territory ?
(Q7525,P237,c(Q17335294))
action filter_type
action find
entity Q7525
relation P237
type Q17335294
['Q7525', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { resource:Q7525 property:P237 ?q . ?q rdf:type ontology:Q17335294 }
Sevastopol
action filter_type
action find
entity Sevastopol
relation coat of arms
type flag or coat of arms
['Sevastopol', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { resource:Sevastopol property:coat_of_arms ?q . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q4136762
SYSTEM
coat of arms of Sevastopol
Q4136762
(Q7525,P237,c(Q17335294))
action filter_type
action find
entity Q7525
relation P237
type Q17335294
The [ANSWER] serves as the heraldic design for that administrative territory
['Q7525', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { resource:Q7525 property:P237 ?q . ?q rdf:type ontology:Q17335294 }
coat of arms of Sevastopol
The coat of arms of Sevastopol serves as the heraldic design for that administrative territory
coat of arms of Sevastopol
action filter_type
action find
entity Sevastopol
relation coat of arms
type flag or coat of arms
['Sevastopol', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { resource:Sevastopol property:coat_of_arms ?q . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7525
P163
Q17335294
USER
What has that administrative territory as its flag
(Q4136762,P163,c(Q17335294))
action filter_type
action find
entity Q7525
relation P163
type Q17335294
['Q4136762', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q7525 property:P163 ?r . ?r rdf:type ontology:Q17335294 }
Sevastopol
action filter_type
action find
entity Sevastopol
relation flag
type flag or coat of arms
['coat of arms of Sevastopol', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:Sevastopol property:flag ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2130987
SYSTEM
Flag of Sevastopol
Q2130987
(Q4136762,P163,c(Q17335294))
action filter_type
action find
entity Q7525
relation P163
type Q17335294
[ANSWER] has that administrative territory as its flag
['Q4136762', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { resource:Q7525 property:P163 ?r . ?r rdf:type ontology:Q17335294 }
Flag of Sevastopol
Flag of Sevastopol has that administrative territory as its flag
Flag of Sevastopol
action filter_type
action find
entity Sevastopol
relation flag
type flag or coat of arms
['coat of arms of Sevastopol', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { resource:Sevastopol property:flag ?r . ?r rdf:type ontology:flag_or_coat_of_arms }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P237
Q17335294 Q13220204
USER
Which administrative country subdivisions have approximately 2 coats of arms as their ensign ?
(c(Q13220204),P237,c(Q17335294))
action approx
action find_tuple_counts
relation P237
type Q13220204
type Q17335294
value 2
[{'concept': 'Q13220204'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?p ) WHERE { ?o property:P237 ?l . ?l rdf:type ontology:Q17335294 . ?o rdf:type ontology:Q13220204 } GROUP BY ?o } . FILTER ( ?p = 2 ) }
action approx
action find_tuple_counts
relation coat of arms
type second-level administrative country subdivision
type flag or coat of arms
value 2
[{'concept': 'second-level administrative country subdivision'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?p ) WHERE { ?o property:coat_of_arms ?l . ?l rdf:type ontology:flag_or_coat_of_arms . ?o rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?o } . FILTER ( ?p = 2 ) }
[]
flag or coat of arms second-level administrative country subdivision
Q322986
SYSTEM
Delfzijl
Q322986
(c(Q13220204),P237,c(Q17335294))
action approx
action find_tuple_counts
relation P237
type Q13220204
type Q17335294
value 2
[ANSWER] have approximately 2 coats of arms as their ensign
[{'concept': 'Q13220204'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?p ) WHERE { ?o property:P237 ?l . ?l rdf:type ontology:Q17335294 . ?o rdf:type ontology:Q13220204 } GROUP BY ?o } . FILTER ( ?p = 2 ) }
Delfzijl
Delfzijl have approximately 2 coats of arms as their ensign
Delfzijl
action approx
action find_tuple_counts
relation coat of arms
type second-level administrative country subdivision
type flag or coat of arms
value 2
[{'concept': 'second-level administrative country subdivision'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?p ) WHERE { ?o property:coat_of_arms ?l . ?l rdf:type ontology:flag_or_coat_of_arms . ?o rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?o } . FILTER ( ?p = 2 ) }
[]