Simple Question (Direct)
Simple Question
Q3811590
P1344
Q16510064
USER
What did Justin Lemberg participate in ?
(Q3811590,P1344,c(Q16510064))
action filter_type
action find
entity Q3811590
relation P1344
type Q16510064
['Q3811590', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?p WHERE { resource:Q3811590 property:P1344 ?p . ?p rdf:type ontology:Q16510064 }
Justin Lemberg
action filter_type
action find
entity Justin Lemberg
relation participant of
type sporting event
['Justin Lemberg', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Justin_Lemberg property:participant_of ?p . ?p rdf:type ontology:sporting_event }
[]
sporting event
Q7656647
SYSTEM
Swimming at the 1984 Summer Olympics – Men's 400 metre freestyle
Q7656647
(Q3811590,P1344,c(Q16510064))
action filter_type
action find
entity Q3811590
relation P1344
type Q16510064
Justin Lemberg participated in [ANSWER]
['Q3811590', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?p WHERE { resource:Q3811590 property:P1344 ?p . ?p rdf:type ontology:Q16510064 }
Swimming at the 1984 Summer Olympics – Men's 400 metre freestyle
Justin Lemberg participated in Swimming at the 1984 Summer Olympics – Men's 400 metre freestyle
Swimming at the 1984 Summer Olympics – Men's 400 metre freestyle
action filter_type
action find
entity Justin Lemberg
relation participant of
type sporting event
['Justin Lemberg', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?p WHERE { resource:Justin_Lemberg property:participant_of ?p . ?p rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3811590
P54
Q43229
USER
What sports team is Justin Lemberg a member of ?
(Q3811590,P54,c(Q43229))
action filter_type
action find
entity Q3811590
relation P54
type Q43229
['Q3811590', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q3811590 property:P54 ?n . ?n rdf:type ontology:Q43229 }
Justin Lemberg
action filter_type
action find
entity Justin Lemberg
relation member of sports team
type organization
['Justin Lemberg', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Justin_Lemberg property:member_of_sports_team ?n . ?n rdf:type ontology:organization }
[]
organization
Q971195
SYSTEM
Alabama Crimson Tide
Q971195
(Q3811590,P54,c(Q43229))
action filter_type
action find
entity Q3811590
relation P54
type Q43229
[ANSWER] is Justin Lemberg a member of
['Q3811590', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q3811590 property:P54 ?n . ?n rdf:type ontology:Q43229 }
Alabama Crimson Tide
Alabama Crimson Tide is Justin Lemberg a member of
Alabama Crimson Tide
action filter_type
action find
entity Justin Lemberg
relation member of sports team
type organization
['Justin Lemberg', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Justin_Lemberg property:member_of_sports_team ?n . ?n rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q971195
P466
Q811979
USER
Which architectural structures are occupied by that organization ?
(c(Q811979),P466,Q971195)
action filter_type
action find_reverse
entity Q971195
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q971195']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q811979 . ?y property:P466 resource:Q971195 }
Alabama Crimson Tide
action filter_type
action find_reverse
entity Alabama Crimson Tide
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Alabama Crimson Tide']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:architectural_structure . ?y property:occupant resource:Alabama_Crimson_Tide }
[]
architectural structure
Q5473625 Q7458231 Q5142988
SYSTEM
Foster Auditorium, Sewell–Thomas Stadium, Coleman Coliseum
Q5473625 Q7458231 Q5142988
(c(Q811979),P466,Q971195)
action filter_type
action find_reverse
entity Q971195
relation P466
type Q811979
[ANSWERS] are occupied by that organization
[{'concept': 'Q811979'}, 'P466', 'Q971195']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q811979 . ?y property:P466 resource:Q971195 }
Foster Auditorium Sewell–Thomas Stadium Coleman Coliseum
Foster Auditorium, Sewell–Thomas Stadium and Coleman Coliseum are occupied by that organization
Foster Auditorium Sewell–Thomas Stadium Coleman Coliseum
action filter_type
action find_reverse
entity Alabama Crimson Tide
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Alabama Crimson Tide']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:architectural_structure . ?y property:occupant resource:Alabama_Crimson_Tide }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that architectural structure situated in ?
(Q5473625,P17,c(Q15617994))
['Q5473625', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5473625 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Foster Auditorium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Foster_Auditorium property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q5142988
SYSTEM
Did you mean Coleman Coliseum ?
(Q5473625,P17,c(Q15617994)) (Q7458231,P17,c(Q15617994)) (Q5142988,P17,c(Q15617994))
[ANSWER]
['Q5473625', 'P17', {'concept': 'Q15617994'}] ['Q7458231', 'P17', {'concept': 'Q15617994'}] ['Q5142988', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5473625 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Coleman Coliseum ?
Coleman Coliseum
['Foster Auditorium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sewell–Thomas Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Coleman Coliseum', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Foster_Auditorium property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Foster Auditorium. Could you tell me the answer for that?
(Q5473625,P17,c(Q15617994))
Q5473625
['Q5473625', 'P17', {'concept': 'Q15617994'}]
['Foster Auditorium', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q5473625,P17,c(Q15617994))
[ANSWER]
['Q5473625', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5473625 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['Foster Auditorium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Foster_Auditorium property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P793
Q1190554 Q1656682 Q811979
USER
How many architectural structures are around 1 events and events a key event of ?
(c(Q811979),P793,c(Q1190554)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P793
type Q811979
type Q1190554
action find_tuple_counts
relation P793
type Q811979
type Q1656682
value 1
[{'concept': 'Q811979'}, 'P793', [{'concept': 'Q1190554'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?r rdf:type ontology:Q811979 . ?g rdf:type ontology:Q1190554 . ?r property:P793 ?g } UNION { ?r property:P793 ?g . ?g rdf:type ontology:Q1656682 . ?r rdf:type ontology:Q811979 } } GROUP BY ?r } }
action count
action approx
action union
action find_tuple_counts
relation significant event
type architectural structure
type event
action find_tuple_counts
relation significant event
type architectural structure
type event
value 1
[{'concept': 'architectural structure'}, 'significant event', [{'concept': 'event'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?r rdf:type ontology:architectural_structure . ?g rdf:type ontology:event . ?r property:significant_event ?g } UNION { ?r property:significant_event ?g . ?g rdf:type ontology:event . ?r rdf:type ontology:architectural_structure } } GROUP BY ?r } }
[]
event event architectural structure
SYSTEM
80
Q1455447 Q21451829 Q941575 Q26452821 Q291566 Q21834551 Q21500125 Q43244 Q599978 Q1408860 Q2652980 Q1279761 Q20747493 Q771682 Q889399 Q2982896 Q4193459 Q14551105 Q4120608 Q3076185 Q4966907 Q15630032 Q5374534 Q3076267 Q27055714 Q16185913 Q3472282 Q5269090 Q13668666 Q358052 Q860739 Q3076298 Q17307050 Q3076211 Q189503 Q1619388 Q1714471 Q15710492 Q1975624 Q1054126 Q27058650 Q7970765 Q1266711 Q1585963 Q3076236 Q680539 Q2940773 Q20725870 Q23019149 Q17483325 Q17496287 Q13406 Q988508 Q974940 Q6387054 Q161156 Q302422 Q2361543 Q21079205 Q7944176 Q1134533 Q7085374 Q1802939 Q3076308 Q3076255 Q3053732 Q15822463 Q5470084 Q755457 Q3361010 Q15976642 Q25340875 Q19351511 Q26961007 Q175055 Q3603778 Q3076017 Q155743 Q15059337 Q834138
(c(Q811979),P793,c(Q1190554)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P793
type Q811979
type Q1190554
action find_tuple_counts
relation P793
type Q811979
type Q1656682
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P793', [{'concept': 'Q1190554'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?r rdf:type ontology:Q811979 . ?g rdf:type ontology:Q1190554 . ?r property:P793 ?g } UNION { ?r property:P793 ?g . ?g rdf:type ontology:Q1656682 . ?r rdf:type ontology:Q811979 } } GROUP BY ?r } }
Hadrian's Library The Horses of Helios Liaodi Pagoda Coffee House of the Quirinale, Rome AF-borgen Jeffrey mine pont Notre-Dame Lighthouse of Alexandria Jubilee Arena Bohus Fortress Kerch Strait Bridge Larz Anderson House The Rigging House Chicago Federal Building Røros Copper Works fontaine des Quatre-Saisons Zolotoy Rog Theatre, Vladivostok Grafenwerther Brücke Dair Mar Elia fontaine de l'Institut Bridgnorth Cliff Railway Nagelbrunnen Empress Hotel fontaine du Château d'eau Pompeii I.1.2 tour de la Liberté Battle Creek Sanitarium Dharahara Independence Palace, Minsk Adler Planetarium & Astronomy Museum Varnhem Abbey Centennial Fountain Rijksmuseum main building fontaine de la Régénération place de la Concorde fontaine Saint-Sulpice Justus Lipsius building Limbicher Weg 55 Derzhprom Centre Bionest de Shawinigan Qubix Warrior Field Vrbanja bridge Langenbeck-Virchow-Haus fontaine des Invalides Radio House Casa de Serralves Enterprise Square Three Memorial Tower motorway bridge Dreilinden Haus der Gesundheit Caserne des mousquetaires noirs Sendai Mediatheque Charlemagne building Kempehallen Palace of the Republic Ou Raadsaal Wisma 46 pont Notre-Dame Vákár Lajos Ice Hall Turtle Tower Old Victoria Custom House KUNSTEN Museum of Modern Art Aalborg Ice Jam fontaine de l'Observatoire Wall of Charles V Kaiserin-Friedrich-Haus Former Central Magistracy Romanian Athenaeum Palace of Justice Victoria Square House Charles E. Mitchell House 1, place des Deux Écus Caupona di Epagatus (I.1.1) place de la République Kyrkbron fontaine Fossati Centennial Hall Samaritaine water pump Fountain of Neptune
80
action count
action approx
action union
action find_tuple_counts
relation significant event
type architectural structure
type event
action find_tuple_counts
relation significant event
type architectural structure
type event
value 1
[{'concept': 'architectural structure'}, 'significant event', [{'concept': 'event'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?r rdf:type ontology:architectural_structure . ?g rdf:type ontology:event . ?r property:significant_event ?g } UNION { ?r property:significant_event ?g . ?g rdf:type ontology:event . ?r rdf:type ontology:architectural_structure } } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5142988
P115
Q43229
USER
Which organization has Coleman Coliseum as its arena ?
(c(Q43229),P115,Q5142988)
action filter_type
action find_reverse
entity Q5142988
relation P115
type Q43229
[{'concept': 'Q43229'}, 'P115', 'Q5142988']
SELECT DISTINCT ?v WHERE { ?v property:P115 resource:Q5142988 . ?v rdf:type ontology:Q43229 }
Coleman Coliseum
action filter_type
action find_reverse
entity Coleman Coliseum
relation home venue
type organization
[{'concept': 'organization'}, 'home venue', 'Coleman Coliseum']
SELECT DISTINCT ?v WHERE { ?v property:home_venue resource:Coleman_Coliseum . ?v rdf:type ontology:organization }
[]
organization
Q4705229
SYSTEM
Alabama Crimson Tide gymnastics
Q4705229
(c(Q43229),P115,Q5142988)
action filter_type
action find_reverse
entity Q5142988
relation P115
type Q43229
[ANSWER] has Coleman Coliseum as its arena
[{'concept': 'Q43229'}, 'P115', 'Q5142988']
SELECT DISTINCT ?v WHERE { ?v property:P115 resource:Q5142988 . ?v rdf:type ontology:Q43229 }
Alabama Crimson Tide gymnastics
Alabama Crimson Tide gymnastics has Coleman Coliseum as its arena
Alabama Crimson Tide gymnastics
action filter_type
action find_reverse
entity Coleman Coliseum
relation home venue
type organization
[{'concept': 'organization'}, 'home venue', 'Coleman Coliseum']
SELECT DISTINCT ?v WHERE { ?v property:home_venue resource:Coleman_Coliseum . ?v rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4705229 Q19845315
P54
Q502895
USER
Is Aja Sims a member of that organization ?
(Q19845315,P54,Q4705229)
action is_in
entity Q4705229
action find
entity Q19845315
relation P54
['Q19845315', 'P54', 'Q4705229']
ASK WHERE { resource:Q19845315 property:P54 resource:Q4705229 }
Alabama Crimson Tide gymnastics Aja Sims
action is_in
entity Alabama Crimson Tide gymnastics
action find
entity Aja Sims
relation member of sports team
['Aja Sims', 'member of sports team', 'Alabama Crimson Tide gymnastics']
ASK WHERE { resource:Aja_Sims property:member_of_sports_team resource:Alabama_Crimson_Tide_gymnastics }
[]
common name
SYSTEM
YES
(Q19845315,P54,Q4705229)
action is_in
entity Q4705229
action find
entity Q19845315
relation P54
[ANSWER]
['Q19845315', 'P54', 'Q4705229']
ASK WHERE { resource:Q19845315 property:P54 resource:Q4705229 }
Yes
action is_in
entity Alabama Crimson Tide gymnastics
action find
entity Aja Sims
relation member of sports team
['Aja Sims', 'member of sports team', 'Alabama Crimson Tide gymnastics']
ASK WHERE { resource:Aja_Sims property:member_of_sports_team resource:Alabama_Crimson_Tide_gymnastics }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q4705229
P54 P27
Q502895
USER
Which people play for the team named Alabama Crimson Tide gymnastics and are a citizen of United States of America ?
AND((c(Q502895),P54,Q4705229), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q4705229
relation P54
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q4705229'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?y WHERE { ?y property:P54 resource:Q4705229 . ?y property:P27 resource:Q30 . ?y rdf:type ontology:Q502895 }
United States of America Alabama Crimson Tide gymnastics
action filter_type
action intersection
action find_reverse
entity Alabama Crimson Tide gymnastics
relation member of sports team
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Alabama Crimson Tide gymnastics'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?y WHERE { ?y property:member_of_sports_team resource:Alabama_Crimson_Tide_gymnastics . ?y property:country_of_citizenship resource:United_States_of_America . ?y rdf:type ontology:common_name }
[]
common name
Q19845315 Q15710567
SYSTEM
Aja Sims, Madison Desch
Q19845315 Q15710567
AND((c(Q502895),P54,Q4705229), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q4705229
relation P54
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] play for the team named Alabama Crimson Tide gymnastics and are a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q4705229'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?y WHERE { ?y property:P54 resource:Q4705229 . ?y property:P27 resource:Q30 . ?y rdf:type ontology:Q502895 }
Aja Sims Madison Desch
Aja Sims and Madison Desch play for the team named Alabama Crimson Tide gymnastics and are a citizen of United States of America
Aja Sims Madison Desch
action filter_type
action intersection
action find_reverse
entity Alabama Crimson Tide gymnastics
relation member of sports team
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Alabama Crimson Tide gymnastics'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?y WHERE { ?y property:member_of_sports_team resource:Alabama_Crimson_Tide_gymnastics . ?y property:country_of_citizenship resource:United_States_of_America . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16560
P138
Q811979 Q2088357 Q79529
USER
Which architectural structures are the origin of approximately the same number of musical ensembles or chemical substances as palace ?
(c(Q2088357)|c(Q79529),P138,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q16560
relation P138
type Q2088357
type Q79529
[[{'concept': 'Q2088357'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c = ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P138 resource:Q16560 . { VALUES ( ?y ) { ( ontology:Q2088357 ) ( ontology:Q79529 ) } . ?q rdf:type ?y } } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2088357 ) ( ontology:Q79529 ) } } GROUP BY ?d } }
palace
action approx
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type musical ensemble
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity palace
relation named after
type musical ensemble
type chemical substance
[[{'concept': 'musical ensemble'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c = ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:named_after resource:palace . { VALUES ( ?y ) { ( ontology:musical_ensemble ) ( ontology:chemical_substance ) } . ?q rdf:type ?y } } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:musical_ensemble ) ( ontology:chemical_substance ) } } GROUP BY ?d } }
[]
architectural structure musical ensemble chemical substance
Q189503 Q390243 Q175055
SYSTEM
place de la Concorde, place Charles-de-Gaulle, place de la République
Q7418755 Q2083937 Q2071624 Q3390657 Q23907574 Q884433 Q16820 Q372141 Q17562765 Q164055 Q3389941 Q26451821 Q4868361 Q2465852 Q21834551 Q1781329 Q12061 Q2026601 Q38888 Q114160 Q14935869 Q7929512 Q716848 Q2723969 Q26883247 Q10444878 Q2346256 Q908911 Q8546 Q27500602 Q13404 Q7430924 Q24445257 Q7162278 Q19274917 Q27014997 Q26825001 Q24377198 Q7071305 Q779683 Q390243 Q1422975 Q3076267 Q648483 Q27014794 Q131183 Q17642754 Q72700 Q24067117 Q4250 Q1196667 Q1411047 Q108325 Q892168 Q7536373 Q24052608 Q254993 Q26252452 Q10549272 Q1621256 Q1248582 Q11481889 Q26885373 Q3397554 Q24340515 Q13218009 Q24499320 Q963509 Q3398926 Q4920798 Q16989961 Q1421991 Q10680668 Q27015068 Q526595 Q2006251 Q18394915 Q27070699 Q23655678 Q18752017 Q3077059 Q151510 Q15100601 Q26701445 Q15838952 Q16560 Q1062780 Q1196460 Q11087830 Q943856 Q189503 Q1608760 Q844426 Q1535247 Q2301532 Q11794512 Q458970 Q700887 Q26710939 Q15093782 Q23894156 Q516072 Q24003214 Q616334 Q23900618 Q1820520 Q4566667 Q2564462 Q1407236 Q24237074 Q2919893 Q274153 Q152783 Q7666363 Q1568693 Q334186 Q27070704 Q425754 Q2315019 Q26885214 Q2532668 Q24572884 Q24555705 Q21777873 Q16963684 Q24029433 Q14352349 Q3649219 Q24571923 Q23901268 Q701662 Q10543356 Q26954688 Q2099124 Q2416242 Q1130137 Q23933950 Q10537329 Q568577 Q179426 Q643520 Q4939768 Q15140170 Q10595668 Q1289370 Q1549893 Q12880480 Q271404 Q17831979 Q10602405 Q21891735 Q39374 Q24273546 Q10681017 Q26477027 Q1064141 Q23905061 Q26884934 Q23930082 Q276173 Q791408 Q26473355 Q21777231 Q2166466 Q785952 Q15132834 Q23637128 Q24013173 Q2577891 Q23907533 Q16964407 Q10562398 Q1750652 Q175055 Q7619466 Q23935160 Q1573359 Q778784 Q10508950 Q602694 Q23935699 Q24754427 Q1810764 Q23894667 Q24556649 Q51244 Q1126357 Q1110010 Q3390268 Q10673297 Q5747 Q1567693 Q9060456 Q525297 Q26698152 Q152974 Q16999453 Q2097879 Q14905549 Q18674701 Q23905111 Q24052640 Q614 Q2910246 Q3390224 Q174350 Q16966078 Q26813697 Q15135369 Q3783111 Q24500126 Q5620963 Q10601593 Q24261879 Q1235440 Q1550106 Q21959473 Q26954985 Q1966521 Q1327827 Q24050277 Q10680632 Q16965853 Q6936733 Q673526 Q1837926 Q23925229 Q23723997 Q15132823 Q700753 Q10712281 Q26452588
(c(Q2088357)|c(Q79529),P138,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q16560
relation P138
type Q2088357
type Q79529
[ANSWERS] are the origin of approximately the same number of musical ensembles or chemical substances as palace
[[{'concept': 'Q2088357'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c = ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P138 resource:Q16560 . { VALUES ( ?y ) { ( ontology:Q2088357 ) ( ontology:Q79529 ) } . ?q rdf:type ?y } } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2088357 ) ( ontology:Q79529 ) } } GROUP BY ?d } }
Sankt Eriksplan Europaplein Piazza Cordusio place du Palais-Royal El Dragón mine Poppelsdorf Palace Strausberger Platz Älvsborg fortress Valli-Tarama Tiananmen Square place Louis-Pradel Mounana mine Bastnäs glory Jeffrey mine Gullmarsplan Tahrir Square Charax Olympia Medborgarplatsen Mount Keith mine U.S. Bank Stadium Nybroplan place du Carrousel Aga mine Centralbadet Stettbrunnen Donáttornya Astroballe Gold quarry mine Poterne des Peupliers Schafteløkken Blue Bell mine (Baker) Penberthy Croft mine Bellerberg volcano Treasury Vault mine Låven island Maoniuping mine Nytorget Ausoniusstein place Charles-de-Gaulle place du Châtelet fontaine du Château d'eau Stockholm City Hall Fianel mine cabaret Eamont Bridge Les Feuillants Convent Clear Creek claim place Ampère Pont Louis-Philippe Náměstí Republiky chapel causeway Skorpion Zinc Narsaarsuk pegmatite Yakub Kolas Square former town hall of Paris 18th arrondissement Kristinehov pont de l'Alma Allchar deposit Nusamai Bridge Erzwies area Pont la Feuillée Centennial Eureka mine Mine Theresia Jote mine Pont Marie porte Montmartre Black Friars' Monastery of Stockholm Talnakh deposit Östermalmstorg Stockholm Telegraph Station Keystone mine place du Tertre Weesperplein Uchucchacua Serra Branca pegmatite Alacrán mine, Alacrán Cap Garonne mine Tsūjun Bridge University of Heidelberg Kipushi mine Scotia Talc mine Idrija mine palace forum Kintai Bridge Svornost mine Chungking Mansions place de la Concorde Hötorget Sergels torg Palais de Tokyo Waterlooplein Polkowice-Sieroszowice mine St. Pauli Landing Stages Theresienwiese Susanna mine Brommaplan Malyi Punkaruaiv mount Westfalenhallen Korshunovskoye iron-boron skarn deposit Vyšehrad Rappold mine Les Frigos Järntorget Beurs-World Trade Center weigh house Esquire no. 1 claim place Blanche water tower Alexanderplatz Södra Bankohuset Nieuwmarkt Abbey of Saint-Germain-des-Prés Pirquitas Ag-Sn deposit Omonoia Square Victoria Square Madoc area Plaza Italia, Buenos Aires Heftetjern pegmatite Centennial mine Heidelberger Platz Kuranakh mine Roua mines Hallveigarstaðir Cabot Square Jabel Harmun Alcaparrosa mine Stephansplatz Kanslihuset Tanohata mine Plaza San Martín Lubyanka Square Rudolfinum Harstigen mine Islandstorget Frankfurter Tor Ahoy Rotterdam place Vendôme Bollhuset Mackinaw Mine Nedre Manilla Mine Leonie Clara mine Duchess of Plaisance mansion Kolwezi Hvitfeldtsplatsen Norra Bankohuset Pooley Bridge Lindenhof Irhtem mine Stora Hornsberg Ojuela mine plaza Miserere Torrecillas mine Barika ore deposit El Guanaco ore deposit pavilion Batthyány tér Grand Reef mine Hohenzollernplatz Söyembikä Tower public bath Big and Small Somen's mill La Vendida mine Glücksstern mine, Gottlob hill place de la Bataille-de-Stalingrad N'Chwaning mines Mayak mine Lina gård Norrmalmstorg place de la République Stonington mansion Kawazu mine place de la Nation place de la Bastille Groens malmgård Odenplan Fuka mine Qaarsut place de Clichy Blue Lizard mine Lukkulaisvaara ultrabasic massif Admiralty Plaza de Mayo Collège de Navarre place de Valois Solna Centrum Palmyra Siglo Veinte mine Madrid Planetarium Piazzale Loreto Solongo boron deposit Karlsplatz Wessels mine place Denfert-Rochereau Huemul mine St Anne Cloister Cerchiara mine Jakobsberg mine place Bellecour Kikar HaShabbat place de Bretagne Tanco mine Qaqqaarsuk mine Tripuí Big and Small Pryssan Hanover Square Gurim anticline Gustaf Adolfs torg Nockeby torg Xitieshan mine Monastiraki Samson Pit Paratoo Copper mine Byrud Emerald mine place d'Italie Pont au Change Tashelginskoe formation Stockholm police house Ida Dome mine Munkbron Grand Châtelet Schuman roundabout Pollone mine Tsumeb mine Christian Hansson's mill Karlsplatz Valla torg Moctezuma mine
Place de la Concorde, place Charles-de-Gaulle and place de la République are the origin of approximately the same number of musical ensembles or chemical substances as palace
place de la Concorde place Charles-de-Gaulle place de la République
action approx
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type musical ensemble
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity palace
relation named after
type musical ensemble
type chemical substance
[[{'concept': 'musical ensemble'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?c = ?o ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:named_after resource:palace . { VALUES ( ?y ) { ( ontology:musical_ensemble ) ( ontology:chemical_substance ) } . ?q rdf:type ?y } } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:musical_ensemble ) ( ontology:chemical_substance ) } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q164055
P138
Q811979 Q2088357 Q79529
USER
And also tell me about Tiananmen Square?
(c(Q2088357)|c(Q79529),P138,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q164055
relation P138
type Q2088357
type Q79529
[[{'concept': 'Q2088357'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?t WHERE { VALUES ( ?k ) { ( ontology:Q79529 ) ( ontology:Q2088357 ) } . ?s rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:Q2088357 } UNION { ?d rdf:type ontology:Q79529 } } . ?d property:P138 resource:Q164055 } } . FILTER ( ?r = ?y ) }
Tiananmen Square
action approx
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type musical ensemble
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Tiananmen Square
relation named after
type musical ensemble
type chemical substance
[[{'concept': 'musical ensemble'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?t WHERE { VALUES ( ?k ) { ( ontology:chemical_substance ) ( ontology:musical_ensemble ) } . ?s rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:musical_ensemble } UNION { ?d rdf:type ontology:chemical_substance } } . ?d property:named_after resource:Tiananmen_Square } } . FILTER ( ?r = ?y ) }
[]
architectural structure musical ensemble chemical substance
Q189503 Q390243 Q175055
SYSTEM
place de la Concorde, place Charles-de-Gaulle, place de la République
Q7418755 Q2083937 Q2071624 Q3390657 Q23907574 Q884433 Q16820 Q372141 Q17562765 Q164055 Q3389941 Q26451821 Q4868361 Q2465852 Q21834551 Q1781329 Q12061 Q2026601 Q38888 Q114160 Q14935869 Q7929512 Q716848 Q2723969 Q26883247 Q10444878 Q2346256 Q908911 Q8546 Q27500602 Q13404 Q7430924 Q24445257 Q7162278 Q19274917 Q27014997 Q26825001 Q24377198 Q7071305 Q779683 Q390243 Q1422975 Q3076267 Q648483 Q27014794 Q131183 Q17642754 Q72700 Q24067117 Q4250 Q1196667 Q1411047 Q108325 Q892168 Q7536373 Q24052608 Q254993 Q26252452 Q10549272 Q1621256 Q1248582 Q11481889 Q26885373 Q3397554 Q24340515 Q13218009 Q24499320 Q963509 Q3398926 Q4920798 Q16989961 Q1421991 Q10680668 Q27015068 Q526595 Q2006251 Q18394915 Q27070699 Q23655678 Q18752017 Q3077059 Q151510 Q15100601 Q26701445 Q15838952 Q16560 Q1062780 Q1196460 Q11087830 Q943856 Q189503 Q1608760 Q844426 Q1535247 Q2301532 Q11794512 Q458970 Q700887 Q26710939 Q15093782 Q23894156 Q516072 Q24003214 Q616334 Q23900618 Q1820520 Q4566667 Q2564462 Q1407236 Q24237074 Q2919893 Q274153 Q152783 Q7666363 Q1568693 Q334186 Q27070704 Q425754 Q2315019 Q26885214 Q2532668 Q24572884 Q24555705 Q21777873 Q16963684 Q24029433 Q14352349 Q3649219 Q24571923 Q23901268 Q701662 Q10543356 Q26954688 Q2099124 Q2416242 Q1130137 Q23933950 Q10537329 Q568577 Q179426 Q643520 Q4939768 Q15140170 Q10595668 Q1289370 Q1549893 Q12880480 Q271404 Q17831979 Q10602405 Q21891735 Q39374 Q24273546 Q10681017 Q26477027 Q1064141 Q23905061 Q26884934 Q23930082 Q276173 Q791408 Q26473355 Q21777231 Q2166466 Q785952 Q15132834 Q23637128 Q24013173 Q2577891 Q23907533 Q16964407 Q10562398 Q1750652 Q175055 Q7619466 Q23935160 Q1573359 Q778784 Q10508950 Q602694 Q23935699 Q24754427 Q1810764 Q23894667 Q24556649 Q51244 Q1126357 Q1110010 Q3390268 Q10673297 Q5747 Q1567693 Q9060456 Q525297 Q26698152 Q152974 Q16999453 Q2097879 Q14905549 Q18674701 Q23905111 Q24052640 Q614 Q2910246 Q3390224 Q174350 Q16966078 Q26813697 Q15135369 Q3783111 Q24500126 Q5620963 Q10601593 Q24261879 Q1235440 Q1550106 Q21959473 Q26954985 Q1966521 Q1327827 Q24050277 Q10680632 Q16965853 Q6936733 Q673526 Q1837926 Q23925229 Q23723997 Q15132823 Q700753 Q10712281 Q26452588
(c(Q2088357)|c(Q79529),P138,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q811979
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q164055
relation P138
type Q2088357
type Q79529
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?t WHERE { VALUES ( ?k ) { ( ontology:Q79529 ) ( ontology:Q2088357 ) } . ?s rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:Q2088357 } UNION { ?d rdf:type ontology:Q79529 } } . ?d property:P138 resource:Q164055 } } . FILTER ( ?r = ?y ) }
Sankt Eriksplan Europaplein Piazza Cordusio place du Palais-Royal El Dragón mine Poppelsdorf Palace Strausberger Platz Älvsborg fortress Valli-Tarama Tiananmen Square place Louis-Pradel Mounana mine Bastnäs glory Jeffrey mine Gullmarsplan Tahrir Square Charax Olympia Medborgarplatsen Mount Keith mine U.S. Bank Stadium Nybroplan place du Carrousel Aga mine Centralbadet Stettbrunnen Donáttornya Astroballe Gold quarry mine Poterne des Peupliers Schafteløkken Blue Bell mine (Baker) Penberthy Croft mine Bellerberg volcano Treasury Vault mine Låven island Maoniuping mine Nytorget Ausoniusstein place Charles-de-Gaulle place du Châtelet fontaine du Château d'eau Stockholm City Hall Fianel mine cabaret Eamont Bridge Les Feuillants Convent Clear Creek claim place Ampère Pont Louis-Philippe Náměstí Republiky chapel causeway Skorpion Zinc Narsaarsuk pegmatite Yakub Kolas Square former town hall of Paris 18th arrondissement Kristinehov pont de l'Alma Allchar deposit Nusamai Bridge Erzwies area Pont la Feuillée Centennial Eureka mine Mine Theresia Jote mine Pont Marie porte Montmartre Black Friars' Monastery of Stockholm Talnakh deposit Östermalmstorg Stockholm Telegraph Station Keystone mine place du Tertre Weesperplein Uchucchacua Serra Branca pegmatite Alacrán mine, Alacrán Cap Garonne mine Tsūjun Bridge University of Heidelberg Kipushi mine Scotia Talc mine Idrija mine palace forum Kintai Bridge Svornost mine Chungking Mansions place de la Concorde Hötorget Sergels torg Palais de Tokyo Waterlooplein Polkowice-Sieroszowice mine St. Pauli Landing Stages Theresienwiese Susanna mine Brommaplan Malyi Punkaruaiv mount Westfalenhallen Korshunovskoye iron-boron skarn deposit Vyšehrad Rappold mine Les Frigos Järntorget Beurs-World Trade Center weigh house Esquire no. 1 claim place Blanche water tower Alexanderplatz Södra Bankohuset Nieuwmarkt Abbey of Saint-Germain-des-Prés Pirquitas Ag-Sn deposit Omonoia Square Victoria Square Madoc area Plaza Italia, Buenos Aires Heftetjern pegmatite Centennial mine Heidelberger Platz Kuranakh mine Roua mines Hallveigarstaðir Cabot Square Jabel Harmun Alcaparrosa mine Stephansplatz Kanslihuset Tanohata mine Plaza San Martín Lubyanka Square Rudolfinum Harstigen mine Islandstorget Frankfurter Tor Ahoy Rotterdam place Vendôme Bollhuset Mackinaw Mine Nedre Manilla Mine Leonie Clara mine Duchess of Plaisance mansion Kolwezi Hvitfeldtsplatsen Norra Bankohuset Pooley Bridge Lindenhof Irhtem mine Stora Hornsberg Ojuela mine plaza Miserere Torrecillas mine Barika ore deposit El Guanaco ore deposit pavilion Batthyány tér Grand Reef mine Hohenzollernplatz Söyembikä Tower public bath Big and Small Somen's mill La Vendida mine Glücksstern mine, Gottlob hill place de la Bataille-de-Stalingrad N'Chwaning mines Mayak mine Lina gård Norrmalmstorg place de la République Stonington mansion Kawazu mine place de la Nation place de la Bastille Groens malmgård Odenplan Fuka mine Qaarsut place de Clichy Blue Lizard mine Lukkulaisvaara ultrabasic massif Admiralty Plaza de Mayo Collège de Navarre place de Valois Solna Centrum Palmyra Siglo Veinte mine Madrid Planetarium Piazzale Loreto Solongo boron deposit Karlsplatz Wessels mine place Denfert-Rochereau Huemul mine St Anne Cloister Cerchiara mine Jakobsberg mine place Bellecour Kikar HaShabbat place de Bretagne Tanco mine Qaqqaarsuk mine Tripuí Big and Small Pryssan Hanover Square Gurim anticline Gustaf Adolfs torg Nockeby torg Xitieshan mine Monastiraki Samson Pit Paratoo Copper mine Byrud Emerald mine place d'Italie Pont au Change Tashelginskoe formation Stockholm police house Ida Dome mine Munkbron Grand Châtelet Schuman roundabout Pollone mine Tsumeb mine Christian Hansson's mill Karlsplatz Valla torg Moctezuma mine
place de la Concorde place Charles-de-Gaulle place de la République
action approx
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type musical ensemble
action find_reverse_tuple_counts
relation named after
type architectural structure
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Tiananmen Square
relation named after
type musical ensemble
type chemical substance
[[{'concept': 'musical ensemble'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?t WHERE { VALUES ( ?k ) { ( ontology:chemical_substance ) ( ontology:musical_ensemble ) } . ?s rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:musical_ensemble } UNION { ?d rdf:type ontology:chemical_substance } } . ?d property:named_after resource:Tiananmen_Square } } . FILTER ( ?r = ?y ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P138
Q55488
USER
How many railway stations have that architectural structure as their namesake ?
(c(Q55488),P138,Q390243)
[{'concept': 'Q55488'}, 'P138', 'Q390243']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P138 resource:Q26837473 . ?z rdf:type ontology:Q55488 }
[{'concept': 'railway station'}, 'named after', 'place Charles-de-Gaulle']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:named_after resource:place_Charles-de-Gaulle . ?z rdf:type ontology:railway_station }
[]
railway station
Quantitative|Count|Single entity type|Clarification
Q390243
SYSTEM
Did you mean place Charles-de-Gaulle ?
(c(Q55488),P138,Q189503) (c(Q55488),P138,Q390243) (c(Q55488),P138,Q175055)
[ANSWER]
[{'concept': 'Q55488'}, 'P138', 'Q189503'] [{'concept': 'Q55488'}, 'P138', 'Q390243'] [{'concept': 'Q55488'}, 'P138', 'Q175055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P138 resource:Q26837473 . ?z rdf:type ontology:Q55488 }
Did you mean place Charles-de-Gaulle ?
place Charles-de-Gaulle
[{'concept': 'railway station'}, 'named after', 'place de la Concorde'] [{'concept': 'railway station'}, 'named after', 'place Charles-de-Gaulle'] [{'concept': 'railway station'}, 'named after', 'place de la République']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:named_after resource:place_Charles-de-Gaulle . ?z rdf:type ontology:railway_station }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q55488),P138,Q390243)
[{'concept': 'Q55488'}, 'P138', 'Q390243']
[{'concept': 'railway station'}, 'named after', 'place Charles-de-Gaulle']
[]
SYSTEM
1
Q800624
(c(Q55488),P138,Q390243)
[ANSWER]
[{'concept': 'Q55488'}, 'P138', 'Q390243']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P138 resource:Q26837473 . ?z rdf:type ontology:Q55488 }
Charles de Gaulle – Étoile
1
[{'concept': 'railway station'}, 'named after', 'place Charles-de-Gaulle']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:named_after resource:place_Charles-de-Gaulle . ?z rdf:type ontology:railway_station }
[]