Simple Question (Direct)
Simple Question
Q11474249
P172
Q2472587
USER
Which people does Misako Iwana have as his/her race ?
(Q11474249,P172,c(Q2472587))
action filter_type
action find
entity Q11474249
relation P172
type Q2472587
['Q11474249', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?b WHERE { resource:Q11474249 property:P172 ?b . ?b rdf:type ontology:Q2472587 }
Misako Iwana
action filter_type
action find
entity Misako Iwana
relation ethnic group
type people
['Misako Iwana', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?b WHERE { resource:Misako_Iwana property:ethnic_group ?b . ?b rdf:type ontology:people }
[]
people
Q161652
SYSTEM
Japanese people
Q161652
(Q11474249,P172,c(Q2472587))
action filter_type
action find
entity Q11474249
relation P172
type Q2472587
Misako Iwana has described [ANSWER] as his / her race
['Q11474249', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?b WHERE { resource:Q11474249 property:P172 ?b . ?b rdf:type ontology:Q2472587 }
Japanese people
Misako Iwana has described Japanese people as his / her race
Japanese people
action filter_type
action find
entity Misako Iwana
relation ethnic group
type people
['Misako Iwana', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?b WHERE { resource:Misako_Iwana property:ethnic_group ?b . ?b rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11474249
P21
Q290
USER
What is the sex of Misako Iwana ?
(Q11474249,P21,c(Q290))
action filter_type
action find
entity Q11474249
relation P21
type Q290
['Q11474249', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q11474249 property:P21 ?l . ?l rdf:type ontology:Q290 }
Misako Iwana
action filter_type
action find
entity Misako Iwana
relation gender
type sex
['Misako Iwana', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Misako_Iwana property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q11474249,P21,c(Q290))
action filter_type
action find
entity Q11474249
relation P21
type Q290
The sex of Misako Iwana is the [ANSWER]
['Q11474249', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q11474249 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
The sex of Misako Iwana is the female
female
action filter_type
action find
entity Misako Iwana
relation gender
type sex
['Misako Iwana', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Misako_Iwana property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11474249
P106
Q12737077
USER
Which occupations have Misako Iwana as his/her 's career ?
(Q11474249,P106,c(Q12737077))
action filter_type
action find
entity Q11474249
relation P106
type Q12737077
['Q11474249', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q11474249 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Misako Iwana
action filter_type
action find
entity Misako Iwana
relation occupation
type occupation
['Misako Iwana', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Misako_Iwana property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q5716684 Q33999 Q177220
SYSTEM
dancer, actor, singer
Q2705098 Q33999 Q5716684 Q177220
(Q11474249,P106,c(Q12737077))
action filter_type
action find
entity Q11474249
relation P106
type Q12737077
As [ANSWERS] have Misako Iwana as his/her 's career
['Q11474249', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q11474249 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
tarento actor dancer singer
As dancer, actor and singer have Misako Iwana as his/her 's career
dancer actor singer
action filter_type
action find
entity Misako Iwana
relation occupation
type occupation
['Misako Iwana', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Misako_Iwana property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17280263
Q12737077
USER
And how about Neven Šegvić?
(Q17280263,P106,c(Q12737077))
action filter_type
action find
entity Q17280263
relation P106
type Q12737077
['Q17280263', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q17280263 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Neven Šegvić
action filter_type
action find
entity Neven Šegvić
relation occupation
type occupation
['Neven Šegvić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Neven_Šegvić property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q17280263,P106,c(Q12737077))
action filter_type
action find
entity Q17280263
relation P106
type Q12737077
[ANSWER]
['Q17280263', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q17280263 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
architect
architect
action filter_type
action find
entity Neven Šegvić
relation occupation
type occupation
['Neven Šegvić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Neven_Šegvić property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11474249
P27
Q15617994
USER
Which administrative territory does Misako Iwana belong to ?
(Q11474249,P27,c(Q15617994))
action filter_type
action find
entity Q11474249
relation P27
type Q15617994
['Q11474249', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q11474249 property:P27 ?j }
Misako Iwana
action filter_type
action find
entity Misako Iwana
relation country of citizenship
type designation for an administrative territorial entity
['Misako Iwana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Misako_Iwana property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11474249,P27,c(Q15617994))
action filter_type
action find
entity Q11474249
relation P27
type Q15617994
Misako Iwana belongs to [ANSWER]
['Q11474249', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q11474249 property:P27 ?j }
Japan
Misako Iwana belongs to Japan
Japan
action filter_type
action find
entity Misako Iwana
relation country of citizenship
type designation for an administrative territorial entity
['Misako Iwana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Misako_Iwana property:country_of_citizenship ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18362652
Q15617994
USER
And what about Bent Sørmo?
(Q18362652,P27,c(Q15617994))
action filter_type
action find
entity Q18362652
relation P27
type Q15617994
['Q18362652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q18362652 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Bent Sørmo
action filter_type
action find
entity Bent Sørmo
relation country of citizenship
type designation for an administrative territorial entity
['Bent Sørmo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Bent_Sørmo property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q18362652,P27,c(Q15617994))
action filter_type
action find
entity Q18362652
relation P27
type Q15617994
[ANSWER]
['Q18362652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q18362652 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Norway
Norway
action filter_type
action find
entity Bent Sørmo
relation country of citizenship
type designation for an administrative territorial entity
['Bent Sørmo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Bent_Sørmo property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18362652
P19
Q13220204
USER
Which administrative country subdivision is the birthplace of that person ?
(Q20,P19,c(Q13220204))
action filter_type
action find
entity Q18362652
relation P19
type Q13220204
['Q20', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?y WHERE { resource:Q18362652 property:P19 ?y . ?y rdf:type ontology:Q13220204 }
Bent Sørmo
action filter_type
action find
entity Bent Sørmo
relation place of birth
type second-level administrative country subdivision
['Norway', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?y WHERE { resource:Bent_Sørmo property:place_of_birth ?y . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q216430
SYSTEM
Levanger
Q216430
(Q20,P19,c(Q13220204))
action filter_type
action find
entity Q18362652
relation P19
type Q13220204
[ANSWER] is the birthplace of that person
['Q20', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?y WHERE { resource:Q18362652 property:P19 ?y . ?y rdf:type ontology:Q13220204 }
Levanger
Levanger is the birthplace of that person
Levanger
action filter_type
action find
entity Bent Sørmo
relation place of birth
type second-level administrative country subdivision
['Norway', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?y WHERE { resource:Bent_Sørmo property:place_of_birth ?y . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q216430 Q20
P17
Q15617994
USER
Is that administrative country subdivision located in Norway ?
(Q216430,P17,Q20)
action is_in
entity Q20
action find
entity Q216430
relation P17
['Q216430', 'P17', 'Q20']
ASK WHERE { resource:Q216430 property:P17 resource:Q20 }
Levanger Norway
action is_in
entity Norway
action find
entity Levanger
relation country
['Levanger', 'country', 'Norway']
ASK WHERE { resource:Levanger property:country resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q216430,P17,Q20)
action is_in
entity Q20
action find
entity Q216430
relation P17
[ANSWER]
['Q216430', 'P17', 'Q20']
ASK WHERE { resource:Q216430 property:P17 resource:Q20 }
Yes
action is_in
entity Norway
action find
entity Levanger
relation country
['Levanger', 'country', 'Norway']
ASK WHERE { resource:Levanger property:country resource:Norway }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216430
P47
Q13220204
USER
Which administrative country subdivisions are adjacent to that one ?
action filter_type
action find
entity Q216430
relation P47
type Q13220204
SELECT DISTINCT ?k WHERE { resource:Q216430 property:P47 ?k . ?k rdf:type ontology:Q13220204 }
Levanger
action filter_type
action find
entity Levanger
relation shares border with
type second-level administrative country subdivision
SELECT DISTINCT ?k WHERE { resource:Levanger property:shares_border_with ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q503660 Q217802 Q488970
SYSTEM
Verdal, Stjørdal, Inderøy
Q503660 Q217802 Q488970 Q489374
action filter_type
action find
entity Q216430
relation P47
type Q13220204
[ANSWERS] are adjacent to that one
SELECT DISTINCT ?k WHERE { resource:Q216430 property:P47 ?k . ?k rdf:type ontology:Q13220204 }
Verdal Stjørdal Inderøy Frosta
Verdal, Stjørdal and Inderøy are adjacent to that one
Verdal Stjørdal Inderøy
action filter_type
action find
entity Levanger
relation shares border with
type second-level administrative country subdivision
SELECT DISTINCT ?k WHERE { resource:Levanger property:shares_border_with ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7574264
P748
Q11204 Q895526 Q12737077
USER
Which occupations did more number of legislatures and authority organs appoint than Speaker of the Hellenic Parliament ?
(c(Q12737077),P748,c(Q11204)|c(Q895526))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q7574264
relation P748
type Q11204
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?x WHERE { VALUES ( ?a ) { ( ontology:Q11204 ) ( ontology:Q895526 ) } . ?r rdf:type ?a } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { { ?g rdf:type ontology:Q11204 } UNION { ?g rdf:type ontology:Q895526 } } . resource:Q7574264 property:P748 ?g } } . FILTER ( ?y > ?j ) }
Speaker of the Hellenic Parliament
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Speaker of the Hellenic Parliament
relation appointed by
type legislature
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?x WHERE { VALUES ( ?a ) { ( ontology:legislature ) ( ontology:authority_organ ) } . ?r rdf:type ?a } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { { ?g rdf:type ontology:legislature } UNION { ?g rdf:type ontology:authority_organ } } . resource:Speaker_of_the_Hellenic_Parliament property:appointed_by ?g } } . FILTER ( ?y > ?j ) }
[]
legislature authority organ occupation
Q655407 Q4122271 Q25863345
SYSTEM
President of the People's Republic of China, Premier of the People's Republic of China, Secretary of State for International Trade
Q2666591 Q11793630 Q1072417 Q2287650 Q5333410 Q261746 Q1029955 Q642859 Q967762 Q655407 Q940135 Q2305968 Q596123 Q7444340 Q2419581 Q25863345 Q2747647 Q1043568 Q13645132 Q636207 Q2003296 Q967750 Q866680 Q783785 Q1072415 Q26000995 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q4122271 Q967737 Q6542448 Q2301213 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q11204)|c(Q895526))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q7574264
relation P748
type Q11204
type Q895526
Than Speaker of the Hellenic Parliament more number of legislatures and authority organs appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?x WHERE { VALUES ( ?a ) { ( ontology:Q11204 ) ( ontology:Q895526 ) } . ?r rdf:type ?a } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { { ?g rdf:type ontology:Q11204 } UNION { ?g rdf:type ontology:Q895526 } } . resource:Q7574264 property:P748 ?g } } . FILTER ( ?y > ?j ) }
Chair of the Federal Reserve governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education President of the People's Republic of China United States Secretary of the Navy United States Secretary of Health and Human Services president of Bangladesh Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Prime Minister of Vietnam Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor President of Vietnam Chief of Staff of the United States Army Chief of Naval Operations President of the Parliament of Catalonia Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China United States Secretary of Transportation Librarian of Congress United States Deputy Secretary of State United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
Than Speaker of the Hellenic Parliament more number of legislatures and authority organs appointed by President of the People's Republic of China, Premier of the People's Republic of China and Secretary of State for International Trade
President of the People's Republic of China Premier of the People's Republic of China Secretary of State for International Trade
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Speaker of the Hellenic Parliament
relation appointed by
type legislature
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?x WHERE { VALUES ( ?a ) { ( ontology:legislature ) ( ontology:authority_organ ) } . ?r rdf:type ?a } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { { ?g rdf:type ontology:legislature } UNION { ?g rdf:type ontology:authority_organ } } . resource:Speaker_of_the_Hellenic_Parliament property:appointed_by ?g } } . FILTER ( ?y > ?j ) }
[]