Simple Question (Direct)
Simple Question
Q1468110
P20
Q56061
USER
Where did Johann Wilhelm Lombard expire ?
(Q1468110,P20,c(Q56061))
action filter_type
action find
entity Q1468110
relation P20
type Q56061
['Q1468110', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1468110 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Johann Wilhelm Lombard
action filter_type
action find
entity Johann Wilhelm Lombard
relation place of death
type administrative territorial entity
['Johann Wilhelm Lombard', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Johann_Wilhelm_Lombard property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33959
SYSTEM
Nice
Q33959
(Q1468110,P20,c(Q56061))
action filter_type
action find
entity Q1468110
relation P20
type Q56061
Johann Wilhelm Lombard expired in [ANSWER]
['Q1468110', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1468110 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Nice
Johann Wilhelm Lombard expired in Nice
Nice
action filter_type
action find
entity Johann Wilhelm Lombard
relation place of death
type administrative territorial entity
['Johann Wilhelm Lombard', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Johann_Wilhelm_Lombard property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1468110
P19
Q56061
USER
Which administrative territory is the place of birth of Johann Wilhelm Lombard ?
(Q1468110,P19,c(Q56061))
action filter_type
action find
entity Q1468110
relation P19
type Q56061
['Q1468110', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1468110 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Johann Wilhelm Lombard
action filter_type
action find
entity Johann Wilhelm Lombard
relation place of birth
type administrative territorial entity
['Johann Wilhelm Lombard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Johann_Wilhelm_Lombard property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1468110,P19,c(Q56061))
action filter_type
action find
entity Q1468110
relation P19
type Q56061
[ANSWER] is the place of birth of Johann Wilhelm Lombard
['Q1468110', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1468110 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Berlin
Berlin is the place of birth of Johann Wilhelm Lombard
Berlin
action filter_type
action find
entity Johann Wilhelm Lombard
relation place of birth
type administrative territorial entity
['Johann Wilhelm Lombard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Johann_Wilhelm_Lombard property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q515
USER
How many administrative territories or cities are twin cities of that administrative territory ?
(Q64,P190,c(Q56061)) (Q64,P190,c(Q515)) (Q64,P190,c(Q56061)) (Q64,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q64
relation P190
type Q56061
action filter_type
action find
entity Q64
relation P190
type Q515
['Q64', 'P190', {'concept': 'Q56061'}] ['Q64', 'P190', {'concept': 'Q515'}] ['Q64', 'P190', {'concept': 'Q56061'}] ['Q64', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?y rdf:type ?g }
action count
action union
action filter_type
action find
entity Berlin
relation sister city
type administrative territorial entity
action filter_type
action find
entity Berlin
relation sister city
type city
['Berlin', 'sister city', {'concept': 'administrative territorial entity'}] ['Berlin', 'sister city', {'concept': 'city'}] ['Berlin', 'sister city', {'concept': 'administrative territorial entity'}] ['Berlin', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?y rdf:type ?g }
[]
administrative territorial entity city
SYSTEM
18
Q269 Q84 Q3630 Q270 Q9005 Q649 Q239 Q3935 Q90 Q2807 Q956 Q1781 Q1489 Q1486 Q1490 Q65 Q406 Q1085
(Q64,P190,c(Q56061)) (Q64,P190,c(Q515)) (Q64,P190,c(Q56061)) (Q64,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q64
relation P190
type Q56061
action filter_type
action find
entity Q64
relation P190
type Q515
[ANSWER]
['Q64', 'P190', {'concept': 'Q56061'}] ['Q64', 'P190', {'concept': 'Q515'}] ['Q64', 'P190', {'concept': 'Q56061'}] ['Q64', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?y rdf:type ?g }
Tashkent London Jakarta Warsaw Brussels Moscow Brussels Windhoek Paris Madrid Beijing Budapest Mexico City Buenos Aires Tokyo Los Angeles Istanbul Prague
18
action count
action union
action filter_type
action find
entity Berlin
relation sister city
type administrative territorial entity
action filter_type
action find
entity Berlin
relation sister city
type city
['Berlin', 'sister city', {'concept': 'administrative territorial entity'}] ['Berlin', 'sister city', {'concept': 'city'}] ['Berlin', 'sister city', {'concept': 'administrative territorial entity'}] ['Berlin', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?y rdf:type ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3630
P840
Q56061 Q15416 Q838948
USER
Which administrative territories are less number of television programs or works of art set in than Jakarta ?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3630
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:P840 ?t . ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q15416 } UNION { ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q838948 . ?a property:P840 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P840 resource:Q3630 . { { ?i rdf:type ontology:Q15416 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?c < ?f ) }
Jakarta
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Jakarta
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:television_program } UNION { ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:work_of_art . ?a property:narrative_location ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:narrative_location resource:Jakarta . { { ?i rdf:type ontology:television_program } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?c < ?f ) }
[]
administrative territorial entity television program work of art
Q490 Q647 Q2280
SYSTEM
Milan, Rennes, Minsk
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q33486 Q1874 Q1826473 Q210292 Q28729 Q25286 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q467664 Q23725 Q1050826 Q3659 Q23337 Q2656 Q1289 Q124739 Q3413045 Q79873 Q81788 Q43453 Q308891 Q2500974 Q7054337 Q80985 Q12892 Q80734 Q7880 Q82858 Q1930 Q1435589 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q5836 Q12994 Q1635139 Q667268 Q25319 Q180294 Q8818 Q34739 Q215177 Q27168 Q2048321 Q594807 Q9427 Q48274 Q83317 Q12340599 Q262483 Q2567585 Q37776 Q209055 Q7094142 Q3561 Q11864 Q462799 Q2861 Q11703 Q490 Q6346 Q48370 Q3703 Q2141 Q192517 Q54212 Q43301 Q490584 Q1246235 Q6046 Q25416 Q239 Q25410 Q16558 Q5212975 Q16554 Q753121 Q16556 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q490737 Q900 Q14815 Q169492 Q26881 Q13670 Q1911961 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q70 Q178168 Q37100 Q16869 Q2214 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q41819 Q2177880 Q1011683 Q41329 Q1555 Q1491 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q18705 Q621549 Q49149 Q676689 Q271411 Q13496 Q27119 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q34713 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q530090 Q3825 Q159232 Q5818 Q384 Q5813 Q27393 Q12191 Q202337 Q837478 Q184345 Q13362 Q6537 Q49111 Q499196 Q495373 Q10313 Q42810 Q647 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q47048 Q12340625 Q2211 Q2704 Q47716 Q1040 Q6441 Q165972 Q485172 Q26793 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q743521 Q630533 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986
(c(Q15416)|c(Q838948),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3630
relation P840
type Q15416
type Q838948
[ANSWERS] are less number of television programs or works of art set in than Jakarta
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:P840 ?t . ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q15416 } UNION { ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q838948 . ?a property:P840 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P840 resource:Q3630 . { { ?i rdf:type ontology:Q15416 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?c < ?f ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Hartford Odessa Tversted Yozgat Kozhikode Uppsala Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Butte Byzantium Greater Los Angeles Area N'Djamena Salt Lake City Palermo Grenoble Tijuana Farsø Tombstone Giza Plzeň special wards of Tokyo Richmond North Buxton, Ontario Fes Antwerp Campagna Toulouse Sigmaringen Ottawa Folsom Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Toledo Bruges Hvalpsund Nevada City Aarhus Jaffa Valencia Dayton Skagen Randers Varde Søborg Timbuktu Nashua Mosul Vedersø Deadwood Dybbøl Besançon Torquay Onllwyn Algiers Junagadh Evanston Rostock United States Virgin Islands Milan Indianapolis Manchester Bamako Halifax Boulder Barnsley Fresno Flint Nørresundby Novara Stavanger Brussels Aalborg Fort Worth Damsholte Denver Atacames Phoenix Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Bloomington Kazan Weißenfels Neukölln Helsingør Syracuse Thorning Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Bern Mitrovica Auckland Constantinople Pskov Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Kansas City Ågerup Rødbyhavn Linz Guatemala City La Paz El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Bajram Curri Inglewood Nantucket Gravesend Malindi Brindisi Kolding Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Salzburg Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Jerichow Libreville Santa Cruz Córdoba Skopje Canary Islands Herning Nantes Nauplion Sabinov Viña del Mar Ferrara Vicenza Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Rennes Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Oulu Vejlby Malmö Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Ann Arbor Bergen Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby Scarborough Tire Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso
Milan, Rennes and Minsk are less number of television programs or works of art set in than Jakarta
Milan Rennes Minsk
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Jakarta
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:television_program } UNION { ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:work_of_art . ?a property:narrative_location ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:narrative_location resource:Jakarta . { { ?i rdf:type ontology:television_program } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?c < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1015727
P840
Q56061 Q15416 Q838948
USER
And also tell me about Mbale?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1015727
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?u WHERE { { ?j property:P840 ?u . ?u rdf:type ontology:Q56061 . ?j rdf:type ontology:Q15416 } UNION { ?j property:P840 ?u . ?u rdf:type ontology:Q56061 . ?j rdf:type ontology:Q838948 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { { ?z rdf:type ontology:Q15416 } UNION { ?z rdf:type ontology:Q838948 } } . ?z property:P840 resource:Q1015727 } } . FILTER ( ?p < ?l ) }
Mbale
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Mbale
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?u WHERE { { ?j property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:television_program } UNION { ?j property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:work_of_art } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { { ?z rdf:type ontology:television_program } UNION { ?z rdf:type ontology:work_of_art } } . ?z property:narrative_location resource:Mbale } } . FILTER ( ?p < ?l ) }
[]
administrative territorial entity television program work of art
Q490 Q647 Q2090
SYSTEM
Milan, Rennes, Nuremberg
Q3579 Q704257 Q7436 Q21075005 Q1826473 Q28729 Q128499 Q804569 Q467664 Q23725 Q23337 Q1289 Q3413045 Q79873 Q81788 Q43453 Q308891 Q2500974 Q7054337 Q12892 Q80734 Q7880 Q82858 Q1435589 Q334 Q3437 Q75459 Q1635139 Q25319 Q34739 Q215177 Q27168 Q2048321 Q594807 Q48274 Q83317 Q12340599 Q37776 Q3561 Q490 Q6346 Q48370 Q2141 Q192517 Q43301 Q490584 Q1246235 Q6046 Q239 Q25410 Q16558 Q5212975 Q16556 Q52437 Q14815 Q13670 Q1911961 Q42462 Q5112 Q1735 Q613441 Q729006 Q64123 Q735022 Q11592 Q78 Q70 Q37100 Q16869 Q2214 Q37066 Q486439 Q2073798 Q26887 Q79980 Q82490 Q3766 Q41604 Q2177880 Q1011683 Q41329 Q6225 Q2118905 Q134672 Q1479 Q2302168 Q2090 Q621549 Q676689 Q271411 Q13496 Q27119 Q25331 Q25231 Q617 Q21855637 Q30096 Q48292 Q319476 Q162890 Q2634 Q863058 Q268873 Q159232 Q5818 Q384 Q27393 Q12191 Q202337 Q6537 Q49111 Q499196 Q647 Q3012 Q2301524 Q852778 Q323813 Q42735 Q580 Q586 Q43919 Q12340625 Q47716 Q6441 Q4190 Q897848 Q350 Q62677 Q1781238 Q3619316 Q41970 Q33986
(c(Q15416)|c(Q838948),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1015727
relation P840
type Q15416
type Q838948
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?u WHERE { { ?j property:P840 ?u . ?u rdf:type ontology:Q56061 . ?j rdf:type ontology:Q15416 } UNION { ?j property:P840 ?u . ?u rdf:type ontology:Q56061 . ?j rdf:type ontology:Q838948 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { { ?z rdf:type ontology:Q15416 } UNION { ?z rdf:type ontology:Q838948 } } . ?z property:P840 resource:Q1015727 } } . FILTER ( ?p < ?l ) }
Tripoli Albany Gatchina Serritslev Tversted Kozhikode Yalta Bala, Ontario Butte Byzantium Salt Lake City Grenoble Farsø Tombstone Giza Plzeň special wards of Tokyo Richmond North Buxton, Ontario Antwerp Campagna Toulouse Sigmaringen Folsom Singapore Perugia Delphi Hvalpsund Aarhus Dayton Skagen Randers Varde Søborg Nashua Mosul Vedersø Besançon Algiers Milan Indianapolis Manchester Halifax Boulder Fresno Flint Nørresundby Novara Brussels Aalborg Fort Worth Damsholte Phoenix Murano Weißenfels Syracuse Thorning York Adelaide Innsbruck Middelfart Chatham Meiringen Walnut Grove, Minnesota Sonoma Basel Bern Auckland Constantinople Pskov Bismarck Cedar Rapids Welch Davenport Varanasi Lyme Regis Damascus Amiens Ågerup Rødbyhavn Linz Coventry Purley Exeter Bordeaux Kjellerup Nuremberg Inglewood Gravesend Malindi Brindisi Kolding Odense Svalbard Padua Hvilsager Frederiksberg Arles Cumaná Xanten Naples Summerside Newport Beach Santa Cruz Córdoba Skopje Herning Nantes Nauplion Vicenza Cambridge Costa Mesa Rennes Ulm Stege Whitby Jamestown Olympia Łódź Bonn Salem Vejlby Charleston Montpellier Passau Brande Cambridge Karakorum Stureby Grenå Pyatigorsk Valparaíso
Milan Rennes Nuremberg
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Mbale
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?u WHERE { { ?j property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:television_program } UNION { ?j property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:work_of_art } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { { ?z rdf:type ontology:television_program } UNION { ?z rdf:type ontology:work_of_art } } . ?z property:narrative_location resource:Mbale } } . FILTER ( ?p < ?l ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q647
P291
Q2342494
USER
Which collectable was published in that administrative territory ?
(c(Q2342494),P291,Q647)
action filter_type
action find_reverse
entity Q647
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q647']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P291 resource:Q647 }
Rennes
action filter_type
action find_reverse
entity Rennes
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Rennes']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:place_of_publication resource:Rennes }
[]
collectable
Clarification for simple ques.
Q490
SYSTEM
Did you mean Milan ?
Q490 Q647 Q2090
(c(Q2342494),P291,Q490) (c(Q2342494),P291,Q647) (c(Q2342494),P291,Q2090)
[ANSWER]
[{'concept': 'Q2342494'}, 'P291', 'Q490'] [{'concept': 'Q2342494'}, 'P291', 'Q647'] [{'concept': 'Q2342494'}, 'P291', 'Q2090']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P291 resource:Q647 }
Milan Rennes Nuremberg
Did you mean Milan ?
Milan
[{'concept': 'collectable'}, 'place of publication', 'Milan'] [{'concept': 'collectable'}, 'place of publication', 'Rennes'] [{'concept': 'collectable'}, 'place of publication', 'Nuremberg']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:place_of_publication resource:Rennes }
[]
Simple Question (Coreferenced)
USER
No, I meant Rennes. Could you tell me the answer for that?
(c(Q2342494),P291,Q647)
Q647
[{'concept': 'Q2342494'}, 'P291', 'Q647']
[{'concept': 'collectable'}, 'place of publication', 'Rennes']
[]
Q25991137
SYSTEM
Ar c’hornandoned
Q25991137
(c(Q2342494),P291,Q647)
action filter_type
action find_reverse
entity Q647
relation P291
type Q2342494
[ANSWER] was published in that administrative territory
[{'concept': 'Q2342494'}, 'P291', 'Q647']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P291 resource:Q647 }
Ar c’hornandoned
Ar c’hornandoned was published in that administrative territory
Ar c’hornandoned
action filter_type
action find_reverse
entity Rennes
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Rennes']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:place_of_publication resource:Rennes }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q25991137 Q128163 Q507100
P495
Q15617994
USER
Does Ar c’hornandoned have Roccasecca dei Volsci and Aufseß as its place of origin ?
(Q25991137,P495,Q128163) (Q25991137,P495,Q507100)
action is_in
entity Q25991137
action intersection
action find_reverse
entity Q128163
relation P495
action find_reverse
entity Q507100
relation P495
['Q25991137', 'P495', 'Q128163'] ['Q25991137', 'P495', 'Q507100']
ASK WHERE { resource:Q25991137 property:P495 resource:Q128163 . resource:Q25991137 property:P495 resource:Q507100 }
Ar c’hornandoned Roccasecca dei Volsci Aufseß
action is_in
entity Ar c’hornandoned
action intersection
action find_reverse
entity Roccasecca dei Volsci
relation country of origin
action find_reverse
entity Aufseß
relation country of origin
['Ar c’hornandoned', 'country of origin', 'Roccasecca dei Volsci'] ['Ar c’hornandoned', 'country of origin', 'Aufseß']
ASK WHERE { resource:Ar_c’hornandoned property:country_of_origin resource:Roccasecca_dei_Volsci . resource:Ar_c’hornandoned property:country_of_origin resource:Aufseß }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q25991137,P495,Q128163) (Q25991137,P495,Q507100)
action is_in
entity Q25991137
action intersection
action find_reverse
entity Q128163
relation P495
action find_reverse
entity Q507100
relation P495
[ANSWER]
['Q25991137', 'P495', 'Q128163'] ['Q25991137', 'P495', 'Q507100']
ASK WHERE { resource:Q25991137 property:P495 resource:Q128163 . resource:Q25991137 property:P495 resource:Q507100 }
No
action is_in
entity Ar c’hornandoned
action intersection
action find_reverse
entity Roccasecca dei Volsci
relation country of origin
action find_reverse
entity Aufseß
relation country of origin
['Ar c’hornandoned', 'country of origin', 'Roccasecca dei Volsci'] ['Ar c’hornandoned', 'country of origin', 'Aufseß']
ASK WHERE { resource:Ar_c’hornandoned property:country_of_origin resource:Roccasecca_dei_Volsci . resource:Ar_c’hornandoned property:country_of_origin resource:Aufseß }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q64 Q65
P190
Q56061
USER
Is Los Angeles twin town of Berlin ?
(Q64,P190,Q65)
action is_in
entity Q65
action find
entity Q64
relation P190
['Q64', 'P190', 'Q65']
ASK WHERE { resource:Q64 property:P190 resource:Q65 }
Berlin Los Angeles
action is_in
entity Los Angeles
action find
entity Berlin
relation sister city
['Berlin', 'sister city', 'Los Angeles']
ASK WHERE { resource:Berlin property:sister_city resource:Los_Angeles }
[]
administrative territorial entity
SYSTEM
YES
(Q64,P190,Q65)
action is_in
entity Q65
action find
entity Q64
relation P190
[ANSWER]
['Q64', 'P190', 'Q65']
ASK WHERE { resource:Q64 property:P190 resource:Q65 }
Yes
action is_in
entity Los Angeles
action find
entity Berlin
relation sister city
['Berlin', 'sister city', 'Los Angeles']
ASK WHERE { resource:Berlin property:sister_city resource:Los_Angeles }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q502895
USER
How many people appear in exactly 1 collectable ?
(c(Q502895),P1441,c(Q2342494))
action count
action equal
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 1
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o property:P1441 ?x . ?o rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2342494 } GROUP BY ?o } . FILTER ( ?u = 1 ) }
action count
action equal
action find_tuple_counts
relation present in work
type common name
type collectable
value 1
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o property:present_in_work ?x . ?o rdf:type ontology:common_name . ?x rdf:type ontology:collectable } GROUP BY ?o } . FILTER ( ?u = 1 ) }
[]
collectable common name
SYSTEM
40
Q660359 Q232525 Q160116 Q785349 Q3858588 Q4154984 Q185801 Q6239779 Q34428 Q294192 Q134646 Q3778878 Q1348720 Q716237 Q41370 Q2124082 Q315276 Q3148218 Q3745274 Q3867479 Q19348839 Q1093885 Q3010053 Q164889 Q27621044 Q366070 Q270438 Q1341779 Q972487 Q313395 Q8581 Q2296791 Q312311 Q169329 Q302322 Q3761044 Q76721 Q283466 Q9441 Q1227361
(c(Q502895),P1441,c(Q2342494))
action count
action equal
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o property:P1441 ?x . ?o rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2342494 } GROUP BY ?o } . FILTER ( ?u = 1 ) }
Cecco Angiolieri Theodelinda Alexander III Cangrande I della Scala Mino da San Quirico Kai Darab Mikhail Kutuzov John Hooper Philip Guy of Lusignan Boniface VIII Guglielmo Borsiere Guy de Montfort, Count of Nola Song Jiang David Azzo VIII d'Este, Marquis of Ferrara Agilulf Ignacy Przybyszewski Filippo Minutolo Musciatto Franzesi Salammbô Hathi Céleste de Chateaubriand Manfred, King of Sicily Davy Brown George William Russell Charles of Valois Kai Lohrasp Buonamico Buffalmacco Authari Saladin Molly Bloom Peter III of Aragon Conrad of Montferrat Calandrino Geri Spini Godfrey of Bouillon Roger of Lauria Gautama Buddha John of Procida
40
action count
action equal
action find_tuple_counts
relation present in work
type common name
type collectable
value 1
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o property:present_in_work ?x . ?o rdf:type ontology:common_name . ?x rdf:type ontology:collectable } GROUP BY ?o } . FILTER ( ?u = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2090
P6
Q502895
USER
Which people have Nuremberg as their heads of government ?
(Q2090,P6,c(Q502895))
action filter_type
action find
entity Q2090
relation P6
type Q502895
['Q2090', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2090 property:P6 ?a }
Nuremberg
action filter_type
action find
entity Nuremberg
relation head of government
type common name
['Nuremberg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Nuremberg property:head_of_government ?a }
[]
common name
Q1583252 Q60909 Q501034
SYSTEM
Hans Ziegler, Otto Gessler, Andreas Urschlechter
Q1300205 Q2078253 Q1583252 Q85734 Q1712930 Q60909 Q1079907 Q2041089 Q1506689 Q1874981 Q1679020 Q1489670 Q501034 Q95923 Q2038385 Q2040739 Q1749951
(Q2090,P6,c(Q502895))
action filter_type
action find
entity Q2090
relation P6
type Q502895
[ANSWERS] have Nuremberg as their heads of government
['Q2090', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2090 property:P6 ?a }
Maximilian von Waechter Peter Schönlein Hans Ziegler Ulrich Maly Julius Rühm Otto Gessler Christian Gottfried Lorsch Otto Ziebill Georg von Schuh Ludwig Scholz Jakob Friedrich Binder Hermann Luppe Andreas Urschlechter Willy Liebel Otto Bärnreuther Otto Stromer von Reichenbach Martin Treu
Hans Ziegler, Otto Gessler and Andreas Urschlechter have Nuremberg as their heads of government
Hans Ziegler Otto Gessler Andreas Urschlechter
action filter_type
action find
entity Nuremberg
relation head of government
type common name
['Nuremberg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Nuremberg property:head_of_government ?a }
[]