Simple Question (Direct)
Simple Question
Q1250644
P21
Q290
USER
Which sex does Harry Cage possess ?
(Q1250644,P21,c(Q290))
action filter_type
action find
entity Q1250644
relation P21
type Q290
['Q1250644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1250644 property:P21 ?i . ?i rdf:type ontology:Q290 }
Harry Cage
action filter_type
action find
entity Harry Cage
relation gender
type sex
['Harry Cage', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Harry_Cage property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1250644,P21,c(Q290))
action filter_type
action find
entity Q1250644
relation P21
type Q290
Harry Cage possesses [ANSWER]
['Q1250644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1250644 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Harry Cage possesses male
male
action filter_type
action find
entity Harry Cage
relation gender
type sex
['Harry Cage', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Harry_Cage property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1250644
P102
Q7210356
USER
Which party is Harry Cage affiliated with ?
(Q1250644,P102,c(Q7210356))
action filter_type
action find
entity Q1250644
relation P102
type Q7210356
['Q1250644', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q1250644 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Harry Cage
action filter_type
action find
entity Harry Cage
relation member of political party
type political organization
['Harry Cage', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Harry_Cage property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1250644,P102,c(Q7210356))
action filter_type
action find
entity Q1250644
relation P102
type Q7210356
Harry Cage is affiliated with [ANSWER]
['Q1250644', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q1250644 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Democratic Party
Harry Cage is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Harry Cage
relation member of political party
type political organization
['Harry Cage', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Harry_Cage property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P106
Q502895
USER
Who has a job as that political organization ?
(c(Q502895),P106,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q29552']
SELECT DISTINCT ?q WHERE { ?q property:P106 resource:Q29552 . ?q rdf:type ontology:Q502895 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Democratic Party']
SELECT DISTINCT ?q WHERE { ?q property:occupation resource:Democratic_Party . ?q rdf:type ontology:common_name }
[]
common name
Q361146
SYSTEM
Ruby Laffoon
Q361146
(c(Q502895),P106,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[ANSWER] has a job as that political organization
[{'concept': 'Q502895'}, 'P106', 'Q29552']
SELECT DISTINCT ?q WHERE { ?q property:P106 resource:Q29552 . ?q rdf:type ontology:Q502895 }
Ruby Laffoon
Ruby Laffoon has a job as that political organization
Ruby Laffoon
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Democratic Party']
SELECT DISTINCT ?q WHERE { ?q property:occupation resource:Democratic_Party . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22807613 Q29552
P17
Q15617994
USER
Which administrative territories are Democratic Party or Rongoro View Secondary School situated in ?
OR((Q29552,P17,c(Q15617994)), (Q22807613,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29552
relation P17
action find
entity Q22807613
relation P17
type Q15617994
{'OR': [['Q29552', 'P17', {'concept': 'Q15617994'}], ['Q22807613', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q29552 property:P17 ?r } UNION { resource:Q22807613 property:P17 ?r } } }
Rongoro View Secondary School Democratic Party
action filter_type
action union
action find
entity Democratic Party
relation country
action find
entity Rongoro View Secondary School
relation country
type designation for an administrative territorial entity
{'OR': [['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rongoro View Secondary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Democratic_Party property:country ?r } UNION { resource:Rongoro_View_Secondary_School property:country ?r } } }
[]
designation for an administrative territorial entity
Q1036 Q30
SYSTEM
Uganda, United States of America
Q1036 Q30
OR((Q29552,P17,c(Q15617994)), (Q22807613,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29552
relation P17
action find
entity Q22807613
relation P17
type Q15617994
Democratic Party or Rongoro View Secondary School are situated in [ANSWERS]
{'OR': [['Q29552', 'P17', {'concept': 'Q15617994'}], ['Q22807613', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q29552 property:P17 ?r } UNION { resource:Q22807613 property:P17 ?r } } }
Uganda United States of America
Democratic Party or Rongoro View Secondary School are situated in Uganda and United States of America
Uganda United States of America
action filter_type
action union
action find
entity Democratic Party
relation country
action find
entity Rongoro View Secondary School
relation country
type designation for an administrative territorial entity
{'OR': [['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rongoro View Secondary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Democratic_Party property:country ?r } UNION { resource:Rongoro_View_Secondary_School property:country ?r } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?p ) WHERE { ?y property:P530 ?i . ?y rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?h ) WHERE { ?l property:P530 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?h = ?x ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?p ) WHERE { ?y property:diplomatic_relation ?i . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?h ) WHERE { ?l property:diplomatic_relation ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?h = ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have tactful political relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?p ) WHERE { ?y property:P530 ?i . ?y rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?h ) WHERE { ?l property:P530 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?h = ?x ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have tactful political relations with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?p ) WHERE { ?y property:diplomatic_relation ?i . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?h ) WHERE { ?l property:diplomatic_relation ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?h = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with atleast 63 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 63
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?p ) WHERE { ?x property:P530 ?j . ?x rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?p >= 63 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 63
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?p ) WHERE { ?x property:diplomatic_relation ?j . ?x rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?p >= 63 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 63
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?p ) WHERE { ?x property:P530 ?j . ?x rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?p >= 63 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 63
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?p ) WHERE { ?x property:diplomatic_relation ?j . ?x rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?p >= 63 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P101
Q502895
USER
Which person has field of work as United States of America ?
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q30 . ?w rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:United_States_of_America . ?w rdf:type ontology:common_name }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] has field of work as United States of America
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q30 . ?w rdf:type ontology:Q502895 }
David Janssen
David Janssen has field of work as United States of America
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:United_States_of_America . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?r WHERE { resource:Q30 property:P1313 ?r . ?r rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?r WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?r . ?r rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?r WHERE { resource:Q30 property:P1313 ?r . ?r rdf:type ontology:Q895526 }
President of the United States of America
The President of the United States of America serves as the political office that is fulfilled by the head of the government of United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?r WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?r . ?r rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11696
P748
Q12737077
USER
Which occupations are appointed by that authority organ ?
(c(Q12737077),P748,Q11696)
action filter_type
action find_reverse
entity Q11696
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q11696']
SELECT DISTINCT ?z WHERE { ?z property:P748 resource:Q11696 . ?z rdf:type ontology:Q12737077 }
President of the United States of America
action filter_type
action find_reverse
entity President of the United States of America
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'President of the United States of America']
SELECT DISTINCT ?z WHERE { ?z property:appointed_by resource:President_of_the_United_States_of_America . ?z rdf:type ontology:occupation }
[]
occupation
Q967750 Q1029968 Q967737
SYSTEM
United States Secretary of Labor, United States Secretary of Energy, United States Secretary of Transportation
Q1029968 Q2297543 Q967750 Q967737 Q1763459 Q2666591 Q2305968 Q2287650 Q2003296 Q6542448 Q2301213 Q783785 Q261746 Q2419581 Q1029955 Q786242 Q642859 Q1658460 Q967762 Q1591470 Q1072415 Q1072417 Q735015 Q1434880 Q636207 Q940135
(c(Q12737077),P748,Q11696)
action filter_type
action find_reverse
entity Q11696
relation P748
type Q12737077
And [ANSWERS] are appointed by that authority organ
[{'concept': 'Q12737077'}, 'P748', 'Q11696']
SELECT DISTINCT ?z WHERE { ?z property:P748 resource:Q11696 . ?z rdf:type ontology:Q12737077 }
United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Labor United States Secretary of Transportation Chairman of the Joint Chiefs of Staff Chair of the Federal Reserve United States Secretary of Health and Human Services United States Secretary of the Interior United States Secretary of Commerce Librarian of Congress United States Deputy Secretary of State Chief of Staff of the United States Army United States Secretary of the Air Force United States Secretary of Housing and Urban Development United States Secretary of Agriculture White House Chief of Staff United States Secretary of Homeland Security United States Secretary of Veterans Affairs United States Secretary of Education United States Secretary of the Army Chief of Naval Operations Chief of Staff of the United States Air Force United States Secretary of Defense Surgeon General of the United States United States Attorney General United States Secretary of the Navy
And United States Secretary of Labor, United States Secretary of Energy and United States Secretary of Transportation are appointed by that authority organ
United States Secretary of Labor United States Secretary of Energy United States Secretary of Transportation
action filter_type
action find_reverse
entity President of the United States of America
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'President of the United States of America']
SELECT DISTINCT ?z WHERE { ?z property:appointed_by resource:President_of_the_United_States_of_America . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967750
P39
Q502895
USER
Who were responsible for occupying 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 property:P39 resource:Q967750 . ?t rdf:type ontology:Q502895 }
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 property:position_held resource:United_States_Secretary_of_Labor . ?t rdf:type ontology:common_name }
[]
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
[ANSWERS] were responsible for occupying the position of United States Secretary of Labor
[{'concept': 'Q502895'}, 'P39', 'Q967750']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q967750 . ?t rdf:type ontology:Q502895 }
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
Elizabeth Dole, Hilda Solis and Robert Reich were responsible for occupying 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 property:position_held resource:United_States_Secretary_of_Labor . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q239571
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q239571)
action filter_type
action find
entity Q239571
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q239571']
SELECT DISTINCT ?z WHERE { resource:Q239571 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Elizabeth Dole
action filter_type
action find
entity Elizabeth Dole
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elizabeth Dole']
SELECT DISTINCT ?z WHERE { resource:Elizabeth_Dole property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q718828
SYSTEM
Did you mean Robert Reich ?
Q239571 Q50610 Q718828
(c(Q502895),P26,Q239571) (c(Q502895),P26,Q50610) (c(Q502895),P26,Q718828)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q239571'] [{'concept': 'Q502895'}, 'P26', 'Q50610'] [{'concept': 'Q502895'}, 'P26', 'Q718828']
SELECT DISTINCT ?z WHERE { resource:Q239571 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Elizabeth Dole Hilda Solis Robert Reich
Did you mean Robert Reich ?
Robert Reich
[{'concept': 'common name'}, 'spouse', 'Elizabeth Dole'] [{'concept': 'common name'}, 'spouse', 'Hilda Solis'] [{'concept': 'common name'}, 'spouse', 'Robert Reich']
SELECT DISTINCT ?z WHERE { resource:Elizabeth_Dole property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Elizabeth Dole. Could you tell me the answer for that?
(c(Q502895),P26,Q239571)
Q239571
[{'concept': 'Q502895'}, 'P26', 'Q239571']
[{'concept': 'common name'}, 'spouse', 'Elizabeth Dole']
[]
Q319079
SYSTEM
Bob Dole
Q319079
(c(Q502895),P26,Q239571)
action filter_type
action find
entity Q239571
relation P26
type Q502895
He [ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q239571']
SELECT DISTINCT ?z WHERE { resource:Q239571 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Bob Dole
He Bob Dole is married to that one
Bob Dole
action filter_type
action find
entity Elizabeth Dole
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elizabeth Dole']
SELECT DISTINCT ?z WHERE { resource:Elizabeth_Dole property:spouse ?z . ?z rdf:type ontology:common_name }
[]