Simple Question (Direct)
Simple Question
Q16034254
P20
Q13220204
USER
Where did the demise of Magdeleine Goüin occur ?
(Q16034254,P20,c(Q13220204))
action filter_type
action find
entity Q16034254
relation P20
type Q13220204
['Q16034254', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q13220204 . resource:Q16034254 property:P20 ?f }
Magdeleine Goüin
action filter_type
action find
entity Magdeleine Goüin
relation place of death
type second-level administrative country subdivision
['Magdeleine Goüin', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:second-level_administrative_country_subdivision . resource:Magdeleine_Goüin property:place_of_death ?f }
[]
second-level administrative country subdivision
Q7903
SYSTEM
Casablanca
Q7903
(Q16034254,P20,c(Q13220204))
action filter_type
action find
entity Q16034254
relation P20
type Q13220204
The demise of Magdeleine Goüin occurred in [ANSWER]
['Q16034254', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q13220204 . resource:Q16034254 property:P20 ?f }
Casablanca
The demise of Magdeleine Goüin occurred in Casablanca
Casablanca
action filter_type
action find
entity Magdeleine Goüin
relation place of death
type second-level administrative country subdivision
['Magdeleine Goüin', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:second-level_administrative_country_subdivision . resource:Magdeleine_Goüin property:place_of_death ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7903
P17
Q15617994
USER
Which administrative territory is that administrative country subdivision a part of ?
(Q7903,P17,c(Q15617994))
action filter_type
action find
entity Q7903
relation P17
type Q15617994
['Q7903', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q7903 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Casablanca
action filter_type
action find
entity Casablanca
relation country
type designation for an administrative territorial entity
['Casablanca', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Casablanca property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
(Q7903,P17,c(Q15617994))
action filter_type
action find
entity Q7903
relation P17
type Q15617994
[ANSWER] is that administrative country subdivision a part of
['Q7903', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q7903 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Morocco
Morocco is that administrative country subdivision a part of
Morocco
action filter_type
action find
entity Casablanca
relation country
type designation for an administrative territorial entity
['Casablanca', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Casablanca property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1028 Q2558652 Q6961865
P47
Q56061
USER
Is that administrative territory bordered by Memnagar and Rafolče ?
(Q1028,P47,Q2558652) (Q1028,P47,Q6961865)
action is_in
entity Q1028
action intersection
action find_reverse
entity Q2558652
relation P47
action find_reverse
entity Q6961865
relation P47
['Q1028', 'P47', 'Q2558652'] ['Q1028', 'P47', 'Q6961865']
ASK WHERE { resource:Q1028 property:P47 resource:Q6961865 . resource:Q1028 property:P47 resource:Q2558652 }
Morocco Memnagar Rafolče
action is_in
entity Morocco
action intersection
action find_reverse
entity Memnagar
relation shares border with
action find_reverse
entity Rafolče
relation shares border with
['Morocco', 'shares border with', 'Memnagar'] ['Morocco', 'shares border with', 'Rafolče']
ASK WHERE { resource:Morocco property:shares_border_with resource:Rafolče . resource:Morocco property:shares_border_with resource:Memnagar }
[]
administrative territorial entity
SYSTEM
NO
(Q1028,P47,Q2558652) (Q1028,P47,Q6961865)
action is_in
entity Q1028
action intersection
action find_reverse
entity Q2558652
relation P47
action find_reverse
entity Q6961865
relation P47
[ANSWER]
['Q1028', 'P47', 'Q2558652'] ['Q1028', 'P47', 'Q6961865']
ASK WHERE { resource:Q1028 property:P47 resource:Q6961865 . resource:Q1028 property:P47 resource:Q2558652 }
No
action is_in
entity Morocco
action intersection
action find_reverse
entity Memnagar
relation shares border with
action find_reverse
entity Rafolče
relation shares border with
['Morocco', 'shares border with', 'Memnagar'] ['Morocco', 'shares border with', 'Rafolče']
ASK WHERE { resource:Morocco property:shares_border_with resource:Rafolče . resource:Morocco property:shares_border_with resource:Memnagar }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2214 Q7903
P190
Q56061
USER
Which administrative territories are sister towns of Casablanca or Pskov ?
OR((Q7903,P190,c(Q56061)), (Q2214,P190,c(Q56061)))
action filter_type
action union
action find
entity Q7903
relation P190
action find
entity Q2214
relation P190
type Q56061
{'OR': [['Q7903', 'P190', {'concept': 'Q56061'}], ['Q2214', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7903 property:P190 ?i } UNION { resource:Q2214 property:P190 ?i } } . ?i rdf:type ontology:Q56061 }
Pskov Casablanca
action filter_type
action union
action find
entity Casablanca
relation sister city
action find
entity Pskov
relation sister city
type administrative territorial entity
{'OR': [['Casablanca', 'sister city', {'concept': 'administrative territorial entity'}], ['Pskov', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Casablanca property:sister_city ?i } UNION { resource:Pskov property:sister_city ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1297 Q193445 Q3630 Q340 Q8686 Q406 Q1479 Q2948 Q126148 Q48292
SYSTEM
Some of them are Chicago, Artvin, Jakarta, Montreal, Shanghai, Istanbul, Bordeaux, Neuss, Tangier, Arles
Q8686 Q48292 Q3630 Q340 Q8678 Q3561 Q1524 Q1490 Q597 Q2948 Q126148 Q87 Q85 Q193445 Q203000 Q47887 Q761 Q1297 Q406 Q1479
OR((Q7903,P190,c(Q56061)), (Q2214,P190,c(Q56061)))
action filter_type
action union
action find
entity Q7903
relation P190
action find
entity Q2214
relation P190
type Q56061
[ANSWERS] are sister towns of Casablanca or Pskov
{'OR': [['Q7903', 'P190', {'concept': 'Q56061'}], ['Q2214', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q7903 property:P190 ?i } UNION { resource:Q2214 property:P190 ?i } } . ?i rdf:type ontology:Q56061 }
Shanghai Arles Jakarta Montreal Rio de Janeiro Algiers Athens Tokyo Lisbon Neuss Tangier Alexandria Cairo Artvin Perth Nijmegen Białystok Chicago Istanbul Bordeaux
Chicago, Artvin, Jakarta, Montreal, Shanghai, Istanbul, Bordeaux, Neuss, Tangier and Arles are sister towns of Casablanca or Pskov
Chicago Artvin Jakarta Montreal Shanghai Istanbul Bordeaux Neuss Tangier Arles
action filter_type
action union
action find
entity Casablanca
relation sister city
action find
entity Pskov
relation sister city
type administrative territorial entity
{'OR': [['Casablanca', 'sister city', {'concept': 'administrative territorial entity'}], ['Pskov', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Casablanca property:sister_city ?i } UNION { resource:Pskov property:sister_city ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2948
P19
Q502895
USER
Which people were born at that administrative territory ?
(c(Q502895),P19,Q2948)
action filter_type
action find_reverse
entity Q2948
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2948']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q2948 . ?m rdf:type ontology:Q502895 }
Neuss
action filter_type
action find_reverse
entity Neuss
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Neuss']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Neuss . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1479
SYSTEM
Did you mean Bordeaux ?
Q1297 Q193445 Q3630 Q340 Q8686 Q406 Q1479 Q2948 Q126148 Q48292
(c(Q502895),P19,Q1297) (c(Q502895),P19,Q193445) (c(Q502895),P19,Q3630) (c(Q502895),P19,Q340) (c(Q502895),P19,Q8686) (c(Q502895),P19,Q406) (c(Q502895),P19,Q1479) (c(Q502895),P19,Q2948) (c(Q502895),P19,Q126148) (c(Q502895),P19,Q48292)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1297'] [{'concept': 'Q502895'}, 'P19', 'Q193445'] [{'concept': 'Q502895'}, 'P19', 'Q3630'] [{'concept': 'Q502895'}, 'P19', 'Q340'] [{'concept': 'Q502895'}, 'P19', 'Q8686'] [{'concept': 'Q502895'}, 'P19', 'Q406'] [{'concept': 'Q502895'}, 'P19', 'Q1479'] [{'concept': 'Q502895'}, 'P19', 'Q2948'] [{'concept': 'Q502895'}, 'P19', 'Q126148'] [{'concept': 'Q502895'}, 'P19', 'Q48292']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q2948 . ?m rdf:type ontology:Q502895 }
Chicago Artvin Jakarta Montreal Shanghai Istanbul Bordeaux Neuss Tangier Arles
Did you mean Bordeaux ?
Bordeaux
[{'concept': 'common name'}, 'place of birth', 'Chicago'] [{'concept': 'common name'}, 'place of birth', 'Artvin'] [{'concept': 'common name'}, 'place of birth', 'Jakarta'] [{'concept': 'common name'}, 'place of birth', 'Montreal'] [{'concept': 'common name'}, 'place of birth', 'Shanghai'] [{'concept': 'common name'}, 'place of birth', 'Istanbul'] [{'concept': 'common name'}, 'place of birth', 'Bordeaux'] [{'concept': 'common name'}, 'place of birth', 'Neuss'] [{'concept': 'common name'}, 'place of birth', 'Tangier'] [{'concept': 'common name'}, 'place of birth', 'Arles']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Neuss . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Neuss. Could you tell me the answer for that?
(c(Q502895),P19,Q2948)
Q2948
[{'concept': 'Q502895'}, 'P19', 'Q2948']
[{'concept': 'common name'}, 'place of birth', 'Neuss']
[]
Q18002429 Q1227805 Q76745
SYSTEM
Markus Kaim, Dirk Caspers, Theodor Schwann
Q1707468 Q1690518 Q23015586 Q1707233 Q87233 Q832623 Q1401726 Q90704 Q2591308 Q110334 Q122725 Q1246352 Q2163398 Q16149692 Q1288825 Q3168575 Q1731188 Q544235 Q18343115 Q1040616 Q361570 Q98008 Q2078979 Q3723559 Q88259 Q26904326 Q7177320 Q22958871 Q991732 Q1299144 Q2163416 Q566848 Q1745282 Q1497702 Q1781978 Q1600074 Q828340 Q1447470 Q481570 Q1963280 Q1084808 Q1679164 Q22074578 Q1603144 Q1478300 Q105007 Q1597063 Q97715 Q1281711 Q2086810 Q15411092 Q16232246 Q14547673 Q809356 Q19721099 Q2572283 Q124200 Q1736039 Q60733 Q26384486 Q110757 Q1698562 Q948303 Q589196 Q1576133 Q1312537 Q1802518 Q825357 Q70866 Q1599373 Q1663494 Q1227805 Q532333 Q2157299 Q1912942 Q1711028 Q5741013 Q96212 Q679901 Q1545079 Q18202127 Q1081816 Q1452323 Q2177749 Q2418193 Q15895187 Q103479 Q1170596 Q2574444 Q496135 Q1597281 Q881293 Q2433470 Q18629696 Q2437903 Q18002429 Q1874501 Q1081775 Q2020336 Q566862 Q1901553 Q44589 Q2544923 Q1331485 Q1825627 Q1608911 Q62541 Q1479573 Q1100086 Q15842749 Q1586498 Q17326732 Q1296007 Q1346739 Q15454820 Q1426898 Q2163787 Q2041961 Q2262669 Q20243318 Q1708405 Q1251153 Q76745 Q1724431 Q1448177 Q2573977 Q1540339 Q655715 Q1732909 Q15449769 Q2134919 Q3067773 Q64936 Q3525061 Q1600038 Q1608573 Q95405
(c(Q502895),P19,Q2948)
action filter_type
action find_reverse
entity Q2948
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q2948']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q2948 . ?m rdf:type ontology:Q502895 }
Joseph Lange Joachim Tolles Maxi Sarwas Joseph Herzfeld Max Clarenbach Bettina Grabis Martin Grüning Mari Vartmann Wolfgang Schröder Helmut de Raaf Dieter Wellershoff Marcel Ohmann Rolf Gildenast Alexander Marten Eduard Hüsgen Jean-Paul Lhopital Karl Gabriel Pfeill Hildegund Uta Rüping Carl Alfred Simons Adolf Flecken Uwe Köller Peter Werhahn Elmar Frings Norbert Hummelt Dietmar Süß Peter Thyraeus Cristiano Galvão Parreiro Günter Thiele Friedrich Jähne Rolf Grünther Lars Börgeling Klaus Jansen Wolfgang Loe Bagier Konrad Eickels Heinz Braun Bertold Mathias Reinartz Franz-Josef Bach Danny da Costa Nadia Zülow Christoph Eimer Jakob Koch Lisette Thöne Helma Holthausen-Krüll Johann Pennarius Kurt Josten Heinrich Dorrenbach Franziska Pigulla Hubert Offermanns Philipp Hendle Wilhelm Werhahn Malik Riaz Hai Naveed Johann Gregor Breuer Bartholomäus Haanen Siegmund Lachenwitz Wilhelm Cornelius Werhahn Erik Martin Katharina von Oheimb Markus Fothen Annika Sprink Elke Aberle Johannes Walbaum Stephan Schulz-Winge Anton Erkelenz Hanni Hüsch Konrad Ameln Markus Kurth Bernhard Jakoby Steffen Gebhardt Woltherus Henricus Strevesdorff Irmgard Feldhaus Dirk Caspers Angela Braun-Stratmann Robert Gleinert Max Leon Flemming Judith Pelzer Hermann Thyraeus Inga Busch Friedhelm Funkel Gregor Geller Simone Lucas Christian Schulte Robert Matwew Ruth Rissing-van Saan Theodor Riphaen Hermann Wunsch Thea Sternheim Max Braun Wilhelm Pelzer Andreas Biederbick Heinrich Frings Hans-Jörg Criens Till Theißen Patrick Hüter Lützenkirchen Markus Kaim Ludwig Hartmann Christian Schnalke Oliver Jonas Wolfgang Funkel Markus Hausweiler Josef Frings Walter Jansen Elke Drüll Lina Geyer Herbert Piel Frank Biela Theodor J. Reisdorf Clemens Sels Robert Wilschrey Stefan Bromberger Ursula Wienen Jakob Hubert Esser Maria Schmitz Nils Schomber Willy Franssen Rolf Schroers Wolfgang Dittrich Sebastian Draguhn Karin Thissen Josephine Gertrud Bentlage Ludwig Soumagne Theodor Schwann Tim Heubach Franz Maria Feldhaus Wilhelm Loschelder Michael Frings Florian Kehrmann Karl Schorn Frank Hebben Rebecca Hohlbein Mònica Oltra Thomas Rupprath Thomas Dorn Heinz Bellen Herbert Karrenberg Thomas Engert
Markus Kaim, Dirk Caspers and Theodor Schwann were born at that administrative territory
Markus Kaim Dirk Caspers Theodor Schwann
action filter_type
action find_reverse
entity Neuss
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Neuss']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Neuss . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2948
P6
Q502895
USER
Which people are the head of government of Neuss ?
(Q2948,P6,c(Q502895))
action filter_type
action find
entity Q2948
relation P6
type Q502895
['Q2948', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q2948 property:P6 ?g }
Neuss
action filter_type
action find
entity Neuss
relation head of government
type common name
['Neuss', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Neuss property:head_of_government ?g }
[]
common name
Q1613090 Q2140389 Q828340
SYSTEM
Hermann Wilhelm Thywissen, Reiner Breuer, Bertold Mathias Reinartz
Q2140389 Q828340 Q1613090 Q1608843
(Q2948,P6,c(Q502895))
action filter_type
action find
entity Q2948
relation P6
type Q502895
[ANSWERS] are the head of government of Neuss
['Q2948', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q2948 property:P6 ?g }
Reiner Breuer Bertold Mathias Reinartz Hermann Wilhelm Thywissen Herbert Napp
Hermann Wilhelm Thywissen, Reiner Breuer and Bertold Mathias Reinartz are the head of government of Neuss
Hermann Wilhelm Thywissen Reiner Breuer Bertold Mathias Reinartz
action filter_type
action find
entity Neuss
relation head of government
type common name
['Neuss', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Neuss property:head_of_government ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q212602
Q502895
USER
And also tell me about Brénaz?
(Q212602,P6,c(Q502895))
action filter_type
action find
entity Q212602
relation P6
type Q502895
['Q212602', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q212602 property:P6 ?y }
Brénaz
action filter_type
action find
entity Brénaz
relation head of government
type common name
['Brénaz', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Brénaz property:head_of_government ?y }
[]
common name
Q23667146
SYSTEM
Pascale Martinod
Q23667146
(Q212602,P6,c(Q502895))
action filter_type
action find
entity Q212602
relation P6
type Q502895
[ANSWER]
['Q212602', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q212602 property:P6 ?y }
Pascale Martinod
Pascale Martinod
action filter_type
action find
entity Brénaz
relation head of government
type common name
['Brénaz', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Brénaz property:head_of_government ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q340
P190
Q56061
USER
How many administrative territories are the sister cities of Montreal ?
(Q340,P190,c(Q56061))
action count
action filter_type
action find
entity Q340
relation P190
type Q56061
['Q340', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q340 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Montreal
action count
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
['Montreal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Montreal property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
15
Q8686 Q727 Q3274 Q3110 Q1715 Q41843 Q1524 Q3561 Q51103 Q239 Q490 Q3805 Q65 Q1492 Q3820
(Q340,P190,c(Q56061))
action count
action filter_type
action find
entity Q340
relation P190
type Q56061
[ANSWER]
['Q340', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q340 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Shanghai Amsterdam Managua San Salvador Hanover Beersheba Athens Algiers Cali Brussels Milan Amman Los Angeles Barcelona Beirut
15
action count
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
['Montreal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Montreal property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q165015
P190
Q56061
USER
And also tell me about Wangen im Allgäu?
(Q165015,P190,c(Q56061))
action count
action filter_type
action find
entity Q165015
relation P190
type Q56061
['Q165015', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q165015 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Wangen im Allgäu
action count
action filter_type
action find
entity Wangen im Allgäu
relation sister city
type administrative territorial entity
['Wangen im Allgäu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Wangen_im_Allgäu property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q13377 Q8240
(Q165015,P190,c(Q56061))
action count
action filter_type
action find
entity Q165015
relation P190
type Q56061
[ANSWER]
['Q165015', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q165015 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Prato Stadt Wehlen
2
action count
action filter_type
action find
entity Wangen im Allgäu
relation sister city
type administrative territorial entity
['Wangen im Allgäu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Wangen_im_Allgäu property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q51458
Q56061
USER
And what about Notaresco?
(Q51458,P190,c(Q56061))
action count
action filter_type
action find
entity Q51458
relation P190
type Q56061
['Q51458', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q51458 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Notaresco
action count
action filter_type
action find
entity Notaresco
relation sister city
type administrative territorial entity
['Notaresco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Notaresco property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q51458,P190,c(Q56061))
action count
action filter_type
action find
entity Q51458
relation P190
type Q56061
[ANSWER]
['Q51458', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q51458 property:P190 ?z . ?z rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Notaresco
relation sister city
type administrative territorial entity
['Notaresco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Notaresco property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q340
P740
Q2088357 Q270791
USER
How many musical ensembles or government-owned corporations originated at Montreal ?
(c(Q2088357),P740,Q340) (c(Q270791),P740,Q340)
action count
action union
action filter_type
action find_reverse
entity Q340
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q340
relation P740
type Q270791
[{'concept': 'Q2088357'}, 'P740', 'Q340'] [{'concept': 'Q270791'}, 'P740', 'Q340']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:P740 resource:Q340 . ?q rdf:type ontology:Q2088357 } UNION { ?q property:P740 resource:Q340 . ?q rdf:type ontology:Q270791 } }
Montreal
action count
action union
action filter_type
action find_reverse
entity Montreal
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Montreal
relation location of formation
type government-owned corporation
[{'concept': 'musical ensemble'}, 'location of formation', 'Montreal'] [{'concept': 'government-owned corporation'}, 'location of formation', 'Montreal']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:location_of_formation resource:Montreal . ?q rdf:type ontology:musical_ensemble } UNION { ?q property:location_of_formation resource:Montreal . ?q rdf:type ontology:government-owned_corporation } }
[]
musical ensemble government-owned corporation
SYSTEM
101
Q845062 Q3566904 Q4876840 Q2819200 Q7777508 Q7708679 Q7826123 Q3040796 Q7202014 Q1087706 Q16968255 Q1752259 Q3002414 Q5245606 Q6469568 Q1968441 Q58608 Q630797 Q7730277 Q689758 Q2647795 Q2963742 Q4840279 Q15053492 Q880840 Q1236967 Q3036746 Q25056280 Q5641722 Q846190 Q3092145 Q4658782 Q6553213 Q4690276 Q2847118 Q664536 Q8058130 Q7339626 Q8026233 Q14117282 Q683986 Q5359370 Q3521689 Q1143294 Q5185784 Q3228237 Q3269701 Q5939314 Q7334424 Q499847 Q4882680 Q3542599 Q2931874 Q5447601 Q5140040 Q3321136 Q7893568 Q3337245 Q677011 Q225422 Q7044318 Q15052764 Q368132 Q5245216 Q4043159 Q5454108 Q5245332 Q5265353 Q4920652 Q3050103 Q5398543 Q7142885 Q1318678 Q2626680 Q7737346 Q6288566 Q7722813 Q6730889 Q6918892 Q14159627 Q7338075 Q5207239 Q5264482 Q1417704 Q760622 Q614949 Q2883027 Q17111000 Q1129668 Q1672004 Q7402399 Q12201817 Q5570016 Q7201663 Q843228 Q4680030 Q7077004 Q7715688 Q1198118 Q3099272 Q5533638
(c(Q2088357),P740,Q340) (c(Q270791),P740,Q340)
action count
action union
action filter_type
action find_reverse
entity Q340
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q340
relation P740
type Q270791
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q340'] [{'concept': 'Q270791'}, 'P740', 'Q340']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:P740 resource:Q340 . ?q rdf:type ontology:Q2088357 } UNION { ?q property:P740 resource:Q340 . ?q rdf:type ontology:Q270791 } }
Handsome Furs We Are Wolves Beast AIDS Wolf Theatre of Early Music Th' Corn Gangg Torngat Duchess Says Plaster Chromeo Random Recipe Stars Creature Deadly Apples Ladies of the Canyon Priestess Arcade Fire The Stills The Dirty Tricks Lesbians on Ecstasy Mobile Chinatown Bad Flirt Demon's Claws Blackguard Ex Deo Donkey Heart Sex Half Moon Run Bell Orchestre The Unicorns A Perfect Murder Line Spectra Afrodizz André The Besnard Lakes Young Galaxy Roads Winter Gloves Nefastus Dies Beneath the Massacre Elephant Stone The Lovely Feathers Les Colocs Criollo Le Volume Était Au Maximum Lyrical Assault Humanifesto Rime Organisé Islands Belgrave Two Fingers CPC Gangbangs Fifths of Seven Code Pie Monogrenade United Steel Workers of Montreal Navet Confit Pony Up Men Without Hats No Joy Majical Cloudz Blessed by a Broken Heart Dead Hollywood Stars Longing for Dawn First You Get the Sugar Dead Messenger Destroyalldreamers Black Diamond Bay El Motor Esmerine Passwords Malajube Miracle Fortress The Gorgeous Josh The Chronicles of Israfel Magic Weapon Moufette Suuns Riverbeds Da Gryptions Desire The Agonist Augury The Luyas Business Development Bank of Canada Yamantaka // Sonic Titan Set Fire to Flames Ion Dissonance Saints & Sinners Tadros Glo Plants and Animals Sunset Rubdown Adam and the Amethysts October Sky The Barr Brothers Despised Icon Gatineau Genticorum
101
action count
action union
action filter_type
action find_reverse
entity Montreal
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Montreal
relation location of formation
type government-owned corporation
[{'concept': 'musical ensemble'}, 'location of formation', 'Montreal'] [{'concept': 'government-owned corporation'}, 'location of formation', 'Montreal']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:location_of_formation resource:Montreal . ?q rdf:type ontology:musical_ensemble } UNION { ?q property:location_of_formation resource:Montreal . ?q rdf:type ontology:government-owned_corporation } }
[]