Simple Question (Direct)
Simple Question
Q2680185
P54
Q12973014
USER
Which sports teams are Daniel Hudson a member of ?
(Q2680185,P54,c(Q12973014))
action filter_type
action find
entity Q2680185
relation P54
type Q12973014
['Q2680185', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q2680185 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
Daniel Hudson
action filter_type
action find
entity Daniel Hudson
relation member of sports team
type sports team
['Daniel Hudson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Daniel_Hudson property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
sports team
Q670376 Q335169
SYSTEM
Arizona Diamondbacks, Chicago White Sox
Q670376 Q335169
(Q2680185,P54,c(Q12973014))
action filter_type
action find
entity Q2680185
relation P54
type Q12973014
The [ANSWERS] are Daniel Hudson a member of
['Q2680185', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q2680185 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
Arizona Diamondbacks Chicago White Sox
The Arizona Diamondbacks and Chicago White Sox are Daniel Hudson a member of
Arizona Diamondbacks Chicago White Sox
action filter_type
action find
entity Daniel Hudson
relation member of sports team
type sports team
['Daniel Hudson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Daniel_Hudson property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q335169
P647
Q502895
USER
Who drafted that sports team ?
(c(Q502895),P647,Q335169)
action filter_type
action find_reverse
entity Q335169
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q335169']
SELECT DISTINCT ?w WHERE { ?w property:P647 resource:Q335169 . ?w rdf:type ontology:Q502895 }
Chicago White Sox
action filter_type
action find_reverse
entity Chicago White Sox
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Chicago White Sox']
SELECT DISTINCT ?w WHERE { ?w property:drafted_by resource:Chicago_White_Sox . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q670376
SYSTEM
Did you mean Arizona Diamondbacks ?
Q670376 Q335169
(c(Q502895),P647,Q670376) (c(Q502895),P647,Q335169)
[ANSWER]
[{'concept': 'Q502895'}, 'P647', 'Q670376'] [{'concept': 'Q502895'}, 'P647', 'Q335169']
SELECT DISTINCT ?w WHERE { ?w property:P647 resource:Q335169 . ?w rdf:type ontology:Q502895 }
Arizona Diamondbacks Chicago White Sox
Did you mean Arizona Diamondbacks ?
Arizona Diamondbacks
[{'concept': 'common name'}, 'drafted by', 'Arizona Diamondbacks'] [{'concept': 'common name'}, 'drafted by', 'Chicago White Sox']
SELECT DISTINCT ?w WHERE { ?w property:drafted_by resource:Chicago_White_Sox . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Chicago White Sox. Could you tell me the answer for that?
(c(Q502895),P647,Q335169)
Q335169
[{'concept': 'Q502895'}, 'P647', 'Q335169']
[{'concept': 'common name'}, 'drafted by', 'Chicago White Sox']
[]
Q3181434 Q936391 Q2978735
SYSTEM
John Ely, Brandon Allen, Clayton Richard
Q3181434 Q936391 Q2978735
(c(Q502895),P647,Q335169)
action filter_type
action find_reverse
entity Q335169
relation P647
type Q502895
[ANSWERS] drafted that sports team
[{'concept': 'Q502895'}, 'P647', 'Q335169']
SELECT DISTINCT ?w WHERE { ?w property:P647 resource:Q335169 . ?w rdf:type ontology:Q502895 }
John Ely Brandon Allen Clayton Richard
John Ely, Brandon Allen and Clayton Richard drafted that sports team
John Ely Brandon Allen Clayton Richard
action filter_type
action find_reverse
entity Chicago White Sox
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Chicago White Sox']
SELECT DISTINCT ?w WHERE { ?w property:drafted_by resource:Chicago_White_Sox . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q335169
P466
Q811979 Q1076486
USER
How many architectural structures and sports venues are occupied by Chicago White Sox ?
(c(Q811979),P466,Q335169) (c(Q1076486),P466,Q335169)
action count
action union
action filter_type
action find_reverse
entity Q335169
relation P466
type Q811979
action filter_type
action find_reverse
entity Q335169
relation P466
type Q1076486
[{'concept': 'Q811979'}, 'P466', 'Q335169'] [{'concept': 'Q1076486'}, 'P466', 'Q335169']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } }
Chicago White Sox
action count
action union
action filter_type
action find_reverse
entity Chicago White Sox
relation occupant
type architectural structure
action filter_type
action find_reverse
entity Chicago White Sox
relation occupant
type sports venue
[{'concept': 'architectural structure'}, 'occupant', 'Chicago White Sox'] [{'concept': 'sports venue'}, 'occupant', 'Chicago White Sox']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } }
[]
architectural structure sports venue
SYSTEM
3 architectural structures and 1 sports venues
Q5025880 Q4853615 Q633613 Q4704307
(c(Q811979),P466,Q335169) (c(Q1076486),P466,Q335169)
action count
action union
action filter_type
action find_reverse
entity Q335169
relation P466
type Q811979
action filter_type
action find_reverse
entity Q335169
relation P466
type Q1076486
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q335169'] [{'concept': 'Q1076486'}, 'P466', 'Q335169']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } }
Camelback Ranch Ban Johnson Park Guaranteed Rate Field Al Lopez Field
3 architectural structures and 1 sports venues
action count
action union
action filter_type
action find_reverse
entity Chicago White Sox
relation occupant
type architectural structure
action filter_type
action find_reverse
entity Chicago White Sox
relation occupant
type sports venue
[{'concept': 'architectural structure'}, 'occupant', 'Chicago White Sox'] [{'concept': 'sports venue'}, 'occupant', 'Chicago White Sox']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6242872
P248
Q1914636 Q191067 Q502895
USER
Which people have been stated in around the same number of activities and articles as John Kennedy ?
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6242872
relation P248
type Q1914636
type Q191067
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { { ?o property:P248 ?q . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1914636 } UNION { ?o property:P248 ?q . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q191067 } } GROUP BY ?o } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q6242872 property:P248 ?i . { VALUES ( ?c ) { ( ontology:Q191067 ) ( ontology:Q1914636 ) } . ?i rdf:type ?c } } } }
John Kennedy
action approx
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Kennedy
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { { ?o property:stated_in ?q . ?o rdf:type ontology:common_name . ?q rdf:type ontology:activity } UNION { ?o property:stated_in ?q . ?o rdf:type ontology:common_name . ?q rdf:type ontology:article } } GROUP BY ?o } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:John_Kennedy property:stated_in ?i . { VALUES ( ?c ) { ( ontology:article ) ( ontology:activity ) } . ?i rdf:type ?c } } } }
[]
activity article common name
Q6251897 Q6255286 Q6260652
SYSTEM
John Parker, John Robinson, John Thompson
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q6242872
relation P248
type Q1914636
type Q191067
[ANSWERS] have been stated in around the same number of activities and articles as John Kennedy
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { { ?o property:P248 ?q . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1914636 } UNION { ?o property:P248 ?q . ?o rdf:type ontology:Q502895 . ?q rdf:type ontology:Q191067 } } GROUP BY ?o } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q6242872 property:P248 ?i . { VALUES ( ?c ) { ( ontology:Q191067 ) ( ontology:Q1914636 ) } . ?i rdf:type ?c } } } }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray 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 Greg Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin 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 David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas 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 Li Ruihuan 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 James Brown 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 Bell James Brown Shelby Harris William Williams John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson 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 John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis Lady Colin Campbell Greg Smith John Williams John Williams John Williams John Rogers John Williams John Williams John Williams 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 John Ward Risques Pereira John Simpson James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
John Parker, John Robinson and John Thompson have been stated in around the same number of activities and articles as John Kennedy
John Parker John Robinson John Thompson
action approx
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity John Kennedy
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { { ?o property:stated_in ?q . ?o rdf:type ontology:common_name . ?q rdf:type ontology:activity } UNION { ?o property:stated_in ?q . ?o rdf:type ontology:common_name . ?q rdf:type ontology:article } } GROUP BY ?o } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:John_Kennedy property:stated_in ?i . { VALUES ( ?c ) { ( ontology:article ) ( ontology:activity ) } . ?i rdf:type ?c } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q46596 Q335169
P19 P17
Q15617994
USER
Which administrative territories are Chicago White Sox located in or were Eugenio De Signoribus born ?
OR((Q335169,P17,c(Q15617994)), (Q46596,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q335169
relation P17
action find
entity Q46596
relation P19
type Q15617994
{'OR': [['Q335169', 'P17', {'concept': 'Q15617994'}], ['Q46596', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q335169 property:P17 ?d } UNION { resource:Q46596 property:P19 ?d } } . ?d rdf:type ontology:Q15617994 }
Eugenio De Signoribus Chicago White Sox
action filter_type
action union
action find
entity Chicago White Sox
relation country
action find
entity Eugenio De Signoribus
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Chicago White Sox', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eugenio De Signoribus', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Chicago_White_Sox property:country ?d } UNION { resource:Eugenio_De_Signoribus property:place_of_birth ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q56055 Q30
SYSTEM
Cupra Marittima, United States of America
Q56055 Q30
OR((Q335169,P17,c(Q15617994)), (Q46596,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q335169
relation P17
action find
entity Q46596
relation P19
type Q15617994
Chicago White Sox are located in born e [ANSWERS]
{'OR': [['Q335169', 'P17', {'concept': 'Q15617994'}], ['Q46596', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q335169 property:P17 ?d } UNION { resource:Q46596 property:P19 ?d } } . ?d rdf:type ontology:Q15617994 }
Cupra Marittima United States of America
Chicago White Sox are located in born e Cupra Marittima and United States of America
Cupra Marittima United States of America
action filter_type
action union
action find
entity Chicago White Sox
relation country
action find
entity Eugenio De Signoribus
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Chicago White Sox', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eugenio De Signoribus', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Chicago_White_Sox property:country ?d } UNION { resource:Eugenio_De_Signoribus property:place_of_birth ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20711237 Q46596
P27
Q15617994
USER
Which administrative territories are Eugenio De Signoribus or Joan Nesbit a civilian of ?
OR((Q46596,P27,c(Q15617994)), (Q20711237,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q46596
relation P27
action find
entity Q20711237
relation P27
type Q15617994
{'OR': [['Q46596', 'P27', {'concept': 'Q15617994'}], ['Q20711237', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q46596 property:P27 ?m } UNION { resource:Q20711237 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Joan Nesbit Eugenio De Signoribus
action filter_type
action union
action find
entity Eugenio De Signoribus
relation country of citizenship
action find
entity Joan Nesbit
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eugenio De Signoribus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Joan Nesbit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Eugenio_De_Signoribus property:country_of_citizenship ?m } UNION { resource:Joan_Nesbit property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q30
SYSTEM
Italy, United States of America
Q38 Q30
OR((Q46596,P27,c(Q15617994)), (Q20711237,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q46596
relation P27
action find
entity Q20711237
relation P27
type Q15617994
[ANSWERS] are Eugenio De Signoribus or Joan Nesbit a civilian of
{'OR': [['Q46596', 'P27', {'concept': 'Q15617994'}], ['Q20711237', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q46596 property:P27 ?m } UNION { resource:Q20711237 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Italy United States of America
Italy and United States of America are Eugenio De Signoribus or Joan Nesbit a civilian of
Italy United States of America
action filter_type
action union
action find
entity Eugenio De Signoribus
relation country of citizenship
action find
entity Joan Nesbit
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eugenio De Signoribus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Joan Nesbit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Eugenio_De_Signoribus property:country_of_citizenship ?m } UNION { resource:Joan_Nesbit property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q30
P36
Q56061
USER
Which administrative territories are associated to Italy and United States of America as the capital ?
(Q38,P36,c(Q56061)) (Q30,P36,c(Q56061))
action union
action filter_type
action find
entity Q38
relation P36
type Q56061
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q38', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { resource:Q38 property:P36 ?z . ?z rdf:type ontology:Q56061 } UNION { resource:Q30 property:P36 ?z . ?z rdf:type ontology:Q56061 } }
Italy United States of America
action union
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Italy property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity } UNION { resource:United_States_of_America property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q220 Q60 Q61
SYSTEM
Rome, New York City, Washington, D.C.
Q220 Q60 Q61
(Q38,P36,c(Q56061)) (Q30,P36,c(Q56061))
action union
action filter_type
action find
entity Q38
relation P36
type Q56061
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q38', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { resource:Q38 property:P36 ?z . ?z rdf:type ontology:Q56061 } UNION { resource:Q30 property:P36 ?z . ?z rdf:type ontology:Q56061 } }
Rome New York City Washington, D.C.
Rome, New York City and Washington, D.C. are associated to Italy and United States of America as the capital
Rome New York City Washington, D.C.
action union
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Italy property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity } UNION { resource:United_States_of_America property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P190
Q515
USER
Which city is partner town of New York City ?
(Q60,P190,c(Q515))
action filter_type
action find
entity Q60
relation P190
type Q515
['Q60', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . resource:Q60 property:P190 ?g }
New York City
action filter_type
action find
entity New York City
relation sister city
type city
['New York City', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . resource:New_York_City property:sister_city ?g }
[]
city
Q2844
SYSTEM
Brasília
Q2844
(Q60,P190,c(Q515))
action filter_type
action find
entity Q60
relation P190
type Q515
[ANSWER] is partner town of New York City
['Q60', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . resource:Q60 property:P190 ?g }
Brasília
Brasília is partner town of New York City
Brasília
action filter_type
action find
entity New York City
relation sister city
type city
['New York City', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . resource:New_York_City property:sister_city ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2844 Q9899 Q740897
P190
Q13220204
USER
Is Brasília a sister city of Amsterdam and Kolbuszowa County ?
(Q2844,P190,Q9899) (Q2844,P190,Q740897)
action is_in
entity Q2844
action intersection
action find_reverse
entity Q9899
relation P190
action find_reverse
entity Q740897
relation P190
['Q2844', 'P190', 'Q9899'] ['Q2844', 'P190', 'Q740897']
ASK WHERE { resource:Q2844 property:P190 resource:Q9899 . resource:Q2844 property:P190 resource:Q740897 }
Brasília Amsterdam Kolbuszowa County
action is_in
entity Brasília
action intersection
action find_reverse
entity Amsterdam
relation sister city
action find_reverse
entity Kolbuszowa County
relation sister city
['Brasília', 'sister city', 'Amsterdam'] ['Brasília', 'sister city', 'Kolbuszowa County']
ASK WHERE { resource:Brasília property:sister_city resource:Amsterdam . resource:Brasília property:sister_city resource:Kolbuszowa_County }
[]
second-level administrative country subdivision
SYSTEM
YES and NO respectively
(Q2844,P190,Q9899) (Q2844,P190,Q740897)
action is_in
entity Q2844
action intersection
action find_reverse
entity Q9899
relation P190
action find_reverse
entity Q740897
relation P190
[ANSWER]
['Q2844', 'P190', 'Q9899'] ['Q2844', 'P190', 'Q740897']
ASK WHERE { resource:Q2844 property:P190 resource:Q9899 . resource:Q2844 property:P190 resource:Q740897 }
YES and NO respectively
action is_in
entity Brasília
action intersection
action find_reverse
entity Amsterdam
relation sister city
action find_reverse
entity Kolbuszowa County
relation sister city
['Brasília', 'sister city', 'Amsterdam'] ['Brasília', 'sister city', 'Kolbuszowa County']
ASK WHERE { resource:Brasília property:sister_city resource:Amsterdam . resource:Brasília property:sister_city resource:Kolbuszowa_County }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2844
P84
Q502895
USER
Who is the designer of that city ?
action filter_type
action find
entity Q2844
relation P84
type Q502895
SELECT DISTINCT ?g WHERE { resource:Q2844 property:P84 ?g . ?g rdf:type ontology:Q502895 }
Brasília
action filter_type
action find
entity Brasília
relation architect
type common name
SELECT DISTINCT ?g WHERE { resource:Brasília property:architect ?g . ?g rdf:type ontology:common_name }
[]
common name
Q134165
SYSTEM
Oscar Niemeyer
Q134165
action filter_type
action find
entity Q2844
relation P84
type Q502895
The designer of that city is the [ANSWER]
SELECT DISTINCT ?g WHERE { resource:Q2844 property:P84 ?g . ?g rdf:type ontology:Q502895 }
Oscar Niemeyer
The designer of that city is the Oscar Niemeyer
Oscar Niemeyer
action filter_type
action find
entity Brasília
relation architect
type common name
SELECT DISTINCT ?g WHERE { resource:Brasília property:architect ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with atmost 5 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?c } . FILTER ( ?j <= 5 ) }
action atmost
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?c } . FILTER ( ?j <= 5 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 5
[ANSWERS] have diplomatic relations with atmost 5 administrative territories or political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?c } . FILTER ( ?j <= 5 ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and Belarus have diplomatic relations with atmost 5 administrative territories or political territories
Georgia Netherlands Belarus
action atmost
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 5
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?c } . FILTER ( ?j <= 5 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q55 Q184
P163
Q14660
USER
Which flags are associated with Georgia, Netherlands and Belarus ?
(Q230,P163,c(Q14660)) (Q55,P163,c(Q14660)) (Q184,P163,c(Q14660))
action union
action filter_type
action find
entity Q230
relation P163
type Q14660
action filter_type
action find
entity Q55
relation P163
type Q14660
action filter_type
action find
entity Q184
relation P163
type Q14660
['Q230', 'P163', {'concept': 'Q14660'}] ['Q55', 'P163', {'concept': 'Q14660'}] ['Q184', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { { resource:Q230 property:P163 ?i . ?i rdf:type ontology:Q14660 } UNION { resource:Q55 property:P163 ?i . ?i rdf:type ontology:Q14660 } }
Georgia Netherlands Belarus
action union
action filter_type
action find
entity Georgia
relation flag
type flag
action filter_type
action find
entity Netherlands
relation flag
type flag
action filter_type
action find
entity Belarus
relation flag
type flag
['Georgia', 'flag', {'concept': 'flag'}] ['Netherlands', 'flag', {'concept': 'flag'}] ['Belarus', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { { resource:Georgia property:flag ?i . ?i rdf:type ontology:flag } UNION { resource:Netherlands property:flag ?i . ?i rdf:type ontology:flag } }
[]
flag
Q26491 Q46585 Q132633
SYSTEM
Flag of Georgia, flag of the Netherlands, flag of Belarus
Q26491 Q46585 Q132633
(Q230,P163,c(Q14660)) (Q55,P163,c(Q14660)) (Q184,P163,c(Q14660))
action union
action filter_type
action find
entity Q230
relation P163
type Q14660
action filter_type
action find
entity Q55
relation P163
type Q14660
action filter_type
action find
entity Q184
relation P163
type Q14660
[ANSWERS] are associated with Georgia, Netherlands and Belarus
['Q230', 'P163', {'concept': 'Q14660'}] ['Q55', 'P163', {'concept': 'Q14660'}] ['Q184', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { { resource:Q230 property:P163 ?i . ?i rdf:type ontology:Q14660 } UNION { resource:Q55 property:P163 ?i . ?i rdf:type ontology:Q14660 } }
Flag of Georgia flag of the Netherlands flag of Belarus
Flag of Georgia, flag of the Netherlands and flag of Belarus are associated with Georgia, Netherlands and Belarus
Flag of Georgia flag of the Netherlands flag of Belarus
action union
action filter_type
action find
entity Georgia
relation flag
type flag
action filter_type
action find
entity Netherlands
relation flag
type flag
action filter_type
action find
entity Belarus
relation flag
type flag
['Georgia', 'flag', {'concept': 'flag'}] ['Netherlands', 'flag', {'concept': 'flag'}] ['Belarus', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { { resource:Georgia property:flag ?i . ?i rdf:type ontology:flag } UNION { resource:Netherlands property:flag ?i . ?i rdf:type ontology:flag } }
[]