Simple Question (Direct)
Simple Question
Q14326800
P69
Q159334
USER
What is the secondary school where Stan Okoye was educated ?
(Q14326800,P69,c(Q159334))
action filter_type
action find
entity Q14326800
relation P69
type Q159334
['Q14326800', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q159334 . resource:Q14326800 property:P69 ?c }
Stan Okoye
action filter_type
action find
entity Stan Okoye
relation educated at
type secondary school
['Stan Okoye', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:secondary_school . resource:Stan_Okoye property:educated_at ?c }
[]
secondary school
Q6422332
SYSTEM
Knightdale High School
Q6422332
(Q14326800,P69,c(Q159334))
action filter_type
action find
entity Q14326800
relation P69
type Q159334
The secondary school Stan Okoye was educated is from [ANSWER]
['Q14326800', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q159334 . resource:Q14326800 property:P69 ?c }
Knightdale High School
The secondary school Stan Okoye was educated is from Knightdale High School
Knightdale High School
action filter_type
action find
entity Stan Okoye
relation educated at
type secondary school
['Stan Okoye', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:secondary_school . resource:Stan_Okoye property:educated_at ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14685042 Q14326800
P27 P17
Q15617994
USER
Which administrative territories are Stan Okoye an inhabitant of and are Papeton situated in ?
AND((Q14326800,P27,c(Q15617994)), (Q14685042,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14326800
relation P27
action find
entity Q14685042
relation P17
type Q15617994
{'AND': [['Q14326800', 'P27', {'concept': 'Q15617994'}], ['Q14685042', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q14326800 property:P27 ?o . resource:Q14685042 property:P17 ?o }
Papeton Stan Okoye
action filter_type
action intersection
action find
entity Stan Okoye
relation country of citizenship
action find
entity Papeton
relation country
type designation for an administrative territorial entity
{'AND': [['Stan Okoye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Papeton', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stan_Okoye property:country_of_citizenship ?o . resource:Papeton property:country ?o }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q14326800,P27,c(Q15617994)), (Q14685042,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14326800
relation P27
action find
entity Q14685042
relation P17
type Q15617994
[ANSWER] is Stan Okoye an inhabitant of and is Papeton situated in
{'AND': [['Q14326800', 'P27', {'concept': 'Q15617994'}], ['Q14685042', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q14326800 property:P27 ?o . resource:Q14685042 property:P17 ?o }
United States of America
United States of America is Stan Okoye an inhabitant of and is Papeton situated in
United States of America
action filter_type
action intersection
action find
entity Stan Okoye
relation country of citizenship
action find
entity Papeton
relation country
type designation for an administrative territorial entity
{'AND': [['Stan Okoye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Papeton', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stan_Okoye property:country_of_citizenship ?o . resource:Papeton property:country ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5329326 Q14326800
P27
Q15617994
USER
Which administrative territories are Stan Okoye or Mik Borsten a civilian of ?
OR((Q14326800,P27,c(Q15617994)), (Q5329326,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14326800
relation P27
action find
entity Q5329326
relation P27
type Q15617994
{'OR': [['Q14326800', 'P27', {'concept': 'Q15617994'}], ['Q5329326', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( resource:Q14326800 ) ( resource:Q5329326 ) } . ?l property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
Mik Borsten Stan Okoye
action filter_type
action union
action find
entity Stan Okoye
relation country of citizenship
action find
entity Mik Borsten
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Stan Okoye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mik Borsten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( resource:Stan_Okoye ) ( resource:Mik_Borsten ) } . ?l property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1033 Q29999
SYSTEM
United States of America, Nigeria, Kingdom of the Netherlands
Q30 Q1033 Q29999
OR((Q14326800,P27,c(Q15617994)), (Q5329326,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14326800
relation P27
action find
entity Q5329326
relation P27
type Q15617994
[ANSWERS] are Stan Okoye or Mik Borsten a civilian of
{'OR': [['Q14326800', 'P27', {'concept': 'Q15617994'}], ['Q5329326', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( resource:Q14326800 ) ( resource:Q5329326 ) } . ?l property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
United States of America Nigeria Kingdom of the Netherlands
United States of America, Nigeria and Kingdom of the Netherlands are Stan Okoye or Mik Borsten a civilian of
United States of America Nigeria Kingdom of the Netherlands
action filter_type
action union
action find
entity Stan Okoye
relation country of citizenship
action find
entity Mik Borsten
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Stan Okoye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mik Borsten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?l ) { ( resource:Stan_Okoye ) ( resource:Mik_Borsten ) } . ?l property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with atmost 42 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 42
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { FILTER ( ?b <= 42 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?s } }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 42
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { FILTER ( ?b <= 42 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 42
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { FILTER ( ?b <= 42 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?s } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 42
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { FILTER ( ?b <= 42 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q260503 Q14685042
P17
Q15617994
USER
Which administrative territories are Papeton or Sabunçu, Baku located in ?
OR((Q14685042,P17,c(Q15617994)), (Q260503,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14685042
relation P17
action find
entity Q260503
relation P17
type Q15617994
{'OR': [['Q14685042', 'P17', {'concept': 'Q15617994'}], ['Q260503', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { VALUES ( ?k ) { ( resource:Q14685042 ) ( resource:Q260503 ) } . ?k property:P17 ?b } }
Sabunçu, Baku Papeton
action filter_type
action union
action find
entity Papeton
relation country
action find
entity Sabunçu, Baku
relation country
type designation for an administrative territorial entity
{'OR': [['Papeton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sabunçu, Baku', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?k ) { ( resource:Papeton ) ( resource:Sabunçu,_Baku ) } . ?k property:country ?b } }
[]
designation for an administrative territorial entity
Q227 Q30
SYSTEM
Azerbaijan, United States of America
Q227 Q30
OR((Q14685042,P17,c(Q15617994)), (Q260503,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14685042
relation P17
action find
entity Q260503
relation P17
type Q15617994
Papeton or Sabunçu , Baku are located in [ANSWERS]
{'OR': [['Q14685042', 'P17', {'concept': 'Q15617994'}], ['Q260503', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { VALUES ( ?k ) { ( resource:Q14685042 ) ( resource:Q260503 ) } . ?k property:P17 ?b } }
Azerbaijan United States of America
Papeton or Sabunçu , Baku are located in Azerbaijan and United States of America
Azerbaijan United States of America
action filter_type
action union
action find
entity Papeton
relation country
action find
entity Sabunçu, Baku
relation country
type designation for an administrative territorial entity
{'OR': [['Papeton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sabunçu, Baku', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?k ) { ( resource:Papeton ) ( resource:Sabunçu,_Baku ) } . ?k property:country ?b } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12680812 Q14685042
P17
Q15617994
USER
Which administrative territories are Papeton or Žitamantas a part of ?
OR((Q14685042,P17,c(Q15617994)), (Q12680812,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14685042
relation P17
action find
entity Q12680812
relation P17
type Q15617994
{'OR': [['Q14685042', 'P17', {'concept': 'Q15617994'}], ['Q12680812', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { ?b property:P17 ?o . VALUES ( ?b ) { ( resource:Q14685042 ) ( resource:Q12680812 ) } } }
Žitamantas Papeton
action filter_type
action union
action find
entity Papeton
relation country
action find
entity Žitamantas
relation country
type designation for an administrative territorial entity
{'OR': [['Papeton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Žitamantas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?b property:country ?o . VALUES ( ?b ) { ( resource:Papeton ) ( resource:Žitamantas ) } } }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q14685042,P17,c(Q15617994)), (Q12680812,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14685042
relation P17
action find
entity Q12680812
relation P17
type Q15617994
[ANSWERS] are Papeton or Žitamantas a part of
{'OR': [['Q14685042', 'P17', {'concept': 'Q15617994'}], ['Q12680812', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { ?b property:P17 ?o . VALUES ( ?b ) { ( resource:Q14685042 ) ( resource:Q12680812 ) } } }
United States of America Lithuania
United States of America and Lithuania are Papeton or Žitamantas a part of
United States of America Lithuania
action filter_type
action union
action find
entity Papeton
relation country
action find
entity Žitamantas
relation country
type designation for an administrative territorial entity
{'OR': [['Papeton', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Žitamantas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?b property:country ?o . VALUES ( ?b ) { ( resource:Papeton ) ( resource:Žitamantas ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19845656
P27
Q502895
USER
Are Maria Isabel Loza a citizen of those administrative territories ?
(Q19845656,P27,Q30) (Q19845656,P27,Q37)
action is_in
entity prev_answer
action find
entity Q19845656
relation P27
['Q19845656', 'P27', 'Q30'] ['Q19845656', 'P27', 'Q37']
ASK WHERE { resource:Q19845656 property:P27 ?t . VALUES ( ?t ) { ( resource:Q30 ) ( resource:Q37 ) } }
Maria Isabel Loza
action is_in
entity prev_answer
action find
entity Maria Isabel Loza
relation country of citizenship
['Maria Isabel Loza', 'country of citizenship', 'United States of America'] ['Maria Isabel Loza', 'country of citizenship', 'Lithuania']
ASK WHERE { resource:Maria_Isabel_Loza property:country_of_citizenship ?t . VALUES ( ?t ) { ( resource:United_States_of_America ) ( resource:Lithuania ) } }
[]
common name
SYSTEM
NO
(Q19845656,P27,Q30) (Q19845656,P27,Q37)
action is_in
entity prev_answer
action find
entity Q19845656
relation P27
[ANSWER]
['Q19845656', 'P27', 'Q30'] ['Q19845656', 'P27', 'Q37']
ASK WHERE { resource:Q19845656 property:P27 ?t . VALUES ( ?t ) { ( resource:Q30 ) ( resource:Q37 ) } }
No
action is_in
entity prev_answer
action find
entity Maria Isabel Loza
relation country of citizenship
['Maria Isabel Loza', 'country of citizenship', 'United States of America'] ['Maria Isabel Loza', 'country of citizenship', 'Lithuania']
ASK WHERE { resource:Maria_Isabel_Loza property:country_of_citizenship ?t . VALUES ( ?t ) { ( resource:United_States_of_America ) ( resource:Lithuania ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q37 Q4976789
P530
Q15617994
USER
Does Brownsville Independent School District hold diplomatic relationship with Lithuania ?
(Q37,P530,Q4976789)
action is_in
entity Q4976789
action find
entity Q37
relation P530
['Q37', 'P530', 'Q4976789']
ASK WHERE { resource:Q37 property:P530 resource:Q4976789 }
Lithuania Brownsville Independent School District
action is_in
entity Brownsville Independent School District
action find
entity Lithuania
relation diplomatic relation
['Lithuania', 'diplomatic relation', 'Brownsville Independent School District']
ASK WHERE { resource:Lithuania property:diplomatic_relation resource:Brownsville_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q37,P530,Q4976789)
action is_in
entity Q4976789
action find
entity Q37
relation P530
[ANSWER]
['Q37', 'P530', 'Q4976789']
ASK WHERE { resource:Q37 property:P530 resource:Q4976789 }
No
action is_in
entity Brownsville Independent School District
action find
entity Lithuania
relation diplomatic relation
['Lithuania', 'diplomatic relation', 'Brownsville Independent School District']
ASK WHERE { resource:Lithuania property:diplomatic_relation resource:Brownsville_Independent_School_District }
[]