Simple Question (Direct)
Simple Question
Q3351108
P21
Q290
USER
Which sex does Kuvempu possess ?
(Q3351108,P21,c(Q290))
action filter_type
action find
entity Q3351108
relation P21
type Q290
['Q3351108', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3351108 property:P21 ?t . ?t rdf:type ontology:Q290 }
Kuvempu
action filter_type
action find
entity Kuvempu
relation gender
type sex
['Kuvempu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kuvempu property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3351108,P21,c(Q290))
action filter_type
action find
entity Q3351108
relation P21
type Q290
Kuvempu possesses un [ANSWER]
['Q3351108', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3351108 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Kuvempu possesses un male
male
action filter_type
action find
entity Kuvempu
relation gender
type sex
['Kuvempu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kuvempu property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3351108
P50
Q2342494
USER
Which collectable is Kuvempu an author of ?
(c(Q2342494),P50,Q3351108)
action filter_type
action find_reverse
entity Q3351108
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q3351108']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q3351108 . ?n rdf:type ontology:Q2342494 }
Kuvempu
action filter_type
action find_reverse
entity Kuvempu
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Kuvempu']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Kuvempu . ?n rdf:type ontology:collectable }
[]
collectable
Q6742978
SYSTEM
Malegalalli madumagalu
Q6742978
(c(Q2342494),P50,Q3351108)
action filter_type
action find_reverse
entity Q3351108
relation P50
type Q2342494
Which collectable is Kuvempu an author of
[{'concept': 'Q2342494'}, 'P50', 'Q3351108']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q3351108 . ?n rdf:type ontology:Q2342494 }
Malegalalli madumagalu
Which collectable is Kuvempu an author of
Malegalalli madumagalu
action filter_type
action find_reverse
entity Kuvempu
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Kuvempu']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Kuvempu . ?n rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3351108
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6742978,P106,c(Q12737077))
action filter_type
action find
entity Q3351108
relation P106
type Q12737077
['Q6742978', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3351108 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Kuvempu
action filter_type
action find
entity Kuvempu
relation occupation
type occupation
['Malegalalli madumagalu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Kuvempu property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q36180 Q49757
SYSTEM
writer, poet
Q36180 Q49757
(Q6742978,P106,c(Q12737077))
action filter_type
action find
entity Q3351108
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6742978', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3351108 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
writer poet
The professions of that person are writer and poet
writer poet
action filter_type
action find
entity Kuvempu
relation occupation
type occupation
['Malegalalli madumagalu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Kuvempu property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q728169 Q3351108
P106
Q12737077
USER
And also Manolis Glezos
AND((Q3351108,P106,c(Q12737077)), (Q728169,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3351108
relation P106
action find
entity Q728169
relation P106
type Q12737077
{'AND': [['Q3351108', 'P106', {'concept': 'Q12737077'}], ['Q728169', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3351108 property:P106 ?q . resource:Q728169 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Manolis Glezos Kuvempu
action filter_type
action intersection
action find
entity Kuvempu
relation occupation
action find
entity Manolis Glezos
relation occupation
type occupation
{'AND': [['Kuvempu', 'occupation', {'concept': 'occupation'}], ['Manolis Glezos', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { resource:Kuvempu property:occupation ?q . resource:Manolis_Glezos property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
AND((Q3351108,P106,c(Q12737077)), (Q728169,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3351108
relation P106
action find
entity Q728169
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q3351108', 'P106', {'concept': 'Q12737077'}], ['Q728169', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3351108 property:P106 ?q . resource:Q728169 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
writer
writer
action filter_type
action intersection
action find
entity Kuvempu
relation occupation
action find
entity Manolis Glezos
relation occupation
type occupation
{'AND': [['Kuvempu', 'occupation', {'concept': 'occupation'}], ['Manolis Glezos', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { resource:Kuvempu property:occupation ?q . resource:Manolis_Glezos property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q895526 Q1307214 Q12737077
USER
Which occupations did max number of authority organs or forms of government appoint ?
(c(Q12737077),P748,c(Q895526)|c(Q1307214))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?o WHERE { { ?o property:P748 ?c . ?o rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q895526 } UNION { ?o property:P748 ?c . ?c rdf:type ontology:Q1307214 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?s WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:Q895526 ) ( ontology:Q1307214 ) } } GROUP BY ?s } . FILTER ( ?b = ?t ) }
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?o WHERE { { ?o property:appointed_by ?c . ?o rdf:type ontology:occupation . ?c rdf:type ontology:authority_organ } UNION { ?o property:appointed_by ?c . ?c rdf:type ontology:form_of_government . ?o rdf:type ontology:occupation } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?s WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:authority_organ ) ( ontology:form_of_government ) } } GROUP BY ?s } . FILTER ( ?b = ?t ) }
[]
authority organ form of government occupation
Q25863345 Q967750 Q217217
SYSTEM
Secretary of State for International Trade, United States Secretary of Labor, Lord Chancellor
Q2666591 Q1072417 Q1355456 Q2287650 Q1507619 Q5333410 Q261746 Q910308 Q1029955 Q1753754 Q642859 Q967762 Q943379 Q940135 Q2305968 Q7444340 Q2419581 Q25863345 Q2747647 Q583809 Q13645132 Q636207 Q2003296 Q967750 Q2962001 Q783785 Q1072415 Q213107 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q162754 Q6542448 Q2301213 Q217217 Q1281611 Q1658460 Q1752225 Q687908 Q786242 Q1434880
(c(Q12737077),P748,c(Q895526)|c(Q1307214))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
Max number of authority organs or forms of government appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?o WHERE { { ?o property:P748 ?c . ?o rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q895526 } UNION { ?o property:P748 ?c . ?c rdf:type ontology:Q1307214 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?s WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:Q895526 ) ( ontology:Q1307214 ) } } GROUP BY ?s } . FILTER ( ?b = ?t ) }
Chair of the Federal Reserve Chief of Staff of the United States Air Force Lord Chamberlain United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Economic Secretary to the Treasury United States Secretary of the Air Force Lord Privy Seal United States Secretary of Agriculture Master of the Rolls United States Secretary of Homeland Security United States Secretary of Education Lord President of the Council United States Secretary of the Navy United States Secretary of Health and Human Services 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 Solicitor General for England and Wales Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor Chief of the Defence Staff Chief of Staff of the United States Army Chief of Naval Operations Prime Minister of Belgium 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 United States Secretary of Transportation Chancellor of the Duchy of Lancaster Librarian of Congress United States Deputy Secretary of State Lord Chancellor Lieutenant Governor of Jersey United States Secretary of Veterans Affairs Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Surgeon General of the United States
Max number of authority organs or forms of government appointed by Secretary of State for International Trade, United States Secretary of Labor and Lord Chancellor
Secretary of State for International Trade United States Secretary of Labor Lord Chancellor
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?o WHERE { { ?o property:appointed_by ?c . ?o rdf:type ontology:occupation . ?c rdf:type ontology:authority_organ } UNION { ?o property:appointed_by ?c . ?c rdf:type ontology:form_of_government . ?o rdf:type ontology:occupation } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?s WHERE { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:authority_organ ) ( ontology:form_of_government ) } } GROUP BY ?s } . FILTER ( ?b = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q967750
P39
Q95074 Q502895
USER
How many fictional characters and people held the position of United States Secretary of Labor ?
(c(Q95074),P39,Q967750) (c(Q502895),P39,Q967750)
action count
action union
action filter_type
action find_reverse
entity Q967750
relation P39
type Q95074
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
[{'concept': 'Q95074'}, 'P39', 'Q967750'] [{'concept': 'Q502895'}, 'P39', 'Q967750']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P39 resource:Q967750 . ?l rdf:type ontology:Q95074 } UNION { ?l property:P39 resource:Q967750 . ?l rdf:type ontology:Q502895 } }
United States Secretary of Labor
action count
action union
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type fictional character
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
[{'concept': 'fictional character'}, 'position held', 'United States Secretary of Labor'] [{'concept': 'common name'}, 'position held', 'United States Secretary of Labor']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:position_held resource:United_States_Secretary_of_Labor . ?l rdf:type ontology:fictional_character } UNION { ?l property:position_held resource:United_States_Secretary_of_Labor . ?l rdf:type ontology:common_name } }
[]
fictional character common name
SYSTEM
1 fictional characters and 11 people
Q239571 Q433650 Q723828 Q263322 Q456907 Q292340 Q50610 Q6524042 Q718828 Q456483 Q284635 Q7793121
(c(Q95074),P39,Q967750) (c(Q502895),P39,Q967750)
action count
action union
action filter_type
action find_reverse
entity Q967750
relation P39
type Q95074
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q95074'}, 'P39', 'Q967750'] [{'concept': 'Q502895'}, 'P39', 'Q967750']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P39 resource:Q967750 . ?l rdf:type ontology:Q95074 } UNION { ?l property:P39 resource:Q967750 . ?l rdf:type ontology:Q502895 } }
Elizabeth Dole Ann McLaughlin Korologos William Bauchop Wilson Elaine Chao James P. Mitchell Alexis Herman Hilda Solis Leo McGarry Robert Reich William Usery Maurice J. Tobin Thomas Perez
1 fictional characters and 11 people
action count
action union
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type fictional character
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
[{'concept': 'fictional character'}, 'position held', 'United States Secretary of Labor'] [{'concept': 'common name'}, 'position held', 'United States Secretary of Labor']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:position_held resource:United_States_Secretary_of_Labor . ?l rdf:type ontology:fictional_character } UNION { ?l property:position_held resource:United_States_Secretary_of_Labor . ?l rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967750
P361
Q35798
USER
What is United States Secretary of Labor a portion of ?
(Q967750,P361,c(Q35798))
action filter_type
action find
entity Q967750
relation P361
type Q35798
['Q967750', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?z WHERE { resource:Q967750 property:P361 ?z . ?z rdf:type ontology:Q35798 }
United States Secretary of Labor
action filter_type
action find
entity United States Secretary of Labor
relation part of
type executive branch
['United States Secretary of Labor', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?z WHERE { resource:United_States_Secretary_of_Labor property:part_of ?z . ?z rdf:type ontology:executive_branch }
[]
executive branch
Q639738
SYSTEM
United States Cabinet
Q639738
(Q967750,P361,c(Q35798))
action filter_type
action find
entity Q967750
relation P361
type Q35798
United States Secretary of Labor a portion of is the [ANSWER]
['Q967750', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?z WHERE { resource:Q967750 property:P361 ?z . ?z rdf:type ontology:Q35798 }
United States Cabinet
United States Secretary of Labor a portion of is the United States Cabinet
United States Cabinet
action filter_type
action find
entity United States Secretary of Labor
relation part of
type executive branch
['United States Secretary of Labor', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?z WHERE { resource:United_States_Secretary_of_Labor property:part_of ?z . ?z rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967750
P39
Q502895
USER
Who held the position of United States Secretary of Labor ?
(c(Q502895),P39,Q967750)
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q967750']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q967750 }
United States Secretary of Labor
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United States Secretary of Labor']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:United_States_Secretary_of_Labor }
[]
common name
Q239571 Q50610 Q718828
SYSTEM
Elizabeth Dole, Hilda Solis, Robert Reich
Q239571 Q433650 Q723828 Q263322 Q456907 Q292340 Q50610 Q718828 Q456483 Q284635 Q7793121
(c(Q502895),P39,Q967750)
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
The [ANSWERS] held the position of United States Secretary of Labor
[{'concept': 'Q502895'}, 'P39', 'Q967750']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q967750 }
Elizabeth Dole Ann McLaughlin Korologos William Bauchop Wilson Elaine Chao James P. Mitchell Alexis Herman Hilda Solis Robert Reich William Usery Maurice J. Tobin Thomas Perez
The Elizabeth Dole, Hilda Solis and Robert Reich held the position of United States Secretary of Labor
Elizabeth Dole Hilda Solis Robert Reich
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United States Secretary of Labor']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:United_States_Secretary_of_Labor }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q239571 Q50610 Q718828
P102
Q7210356
USER
Which political organizations are Elizabeth Dole, Hilda Solis and Robert Reich a member of ?
(Q239571,P102,c(Q7210356)) (Q50610,P102,c(Q7210356)) (Q718828,P102,c(Q7210356))
action union
action filter_type
action find
entity Q239571
relation P102
type Q7210356
action filter_type
action find
entity Q50610
relation P102
type Q7210356
action filter_type
action find
entity Q718828
relation P102
type Q7210356
['Q239571', 'P102', {'concept': 'Q7210356'}] ['Q50610', 'P102', {'concept': 'Q7210356'}] ['Q718828', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { { resource:Q239571 property:P102 ?o . ?o rdf:type ontology:Q7210356 } UNION { resource:Q50610 property:P102 ?o . ?o rdf:type ontology:Q7210356 } }
Elizabeth Dole Hilda Solis Robert Reich
action union
action filter_type
action find
entity Elizabeth Dole
relation member of political party
type political organization
action filter_type
action find
entity Hilda Solis
relation member of political party
type political organization
action filter_type
action find
entity Robert Reich
relation member of political party
type political organization
['Elizabeth Dole', 'member of political party', {'concept': 'political organization'}] ['Hilda Solis', 'member of political party', {'concept': 'political organization'}] ['Robert Reich', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { { resource:Elizabeth_Dole property:member_of_political_party ?o . ?o rdf:type ontology:political_organization } UNION { resource:Hilda_Solis property:member_of_political_party ?o . ?o rdf:type ontology:political_organization } }
[]
political organization
Q29468 Q29552 Q29552
SYSTEM
Democratic Party for 2nd, 3rd, Republican Party for 1st
Q29468 Q29552 Q29552
(Q239571,P102,c(Q7210356)) (Q50610,P102,c(Q7210356)) (Q718828,P102,c(Q7210356))
action union
action filter_type
action find
entity Q239571
relation P102
type Q7210356
action filter_type
action find
entity Q50610
relation P102
type Q7210356
action filter_type
action find
entity Q718828
relation P102
type Q7210356
[ANSWERS]
['Q239571', 'P102', {'concept': 'Q7210356'}] ['Q50610', 'P102', {'concept': 'Q7210356'}] ['Q718828', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { { resource:Q239571 property:P102 ?o . ?o rdf:type ontology:Q7210356 } UNION { resource:Q50610 property:P102 ?o . ?o rdf:type ontology:Q7210356 } }
Republican Party Democratic Party Democratic Party
Party Republican Party, Democratic Party and Democratic Party are Elizabeth Dole, Hilda Solis and Robert Reich a member of
Republican Party Democratic Party Democratic Party
action union
action filter_type
action find
entity Elizabeth Dole
relation member of political party
type political organization
action filter_type
action find
entity Hilda Solis
relation member of political party
type political organization
action filter_type
action find
entity Robert Reich
relation member of political party
type political organization
['Elizabeth Dole', 'member of political party', {'concept': 'political organization'}] ['Hilda Solis', 'member of political party', {'concept': 'political organization'}] ['Robert Reich', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { { resource:Elizabeth_Dole property:member_of_political_party ?o . ?o rdf:type ontology:political_organization } UNION { resource:Hilda_Solis property:member_of_political_party ?o . ?o rdf:type ontology:political_organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50610
P937
Q5119
USER
What is the work location of Hilda Solis ?
(Q50610,P937,c(Q5119))
action filter_type
action find
entity Q50610
relation P937
type Q5119
['Q50610', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?l WHERE { resource:Q50610 property:P937 ?l . ?l rdf:type ontology:Q5119 }
Hilda Solis
action filter_type
action find
entity Hilda Solis
relation work location
type capital
['Hilda Solis', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?l WHERE { resource:Hilda_Solis property:work_location ?l . ?l rdf:type ontology:capital }
[]
capital
Q18013
SYSTEM
Sacramento
Q18013
(Q50610,P937,c(Q5119))
action filter_type
action find
entity Q50610
relation P937
type Q5119
The work location of Hilda Solis is in [ANSWER]
['Q50610', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?l WHERE { resource:Q50610 property:P937 ?l . ?l rdf:type ontology:Q5119 }
Sacramento
The work location of Hilda Solis is in Sacramento
Sacramento
action filter_type
action find
entity Hilda Solis
relation work location
type capital
['Hilda Solis', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?l WHERE { resource:Hilda_Solis property:work_location ?l . ?l rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q50610
P166
Q618779
USER
What was awarded to that person ?
(Q18013,P166,c(Q618779))
action filter_type
action find
entity Q50610
relation P166
type Q618779
['Q18013', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q50610 property:P166 ?m }
Hilda Solis
action filter_type
action find
entity Hilda Solis
relation award received
type award
['Sacramento', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Hilda_Solis property:award_received ?m }
[]
award
Q219070
SYSTEM
Profile in Courage Award
Q219070
(Q18013,P166,c(Q618779))
action filter_type
action find
entity Q50610
relation P166
type Q618779
The [ANSWER] was awarded to that person
['Q18013', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q50610 property:P166 ?m }
Profile in Courage Award
The Profile in Courage Award was awarded to that person
Profile in Courage Award
action filter_type
action find
entity Hilda Solis
relation award received
type award
['Sacramento', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Hilda_Solis property:award_received ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q219070 Q312823
P166
Q502895
USER
Was Wael Ghonim honoured with that award ?
(Q312823,P166,Q219070)
action is_in
entity Q219070
action find
entity Q312823
relation P166
['Q312823', 'P166', 'Q219070']
ASK WHERE { resource:Q312823 property:P166 resource:Q219070 }
Profile in Courage Award Wael Ghonim
action is_in
entity Profile in Courage Award
action find
entity Wael Ghonim
relation award received
['Wael Ghonim', 'award received', 'Profile in Courage Award']
ASK WHERE { resource:Wael_Ghonim property:award_received resource:Profile_in_Courage_Award }
[]
common name
SYSTEM
YES
(Q312823,P166,Q219070)
action is_in
entity Q219070
action find
entity Q312823
relation P166
[ANSWER]
['Q312823', 'P166', 'Q219070']
ASK WHERE { resource:Q312823 property:P166 resource:Q219070 }
Yes
action is_in
entity Profile in Courage Award
action find
entity Wael Ghonim
relation award received
['Wael Ghonim', 'award received', 'Profile in Courage Award']
ASK WHERE { resource:Wael_Ghonim property:award_received resource:Profile_in_Courage_Award }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18013 Q8818 Q5795749
P190
Q56061
USER
Is Sacramento twin town of Valencia and Zaghej ?
(Q18013,P190,Q8818) (Q18013,P190,Q5795749)
action is_in
entity Q18013
action intersection
action find_reverse
entity Q8818
relation P190
action find_reverse
entity Q5795749
relation P190
['Q18013', 'P190', 'Q8818'] ['Q18013', 'P190', 'Q5795749']
ASK WHERE { resource:Q18013 property:P190 resource:Q8818 . resource:Q18013 property:P190 resource:Q5795749 }
Sacramento Valencia Zaghej
action is_in
entity Sacramento
action intersection
action find_reverse
entity Valencia
relation sister city
action find_reverse
entity Zaghej
relation sister city
['Sacramento', 'sister city', 'Valencia'] ['Sacramento', 'sister city', 'Zaghej']
ASK WHERE { resource:Sacramento property:sister_city resource:Valencia . resource:Sacramento property:sister_city resource:Zaghej }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q18013,P190,Q8818) (Q18013,P190,Q5795749)
action is_in
entity Q18013
action intersection
action find_reverse
entity Q8818
relation P190
action find_reverse
entity Q5795749
relation P190
[ANSWER]
['Q18013', 'P190', 'Q8818'] ['Q18013', 'P190', 'Q5795749']
ASK WHERE { resource:Q18013 property:P190 resource:Q8818 . resource:Q18013 property:P190 resource:Q5795749 }
YES and NO respectively
action is_in
entity Sacramento
action intersection
action find_reverse
entity Valencia
relation sister city
action find_reverse
entity Zaghej
relation sister city
['Sacramento', 'sister city', 'Valencia'] ['Sacramento', 'sister city', 'Zaghej']
ASK WHERE { resource:Sacramento property:sister_city resource:Valencia . resource:Sacramento property:sister_city resource:Zaghej }
[]