Simple Question (Direct)
Simple Question
Q11475920
P734
Q82799
USER
Who is associated with Yoshihiro Kishimoto ?
(Q11475920,P734,c(Q82799))
action filter_type
action find
entity Q11475920
relation P734
type Q82799
['Q11475920', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q11475920 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Yoshihiro Kishimoto
action filter_type
action find
entity Yoshihiro Kishimoto
relation family name
type name
['Yoshihiro Kishimoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Yoshihiro_Kishimoto property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q21509463
SYSTEM
Kishimoto
Q21509463
(Q11475920,P734,c(Q82799))
action filter_type
action find
entity Q11475920
relation P734
type Q82799
To [ANSWER] is associated with Yoshihiro [ANSWER]
['Q11475920', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q11475920 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Kishimoto
To Kishimoto is associated with Yoshihiro Kishimoto
Kishimoto
action filter_type
action find
entity Yoshihiro Kishimoto
relation family name
type name
['Yoshihiro Kishimoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Yoshihiro_Kishimoto property:family_name ?x . ?x rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18546656
P248
Q11028 Q5292 Q502895
USER
How many people have been recognized first in around the same number of information and encyclopedias as John Williams ?
(c(Q502895),P248,c(Q11028)|c(Q5292))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q11028
action find_tuple_counts
relation P248
type Q502895
type Q5292
action count
action filter_multi_types
action find
entity Q18546656
relation P248
type Q11028
type Q5292
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11028'}, {'concept': 'Q5292'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:Q11028 ) ( ontology:Q5292 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { { ?r rdf:type ontology:Q5292 } UNION { ?r rdf:type ontology:Q11028 } } . resource:Q18546656 property:P248 ?r } } . FILTER ( ?u = ?a ) }
John Williams
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type information
action find_tuple_counts
relation stated in
type common name
type encyclopedia
action count
action filter_multi_types
action find
entity John Williams
relation stated in
type information
type encyclopedia
[{'concept': 'common name'}, 'stated in', [{'concept': 'information'}, {'concept': 'encyclopedia'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:information ) ( ontology:encyclopedia ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { { ?r rdf:type ontology:encyclopedia } UNION { ?r rdf:type ontology:information } } . resource:John_Williams property:stated_in ?r } } . FILTER ( ?u = ?a ) }
[]
information encyclopedia common name
SYSTEM
360
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16013737 Q7342716 Q7342713 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q5232852 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q15456236 Q6249889 Q6255181 Q6249883 Q6255184 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q6237337 Q1776423 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q8019900 Q8019902 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q10363011 Q6257915 Q6145009 Q6145005 Q6145007 Q6145001 Q5233462 Q5233466 Q5233469 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q11028)|c(Q5292))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q11028
action find_tuple_counts
relation P248
type Q502895
type Q5292
action count
action filter_multi_types
action find
entity Q18546656
relation P248
type Q11028
type Q5292
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11028'}, {'concept': 'Q5292'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:Q11028 ) ( ontology:Q5292 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { { ?r rdf:type ontology:Q5292 } UNION { ?r rdf:type ontology:Q11028 } } . resource:Q18546656 property:P248 ?r } } . FILTER ( ?u = ?a ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith John Roberts Robert Campbell Robert Campbell Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson David Davies John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward William Williams John Murphy John Roberts John Murphy John Roberts Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith John Martin David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango John Hall Raud the Strong John Davies John Davies John Martin David Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell William Walker William Walker Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Ward John Rogers John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Walker John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall Risques Pereira John Simpson James Walker James Walker James Walker James Walker David Evans David Evans David Evans John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
360
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type information
action find_tuple_counts
relation stated in
type common name
type encyclopedia
action count
action filter_multi_types
action find
entity John Williams
relation stated in
type information
type encyclopedia
[{'concept': 'common name'}, 'stated in', [{'concept': 'information'}, {'concept': 'encyclopedia'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ?f . VALUES ( ?f ) { ( ontology:information ) ( ontology:encyclopedia ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { { ?r rdf:type ontology:encyclopedia } UNION { ?r rdf:type ontology:information } } . resource:John_Williams property:stated_in ?r } } . FILTER ( ?u = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11475920
P27
Q15617994
USER
Which administrative territory is Yoshihiro Kishimoto a civilian of ?
(Q11475920,P27,c(Q15617994))
action filter_type
action find
entity Q11475920
relation P27
type Q15617994
['Q11475920', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q11475920 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Yoshihiro Kishimoto
action filter_type
action find
entity Yoshihiro Kishimoto
relation country of citizenship
type designation for an administrative territorial entity
['Yoshihiro Kishimoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Yoshihiro_Kishimoto property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11475920,P27,c(Q15617994))
action filter_type
action find
entity Q11475920
relation P27
type Q15617994
[ANSWER] is Yoshihiro Kishimoto a civilian of
['Q11475920', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q11475920 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Japan
Japan is Yoshihiro Kishimoto a civilian of
Japan
action filter_type
action find
entity Yoshihiro Kishimoto
relation country of citizenship
type designation for an administrative territorial entity
['Yoshihiro Kishimoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Yoshihiro_Kishimoto property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11475920
P69
Q3918
USER
Which university is the alma mater of Yoshihiro Kishimoto ?
(Q11475920,P69,c(Q3918))
action filter_type
action find
entity Q11475920
relation P69
type Q3918
['Q11475920', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q11475920 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Yoshihiro Kishimoto
action filter_type
action find
entity Yoshihiro Kishimoto
relation educated at
type university
['Yoshihiro Kishimoto', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Yoshihiro_Kishimoto property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q11475920,P69,c(Q3918))
action filter_type
action find
entity Q11475920
relation P69
type Q3918
Tokyo [ANSWER] is the alma mater of Yoshihiro Kishimoto
['Q11475920', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q11475920 property:P69 ?p . ?p rdf:type ontology:Q3918 }
University of Tokyo
Tokyo University of Tokyo is the alma mater of Yoshihiro Kishimoto
University of Tokyo
action filter_type
action find
entity Yoshihiro Kishimoto
relation educated at
type university
['Yoshihiro Kishimoto', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Yoshihiro_Kishimoto property:educated_at ?p . ?p rdf:type ontology:university }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P69
Q3918 Q502895
USER
How many universities are around the same number of people an alumni of as that university ?
(c(Q502895),P69,c(Q3918))
action count
action approx
action find_reverse_tuple_counts
relation P69
type Q3918
type Q502895
action count
action filter_type
action find
entity Q7842
relation P69
type Q3918
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P69 ?x . ?x rdf:type ontology:Q3918 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q7842 property:P69 ?j . ?j rdf:type ontology:Q3918 } } . FILTER ( ?k = ?l ) }
action count
action approx
action find_reverse_tuple_counts
relation educated at
type university
type common name
action count
action filter_type
action find
entity University of Tokyo
relation educated at
type university
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:educated_at ?x . ?x rdf:type ontology:university . ?u rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:University_of_Tokyo property:educated_at ?j . ?j rdf:type ontology:university } } . FILTER ( ?k = ?l ) }
[]
university common name
SYSTEM
2
Q7842 Q230492
(c(Q502895),P69,c(Q3918))
action count
action approx
action find_reverse_tuple_counts
relation P69
type Q3918
type Q502895
action count
action filter_type
action find
entity Q7842
relation P69
type Q3918
[ANSWER]
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P69 ?x . ?x rdf:type ontology:Q3918 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q7842 property:P69 ?j . ?j rdf:type ontology:Q3918 } } . FILTER ( ?k = ?l ) }
University of Tokyo University of Michigan
2
action count
action approx
action find_reverse_tuple_counts
relation educated at
type university
type common name
action count
action filter_type
action find
entity University of Tokyo
relation educated at
type university
[{'concept': 'common name'}, 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:educated_at ?x . ?x rdf:type ontology:university . ?u rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:University_of_Tokyo property:educated_at ?j . ?j rdf:type ontology:university } } . FILTER ( ?k = ?l ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q315579 Q11475920
P102
Q7210356
USER
Which political organizations do Yoshihiro Kishimoto and Toshiki Kaifu belong to ?
AND((Q11475920,P102,c(Q7210356)), (Q315579,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q11475920
relation P102
action find
entity Q315579
relation P102
type Q7210356
{'AND': [['Q11475920', 'P102', {'concept': 'Q7210356'}], ['Q315579', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?u WHERE { resource:Q315579 property:P102 ?u . resource:Q11475920 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Toshiki Kaifu Yoshihiro Kishimoto
action filter_type
action intersection
action find
entity Yoshihiro Kishimoto
relation member of political party
action find
entity Toshiki Kaifu
relation member of political party
type political organization
{'AND': [['Yoshihiro Kishimoto', 'member of political party', {'concept': 'political organization'}], ['Toshiki Kaifu', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?u WHERE { resource:Toshiki_Kaifu property:member_of_political_party ?u . resource:Yoshihiro_Kishimoto property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q232595
SYSTEM
Liberal Democratic Party
Q232595
AND((Q11475920,P102,c(Q7210356)), (Q315579,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q11475920
relation P102
action find
entity Q315579
relation P102
type Q7210356
Yoshihiro Kishimoto and Toshiki Kaifu belong to the [ANSWER]
{'AND': [['Q11475920', 'P102', {'concept': 'Q7210356'}], ['Q315579', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?u WHERE { resource:Q315579 property:P102 ?u . resource:Q11475920 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Liberal Democratic Party
Yoshihiro Kishimoto and Toshiki Kaifu belong to the Liberal Democratic Party
Liberal Democratic Party
action filter_type
action intersection
action find
entity Yoshihiro Kishimoto
relation member of political party
action find
entity Toshiki Kaifu
relation member of political party
type political organization
{'AND': [['Yoshihiro Kishimoto', 'member of political party', {'concept': 'political organization'}], ['Toshiki Kaifu', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?u WHERE { resource:Toshiki_Kaifu property:member_of_political_party ?u . resource:Yoshihiro_Kishimoto property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q149621
P17
Q15617994 Q41176 Q1076486
USER
Which administrative territories are around the same number of buildings or sports venues located in as district ?
(c(Q41176)|c(Q1076486),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q41176
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q149621
relation P17
type Q41176
type Q1076486
[[{'concept': 'Q41176'}, {'concept': 'Q1076486'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?p WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q41176 ) ( ontology:Q1076486 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q41176 ) ( ontology:Q1076486 ) } } . ?b property:P17 resource:Q149621 } } . FILTER ( ?n = ?v ) }
district
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type building
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sports venue
action count
action filter_multi_types
action find_reverse
entity district
relation country
type building
type sports venue
[[{'concept': 'building'}, {'concept': 'sports venue'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?p WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:building ) ( ontology:sports_venue ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:building ) ( ontology:sports_venue ) } } . ?b property:country resource:district } } . FILTER ( ?n = ?v ) }
[]
designation for an administrative territorial entity building sports venue
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q41176)|c(Q1076486),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q41176
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q149621
relation P17
type Q41176
type Q1076486
[ANSWERS] are around the same number of buildings or sports venues located in as district
[[{'concept': 'Q41176'}, {'concept': 'Q1076486'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?p WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q41176 ) ( ontology:Q1076486 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q41176 ) ( ontology:Q1076486 ) } } . ?b property:P17 resource:Q149621 } } . FILTER ( ?n = ?v ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Brazil, Georgia and Russia are around the same number of buildings or sports venues located in as district
Brazil Georgia Russia
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type building
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sports venue
action count
action filter_multi_types
action find_reverse
entity district
relation country
type building
type sports venue
[[{'concept': 'building'}, {'concept': 'sports venue'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?p WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:building ) ( ontology:sports_venue ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:building ) ( ontology:sports_venue ) } } . ?b property:country resource:district } } . FILTER ( ?n = ?v ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q546124
P530
Q15617994
USER
Do Kayhude have ambassadorial relations with those ones ?
(Q546124,P530,Q155) (Q546124,P530,Q230) (Q546124,P530,Q159)
action is_in
entity prev_answer
action find
entity Q546124
relation P530
['Q546124', 'P530', 'Q155'] ['Q546124', 'P530', 'Q230'] ['Q546124', 'P530', 'Q159']
ASK WHERE { resource:Q546124 property:P530 ?q . VALUES ( ?q ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Kayhude
action is_in
entity prev_answer
action find
entity Kayhude
relation diplomatic relation
['Kayhude', 'diplomatic relation', 'Brazil'] ['Kayhude', 'diplomatic relation', 'Georgia'] ['Kayhude', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Kayhude property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q546124,P530,Q155) (Q546124,P530,Q230) (Q546124,P530,Q159)
action is_in
entity prev_answer
action find
entity Q546124
relation P530
[ANSWER]
['Q546124', 'P530', 'Q155'] ['Q546124', 'P530', 'Q230'] ['Q546124', 'P530', 'Q159']
ASK WHERE { resource:Q546124 property:P530 ?q . VALUES ( ?q ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Kayhude
relation diplomatic relation
['Kayhude', 'diplomatic relation', 'Brazil'] ['Kayhude', 'diplomatic relation', 'Georgia'] ['Kayhude', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Kayhude property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q159 Q5901798 Q7747
P6
Q502895
USER
Does Russia have Horacio Anasagasti and Vladimir Putin as its head of government ?
(Q159,P6,Q5901798) (Q159,P6,Q7747)
action is_in
entity Q159
action intersection
action find_reverse
entity Q5901798
relation P6
action find_reverse
entity Q7747
relation P6
['Q159', 'P6', 'Q5901798'] ['Q159', 'P6', 'Q7747']
ASK WHERE { resource:Q159 property:P6 resource:Q5901798 . resource:Q159 property:P6 resource:Q7747 }
Russia Horacio Anasagasti Vladimir Putin
action is_in
entity Russia
action intersection
action find_reverse
entity Horacio Anasagasti
relation head of government
action find_reverse
entity Vladimir Putin
relation head of government
['Russia', 'head of government', 'Horacio Anasagasti'] ['Russia', 'head of government', 'Vladimir Putin']
ASK WHERE { resource:Russia property:head_of_government resource:Horacio_Anasagasti . resource:Russia property:head_of_government resource:Vladimir_Putin }
[]
common name
SYSTEM
NO and YES respectively
(Q159,P6,Q5901798) (Q159,P6,Q7747)
action is_in
entity Q159
action intersection
action find_reverse
entity Q5901798
relation P6
action find_reverse
entity Q7747
relation P6
[ANSWER]
['Q159', 'P6', 'Q5901798'] ['Q159', 'P6', 'Q7747']
ASK WHERE { resource:Q159 property:P6 resource:Q5901798 . resource:Q159 property:P6 resource:Q7747 }
NO and YES respectively
action is_in
entity Russia
action intersection
action find_reverse
entity Horacio Anasagasti
relation head of government
action find_reverse
entity Vladimir Putin
relation head of government
['Russia', 'head of government', 'Horacio Anasagasti'] ['Russia', 'head of government', 'Vladimir Putin']
ASK WHERE { resource:Russia property:head_of_government resource:Horacio_Anasagasti . resource:Russia property:head_of_government resource:Vladimir_Putin }
[]