Simple Question (Direct)
Simple Question
Q5582231
P69
Q3918
USER
Which university is the alma mater of Gonzalo P. Curiel ?
(Q5582231,P69,c(Q3918))
action filter_type
action find
entity Q5582231
relation P69
type Q3918
['Q5582231', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q5582231 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Gonzalo P. Curiel
action filter_type
action find
entity Gonzalo P. Curiel
relation educated at
type university
['Gonzalo P. Curiel', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Gonzalo_P._Curiel property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q6023633
SYSTEM
Indiana University Maurer School of Law
Q6023633
(Q5582231,P69,c(Q3918))
action filter_type
action find
entity Q5582231
relation P69
type Q3918
[ANSWER] is the alma mater of Gonzalo P. Curiel
['Q5582231', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q5582231 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Indiana University Maurer School of Law
Indiana University Maurer School of Law is the alma mater of Gonzalo P. Curiel
Indiana University Maurer School of Law
action filter_type
action find
entity Gonzalo P. Curiel
relation educated at
type university
['Gonzalo P. Curiel', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Gonzalo_P._Curiel property:educated_at ?t . ?t rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q730030 Q6023633
P17
Q15617994
USER
Which administrative territories are Indiana University Maurer School of Law or Salcantay situated in ?
OR((Q6023633,P17,c(Q15617994)), (Q730030,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6023633
relation P17
action find
entity Q730030
relation P17
type Q15617994
{'OR': [['Q6023633', 'P17', {'concept': 'Q15617994'}], ['Q730030', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q6023633 property:P17 ?d } UNION { resource:Q730030 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Salcantay Indiana University Maurer School of Law
action filter_type
action union
action find
entity Indiana University Maurer School of Law
relation country
action find
entity Salcantay
relation country
type designation for an administrative territorial entity
{'OR': [['Indiana University Maurer School of Law', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Salcantay', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Indiana_University_Maurer_School_of_Law property:country ?d } UNION { resource:Salcantay property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q30
SYSTEM
Peru, United States of America
Q419 Q30
OR((Q6023633,P17,c(Q15617994)), (Q730030,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6023633
relation P17
action find
entity Q730030
relation P17
type Q15617994
Indiana University Maurer School of Law or Salcantay are situated in [ANSWERS]
{'OR': [['Q6023633', 'P17', {'concept': 'Q15617994'}], ['Q730030', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q6023633 property:P17 ?d } UNION { resource:Q730030 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Peru United States of America
Indiana University Maurer School of Law or Salcantay are situated in Peru and United States of America
Peru United States of America
action filter_type
action union
action find
entity Indiana University Maurer School of Law
relation country
action find
entity Salcantay
relation country
type designation for an administrative territorial entity
{'OR': [['Indiana University Maurer School of Law', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Salcantay', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Indiana_University_Maurer_School_of_Law property:country ?d } UNION { resource:Salcantay property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6254224
P27
Q502895
USER
Are John Randolph Tucker a citizen of those administrative territories ?
(Q6254224,P27,Q419) (Q6254224,P27,Q30)
action is_in
entity prev_answer
action find
entity Q6254224
relation P27
['Q6254224', 'P27', 'Q419'] ['Q6254224', 'P27', 'Q30']
ASK WHERE { VALUES ( ?u ) { ( resource:Q419 ) ( resource:Q30 ) } . resource:Q6254224 property:P27 ?u }
John Randolph Tucker
action is_in
entity prev_answer
action find
entity John Randolph Tucker
relation country of citizenship
['John Randolph Tucker', 'country of citizenship', 'Peru'] ['John Randolph Tucker', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?u ) { ( resource:Peru ) ( resource:United_States_of_America ) } . resource:John_Randolph_Tucker property:country_of_citizenship ?u }
[]
common name
SYSTEM
YES
(Q6254224,P27,Q419) (Q6254224,P27,Q30)
action is_in
entity prev_answer
action find
entity Q6254224
relation P27
[ANSWER]
['Q6254224', 'P27', 'Q419'] ['Q6254224', 'P27', 'Q30']
ASK WHERE { VALUES ( ?u ) { ( resource:Q419 ) ( resource:Q30 ) } . resource:Q6254224 property:P27 ?u }
Yes
action is_in
entity prev_answer
action find
entity John Randolph Tucker
relation country of citizenship
['John Randolph Tucker', 'country of citizenship', 'Peru'] ['John Randolph Tucker', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?u ) { ( resource:Peru ) ( resource:United_States_of_America ) } . resource:John_Randolph_Tucker property:country_of_citizenship ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q347 Q4845415
P530
Q15617994
USER
Is United States of America known to have diplomatic connections with Liechtenstein and Studenets, Republic of Tatarstan ?
(Q30,P530,Q347) (Q30,P530,Q4845415)
action is_in
entity Q30
action intersection
action find_reverse
entity Q347
relation P530
action find_reverse
entity Q4845415
relation P530
['Q30', 'P530', 'Q347'] ['Q30', 'P530', 'Q4845415']
ASK WHERE { resource:Q30 property:P530 resource:Q347 . resource:Q30 property:P530 resource:Q4845415 }
United States of America Liechtenstein Studenets, Republic of Tatarstan
action is_in
entity United States of America
action intersection
action find_reverse
entity Liechtenstein
relation diplomatic relation
action find_reverse
entity Studenets, Republic of Tatarstan
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Liechtenstein'] ['United States of America', 'diplomatic relation', 'Studenets, Republic of Tatarstan']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Liechtenstein . resource:United_States_of_America property:diplomatic_relation resource:Studenets,_Republic_of_Tatarstan }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q347) (Q30,P530,Q4845415)
action is_in
entity Q30
action intersection
action find_reverse
entity Q347
relation P530
action find_reverse
entity Q4845415
relation P530
[ANSWER]
['Q30', 'P530', 'Q347'] ['Q30', 'P530', 'Q4845415']
ASK WHERE { resource:Q30 property:P530 resource:Q347 . resource:Q30 property:P530 resource:Q4845415 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Liechtenstein
relation diplomatic relation
action find_reverse
entity Studenets, Republic of Tatarstan
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Liechtenstein'] ['United States of America', 'diplomatic relation', 'Studenets, Republic of Tatarstan']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Liechtenstein . resource:United_States_of_America property:diplomatic_relation resource:Studenets,_Republic_of_Tatarstan }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1979
P194
Q35749 Q1752346 Q15617994
USER
Which administrative territories have lesser number of parliaments or assemblies as their representative body than Prince Edward Island ?
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q1979
relation P194
type Q35749
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } } GROUP BY ?t } . FILTER ( ?w < ?z ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { resource:Q1979 property:P194 ?d . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } } } } }
Prince Edward Island
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Prince Edward Island
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:parliament ) ( ontology:assembly ) } } GROUP BY ?t } . FILTER ( ?w < ?z ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { resource:Prince_Edward_Island property:legislative_body ?d . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:parliament ) ( ontology:assembly ) } } } } }
[]
parliament assembly designation for an administrative territorial entity
Q30 Q148 Q17
SYSTEM
United States of America, People's Republic of China, Japan
Q805 Q800 Q1462 Q1250 Q2806757 Q148 Q189 Q786 Q710 Q252320 Q187035 Q1460 Q3361 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q153529 Q12761 Q244 Q32 Q31 Q30 Q37 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q694594 Q1222 Q774 Q948 Q1016 Q27 Q1011 Q1243 Q12620 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q1979
relation P194
type Q35749
type Q1752346
[ANSWERS] have lesser number of parliaments or assemblies as their representative body than Prince Edward Island
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } } GROUP BY ?t } . FILTER ( ?w < ?z ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { resource:Q1979 property:P194 ?d . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } } } } }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia 105 Mile Post Indian Reserve No. 2 People's Republic of China Iceland Dominican Republic Kiribati Pleinfeld Principality of Albania Sicily Doubs Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Duchy of Milan Seine-Saint-Denis Barbados Luxembourg Belgium United States of America Lithuania Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Aosta Valley Guatemala Tunisia Libya Ireland Cape Verde Veneto Mayenne Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America, People's Republic of China and Japan have lesser number of parliaments or assemblies as their representative body than Prince Edward Island
United States of America People's Republic of China Japan
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Prince Edward Island
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:parliament ) ( ontology:assembly ) } } GROUP BY ?t } . FILTER ( ?w < ?z ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { resource:Prince_Edward_Island property:legislative_body ?d . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:parliament ) ( ontology:assembly ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q228
P194
Q35749 Q1752346 Q15617994
USER
And what about Andorra?
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q228
relation P194
type Q35749
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?m WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1752346 ) ( ontology:Q35749 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q228 property:P194 ?g . { { ?g rdf:type ontology:Q35749 } UNION { ?g rdf:type ontology:Q1752346 } } } } . FILTER ( ?u < ?l ) }
Andorra
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Andorra
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?m WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:assembly ) ( ontology:parliament ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Andorra property:legislative_body ?g . { { ?g rdf:type ontology:parliament } UNION { ?g rdf:type ontology:assembly } } } } . FILTER ( ?u < ?l ) }
[]
parliament assembly designation for an administrative territorial entity
Q30 Q148 Q17
SYSTEM
United States of America, People's Republic of China, Japan
Q805 Q800 Q1462 Q1250 Q2806757 Q148 Q189 Q786 Q710 Q252320 Q187035 Q1460 Q3361 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q153529 Q12761 Q244 Q32 Q31 Q30 Q37 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q694594 Q1222 Q774 Q948 Q1016 Q27 Q1011 Q1243 Q12620 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q228
relation P194
type Q35749
type Q1752346
[ANSWERS]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?m WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1752346 ) ( ontology:Q35749 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q228 property:P194 ?g . { { ?g rdf:type ontology:Q35749 } UNION { ?g rdf:type ontology:Q1752346 } } } } . FILTER ( ?u < ?l ) }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia 105 Mile Post Indian Reserve No. 2 People's Republic of China Iceland Dominican Republic Kiribati Pleinfeld Principality of Albania Sicily Doubs Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Duchy of Milan Seine-Saint-Denis Barbados Luxembourg Belgium United States of America Lithuania Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Aosta Valley Guatemala Tunisia Libya Ireland Cape Verde Veneto Mayenne Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America People's Republic of China Japan
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Andorra
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?m WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:assembly ) ( ontology:parliament ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Andorra property:legislative_body ?g . { { ?g rdf:type ontology:parliament } UNION { ?g rdf:type ontology:assembly } } } } . FILTER ( ?u < ?l ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q858
P530
Q15617994
USER
Do Syria have diplomatic relations with those ones ?
(Q858,P530,Q30) (Q858,P530,Q148) (Q858,P530,Q17)
action is_in
entity prev_answer
action find
entity Q858
relation P530
['Q858', 'P530', 'Q30'] ['Q858', 'P530', 'Q148'] ['Q858', 'P530', 'Q17']
ASK WHERE { VALUES ( ?g ) { ( resource:Q805 ) ( resource:Q800 ) ( resource:Q1462 ) } . resource:Q858 property:P530 ?g }
Syria
action is_in
entity prev_answer
action find
entity Syria
relation diplomatic relation
['Syria', 'diplomatic relation', 'United States of America'] ['Syria', 'diplomatic relation', "People's Republic of China"] ['Syria', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?g ) { ( resource:Yemen ) ( resource:Costa_Rica ) ( resource:Sardinia ) } . resource:Syria property:diplomatic_relation ?g }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q858,P530,Q30) (Q858,P530,Q148) (Q858,P530,Q17)
action is_in
entity prev_answer
action find
entity Q858
relation P530
[ANSWER]
['Q858', 'P530', 'Q30'] ['Q858', 'P530', 'Q148'] ['Q858', 'P530', 'Q17']
ASK WHERE { VALUES ( ?g ) { ( resource:Q805 ) ( resource:Q800 ) ( resource:Q1462 ) } . resource:Q858 property:P530 ?g }
Yes
action is_in
entity prev_answer
action find
entity Syria
relation diplomatic relation
['Syria', 'diplomatic relation', 'United States of America'] ['Syria', 'diplomatic relation', "People's Republic of China"] ['Syria', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?g ) { ( resource:Yemen ) ( resource:Costa_Rica ) ( resource:Sardinia ) } . resource:Syria property:diplomatic_relation ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5582231 Q7986462 Q30
P27
Q15617994
USER
Is Gonzalo P. Curiel a native of West Seneca Central School District and United States of America ?
(Q5582231,P27,Q7986462) (Q5582231,P27,Q30)
action is_in
entity Q5582231
action intersection
action find_reverse
entity Q7986462
relation P27
action find_reverse
entity Q30
relation P27
['Q5582231', 'P27', 'Q7986462'] ['Q5582231', 'P27', 'Q30']
ASK WHERE { resource:Q5582231 property:P27 resource:Q7986462 . resource:Q5582231 property:P27 resource:Q30 }
Gonzalo P. Curiel West Seneca Central School District United States of America
action is_in
entity Gonzalo P. Curiel
action intersection
action find_reverse
entity West Seneca Central School District
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Gonzalo P. Curiel', 'country of citizenship', 'West Seneca Central School District'] ['Gonzalo P. Curiel', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Gonzalo_P._Curiel property:country_of_citizenship resource:West_Seneca_Central_School_District . resource:Gonzalo_P._Curiel property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5582231,P27,Q7986462) (Q5582231,P27,Q30)
action is_in
entity Q5582231
action intersection
action find_reverse
entity Q7986462
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q5582231', 'P27', 'Q7986462'] ['Q5582231', 'P27', 'Q30']
ASK WHERE { resource:Q5582231 property:P27 resource:Q7986462 . resource:Q5582231 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Gonzalo P. Curiel
action intersection
action find_reverse
entity West Seneca Central School District
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Gonzalo P. Curiel', 'country of citizenship', 'West Seneca Central School District'] ['Gonzalo P. Curiel', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Gonzalo_P._Curiel property:country_of_citizenship resource:West_Seneca_Central_School_District . resource:Gonzalo_P._Curiel property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5582231
P39
Q12737077
USER
What was the position for which that person was appointed ?
action filter_type
action find
entity Q5582231
relation P39
type Q12737077
SELECT DISTINCT ?b WHERE { resource:Q5582231 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Gonzalo P. Curiel
action filter_type
action find
entity Gonzalo P. Curiel
relation position held
type occupation
SELECT DISTINCT ?b WHERE { resource:Gonzalo_P._Curiel property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1006696
SYSTEM
United States federal judge
Q1006696
action filter_type
action find
entity Q5582231
relation P39
type Q12737077
To [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q5582231 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
United States federal judge
To United States federal judge
United States federal judge
action filter_type
action find
entity Gonzalo P. Curiel
relation position held
type occupation
SELECT DISTINCT ?b WHERE { resource:Gonzalo_P._Curiel property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1006696 Q4662263
P106
Q502895
USER
Does Aaron Mills have the profession as that occupation ?
(Q4662263,P106,Q1006696)
action is_in
entity Q4662263
action find
entity Q1006696
relation P106
['Q4662263', 'P106', 'Q1006696']
ASK WHERE { resource:Q1006696 property:P106 resource:Q4662263 }
United States federal judge Aaron Mills
action is_in
entity Aaron Mills
action find
entity United States federal judge
relation occupation
['Aaron Mills', 'occupation', 'United States federal judge']
ASK WHERE { resource:United_States_federal_judge property:occupation resource:Aaron_Mills }
[]
common name
SYSTEM
NO
(Q4662263,P106,Q1006696)
action is_in
entity Q4662263
action find
entity Q1006696
relation P106
[ANSWER]
['Q4662263', 'P106', 'Q1006696']
ASK WHERE { resource:Q1006696 property:P106 resource:Q4662263 }
No
action is_in
entity Aaron Mills
action find
entity United States federal judge
relation occupation
['Aaron Mills', 'occupation', 'United States federal judge']
ASK WHERE { resource:United_States_federal_judge property:occupation resource:Aaron_Mills }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1006696
P921
Q1209283
USER
Which electronic media was mainly based on United States federal judge ?
(c(Q1209283),P921,Q1006696)
action filter_type
action find_reverse
entity Q1006696
relation P921
type Q1209283
[{'concept': 'Q1209283'}, 'P921', 'Q1006696']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1209283 . ?h property:P921 resource:Q1006696 }
United States federal judge
action filter_type
action find_reverse
entity United States federal judge
relation main subject
type electronic media
[{'concept': 'electronic media'}, 'main subject', 'United States federal judge']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:electronic_media . ?h property:main_subject resource:United_States_federal_judge }
[]
electronic media
Q4914870
SYSTEM
Biographical Directory of Federal Judges
Q4914870
(c(Q1209283),P921,Q1006696)
action filter_type
action find_reverse
entity Q1006696
relation P921
type Q1209283
[ANSWER] was mainly based on United States federal judge
[{'concept': 'Q1209283'}, 'P921', 'Q1006696']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1209283 . ?h property:P921 resource:Q1006696 }
Biographical Directory of Federal Judges
Biographical Directory of Federal Judges was mainly based on United States federal judge
Biographical Directory of Federal Judges
action filter_type
action find_reverse
entity United States federal judge
relation main subject
type electronic media
[{'concept': 'electronic media'}, 'main subject', 'United States federal judge']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:electronic_media . ?h property:main_subject resource:United_States_federal_judge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4914870
P98
Q895526
USER
Who served as an editor of that electronic media ?
(Q4914870,P98,c(Q895526))
action filter_type
action find
entity Q4914870
relation P98
type Q895526
['Q4914870', 'P98', {'concept': 'Q895526'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q895526 . resource:Q4914870 property:P98 ?x }
Biographical Directory of Federal Judges
action filter_type
action find
entity Biographical Directory of Federal Judges
relation editor
type authority organ
['Biographical Directory of Federal Judges', 'editor', {'concept': 'authority organ'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:authority_organ . resource:Biographical_Directory_of_Federal_Judges property:editor ?x }
[]
authority organ
Q5440270
SYSTEM
Federal Judicial Center
Q5440270
(Q4914870,P98,c(Q895526))
action filter_type
action find
entity Q4914870
relation P98
type Q895526
[ANSWER] served as an editor of that electronic media
['Q4914870', 'P98', {'concept': 'Q895526'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q895526 . resource:Q4914870 property:P98 ?x }
Federal Judicial Center
Federal Judicial Center served as an editor of that electronic media
Federal Judicial Center
action filter_type
action find
entity Biographical Directory of Federal Judges
relation editor
type authority organ
['Biographical Directory of Federal Judges', 'editor', {'concept': 'authority organ'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:authority_organ . resource:Biographical_Directory_of_Federal_Judges property:editor ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5440270
P159
Q56061
USER
Which administrative territory is the head office of that authority organ ?
(Q5440270,P159,c(Q56061))
action filter_type
action find
entity Q5440270
relation P159
type Q56061
['Q5440270', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q5440270 property:P159 ?d }
Federal Judicial Center
action filter_type
action find
entity Federal Judicial Center
relation headquarters location
type administrative territorial entity
['Federal Judicial Center', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Federal_Judicial_Center property:headquarters_location ?d }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q5440270,P159,c(Q56061))
action filter_type
action find
entity Q5440270
relation P159
type Q56061
[ANSWER] is the head office of that authority organ
['Q5440270', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q5440270 property:P159 ?d }
Washington, D.C.
Washington, D.C. is the head office of that authority organ
Washington, D.C.
action filter_type
action find
entity Federal Judicial Center
relation headquarters location
type administrative territorial entity
['Federal Judicial Center', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Federal_Judicial_Center property:headquarters_location ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q8072004 Q5440270
P159
Q56061
USER
Or Zimbabwe People's Democratic Party?
OR((Q5440270,P159,c(Q56061)), (Q8072004,P159,c(Q56061)))
action filter_type
action union
action find
entity Q5440270
relation P159
action find
entity Q8072004
relation P159
type Q56061
{'OR': [['Q5440270', 'P159', {'concept': 'Q56061'}], ['Q8072004', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5440270 property:P159 ?j } UNION { resource:Q8072004 property:P159 ?j } } . ?j rdf:type ontology:Q56061 }
Zimbabwe People's Democratic Party Federal Judicial Center
action filter_type
action union
action find
entity Federal Judicial Center
relation headquarters location
action find
entity Zimbabwe People's Democratic Party
relation headquarters location
type administrative territorial entity
{'OR': [['Federal Judicial Center', 'headquarters location', {'concept': 'administrative territorial entity'}], ["Zimbabwe People's Democratic Party", 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Federal_Judicial_Center property:headquarters_location ?j } UNION { resource:Zimbabwe_People's_Democratic_Party property:headquarters_location ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61 Q3921
SYSTEM
Washington, D.C., Harare
Q61 Q3921
OR((Q5440270,P159,c(Q56061)), (Q8072004,P159,c(Q56061)))
action filter_type
action union
action find
entity Q5440270
relation P159
action find
entity Q8072004
relation P159
type Q56061
[ANSWERS]
{'OR': [['Q5440270', 'P159', {'concept': 'Q56061'}], ['Q8072004', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q5440270 property:P159 ?j } UNION { resource:Q8072004 property:P159 ?j } } . ?j rdf:type ontology:Q56061 }
Washington, D.C. Harare
Washington, D.C. Harare
action filter_type
action union
action find
entity Federal Judicial Center
relation headquarters location
action find
entity Zimbabwe People's Democratic Party
relation headquarters location
type administrative territorial entity
{'OR': [['Federal Judicial Center', 'headquarters location', {'concept': 'administrative territorial entity'}], ["Zimbabwe People's Democratic Party", 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Federal_Judicial_Center property:headquarters_location ?j } UNION { resource:Zimbabwe_People's_Democratic_Party property:headquarters_location ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]