Simple Question (Direct)
Simple Question
Q8078216
P19
Q20667921
USER
Which french administrative division was Élie Ehua born at ?
(Q8078216,P19,c(Q20667921))
action filter_type
action find
entity Q8078216
relation P19
type Q20667921
['Q8078216', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q8078216 property:P19 ?r }
Élie Ehua
action filter_type
action find
entity Élie Ehua
relation place of birth
type type of french administrative division
['Élie Ehua', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Élie_Ehua property:place_of_birth ?r }
[]
type of french administrative division
Q112683
SYSTEM
Saint-Cyr-l'École
Q112683
(Q8078216,P19,c(Q20667921))
action filter_type
action find
entity Q8078216
relation P19
type Q20667921
Élie Ehua was born à [ANSWER]
['Q8078216', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q8078216 property:P19 ?r }
Saint-Cyr-l'École
Élie Ehua was born à Saint-Cyr-l'École
Saint-Cyr-l'École
action filter_type
action find
entity Élie Ehua
relation place of birth
type type of french administrative division
['Élie Ehua', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Élie_Ehua property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q112683
P1376
Q20667921
USER
Which french administrative division has that one has its first city ?
(Q112683,P1376,c(Q20667921))
action filter_type
action find
entity Q112683
relation P1376
type Q20667921
['Q112683', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . resource:Q112683 property:P1376 ?w }
Saint-Cyr-l'École
action filter_type
action find
entity Saint-Cyr-l'École
relation capital of
type type of french administrative division
["Saint-Cyr-l'École", 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . resource:Saint-Cyr-l'École property:capital_of ?w }
[]
type of french administrative division
Q922948
SYSTEM
canton of Saint-Cyr-l'École
Q922948
(Q112683,P1376,c(Q20667921))
action filter_type
action find
entity Q112683
relation P1376
type Q20667921
The [ANSWER] has that one has its first city
['Q112683', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . resource:Q112683 property:P1376 ?w }
canton of Saint-Cyr-l'École
The canton of Saint-Cyr-l'École has that one has its first city
canton of Saint-Cyr-l'École
action filter_type
action find
entity Saint-Cyr-l'École
relation capital of
type type of french administrative division
["Saint-Cyr-l'École", 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . resource:Saint-Cyr-l'École property:capital_of ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q922948
P36
Q20667921
USER
Which french administrative division is called the capital of that one ?
(Q922948,P36,c(Q20667921))
action filter_type
action find
entity Q922948
relation P36
type Q20667921
['Q922948', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . resource:Q922948 property:P36 ?u }
canton of Saint-Cyr-l'École
action filter_type
action find
entity canton of Saint-Cyr-l'École
relation capital
type type of french administrative division
["canton of Saint-Cyr-l'École", 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Saint-Cyr-l'École property:capital ?u }
[]
type of french administrative division
Q112683
SYSTEM
Saint-Cyr-l'École
Q112683
(Q922948,P36,c(Q20667921))
action filter_type
action find
entity Q922948
relation P36
type Q20667921
[ANSWER] is called the capital of that one
['Q922948', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . resource:Q922948 property:P36 ?u }
Saint-Cyr-l'École
Saint-Cyr-l'École is called the capital of that one
Saint-Cyr-l'École
action filter_type
action find
entity canton of Saint-Cyr-l'École
relation capital
type type of french administrative division
["canton of Saint-Cyr-l'École", 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Saint-Cyr-l'École property:capital ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q112683
P47
Q56061
USER
Who shares the border with that french administrative division ?
(Q112683,P47,c(Q56061))
action filter_type
action find
entity Q112683
relation P47
type Q56061
['Q112683', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q112683 property:P47 ?t . ?t rdf:type ontology:Q56061 }
Saint-Cyr-l'École
action filter_type
action find
entity Saint-Cyr-l'École
relation shares border with
type administrative territorial entity
["Saint-Cyr-l'École", 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Saint-Cyr-l'École property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q621
SYSTEM
Versailles
Q621
(Q112683,P47,c(Q56061))
action filter_type
action find
entity Q112683
relation P47
type Q56061
[ANSWER] shares the border with that french administrative division
['Q112683', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q112683 property:P47 ?t . ?t rdf:type ontology:Q56061 }
Versailles
Versailles shares the border with that french administrative division
Versailles
action filter_type
action find
entity Saint-Cyr-l'École
relation shares border with
type administrative territorial entity
["Saint-Cyr-l'École", 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Saint-Cyr-l'École property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q20667921 Q13220204
USER
How many french administrative divisions or administrative country subdivisions consists of that administrative territory as their capital ?
(c(Q20667921),P36,Q621) (c(Q13220204),P36,Q621) (c(Q20667921),P36,Q621) (c(Q13220204),P36,Q621)
action count
action union
action filter_type
action find_reverse
entity Q621
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q621
relation P36
type Q13220204
[{'concept': 'Q20667921'}, 'P36', 'Q621'] [{'concept': 'Q13220204'}, 'P36', 'Q621'] [{'concept': 'Q20667921'}, 'P36', 'Q621'] [{'concept': 'Q13220204'}, 'P36', 'Q621']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P36 resource:Q621 . ?j rdf:type ontology:Q20667921 } UNION { ?j property:P36 resource:Q621 . ?j rdf:type ontology:Q13220204 } }
action count
action union
action filter_type
action find_reverse
entity Versailles
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Versailles
relation capital
type second-level administrative country subdivision
[{'concept': 'type of french administrative division'}, 'capital', 'Versailles'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Versailles'] [{'concept': 'type of french administrative division'}, 'capital', 'Versailles'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Versailles']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:capital resource:Versailles . ?j rdf:type ontology:type_of_french_administrative_division } UNION { ?j property:capital resource:Versailles . ?j rdf:type ontology:second-level_administrative_country_subdivision } }
[]
type of french administrative division second-level administrative country subdivision
SYSTEM
6
Q1727822 Q2066139 Q17623394 Q93949 Q1616878 Q17623392
(c(Q20667921),P36,Q621) (c(Q13220204),P36,Q621) (c(Q20667921),P36,Q621) (c(Q13220204),P36,Q621)
action count
action union
action filter_type
action find_reverse
entity Q621
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q621
relation P36
type Q13220204
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q621'] [{'concept': 'Q13220204'}, 'P36', 'Q621'] [{'concept': 'Q20667921'}, 'P36', 'Q621'] [{'concept': 'Q13220204'}, 'P36', 'Q621']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P36 resource:Q621 . ?j rdf:type ontology:Q20667921 } UNION { ?j property:P36 resource:Q621 . ?j rdf:type ontology:Q13220204 } }
canton of Versailles-Nord canton of Versailles-Sud canton of Versailles-2 arrondissement of Versailles canton of Versailles-Nord-Ouest canton of Versailles-1
6
action count
action union
action filter_type
action find_reverse
entity Versailles
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Versailles
relation capital
type second-level administrative country subdivision
[{'concept': 'type of french administrative division'}, 'capital', 'Versailles'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Versailles'] [{'concept': 'type of french administrative division'}, 'capital', 'Versailles'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Versailles']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:capital resource:Versailles . ?j rdf:type ontology:type_of_french_administrative_division } UNION { ?j property:capital resource:Versailles . ?j rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1012411
P206
Q337567 Q15324 Q56061
USER
Which administrative territories are situated close to approximately the same number of still waterss or bodies of water as Culham ?
(c(Q56061),P206,c(Q337567)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q1012411
relation P206
type Q337567
type Q15324
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?m WHERE { { ?m property:P206 ?k . ?m rdf:type ontology:Q56061 . ?k rdf:type ontology:Q337567 } UNION { ?m property:P206 ?k . ?m rdf:type ontology:Q56061 . ?k rdf:type ontology:Q15324 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q1012411 property:P206 ?o . { VALUES ( ?j ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?o rdf:type ?j } } } . FILTER ( ?i = ?b ) }
Culham
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Culham
relation located next to body of water
type still waters
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?m WHERE { { ?m property:located_next_to_body_of_water ?k . ?m rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:still_waters } UNION { ?m property:located_next_to_body_of_water ?k . ?m rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:body_of_water } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Culham property:located_next_to_body_of_water ?o . { VALUES ( ?j ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?o rdf:type ?j } } } . FILTER ( ?i = ?b ) }
[]
still waters body of water administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q165736 Q3579 Q991950 Q1721578 Q84 Q2003600 Q157478 Q1718 Q2752171 Q539767 Q305067 Q9248 Q3876 Q990253 Q898 Q1586529 Q3246724 Q493544 Q957593 Q3718 Q3711 Q23311 Q3238 Q4359610 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q3844 Q1395576 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q7054 Q25231 Q2335714 Q2454052 Q11882295 Q3549178 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q895123 Q1416753 Q846242 Q1083051 Q18808 Q622030 Q253741 Q985642 Q11974 Q369911 Q1309 Q991532 Q934511 Q4093 Q955992 Q144773 Q3659 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q577891 Q13648690 Q175258 Q209176 Q1754096 Q746096 Q2135238 Q1521492 Q653025 Q387502 Q2284683 Q38834 Q162857 Q1521199 Q1025910 Q4201085 Q1022 Q769631 Q15377069 Q251091 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q2088134 Q5350973 Q1252635 Q9365 Q9361 Q156325 Q90 Q1519942 Q985587 Q3563897 Q7673494 Q986645 Q2441552 Q588293 Q73049 Q486792 Q1610396 Q371532 Q3397397 Q956954 Q9375247 Q2357495 Q1650017 Q1930 Q14621387 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3929 Q3036324 Q328121 Q1018010 Q20714928 Q185404 Q47164 Q810309 Q3897 Q93347 Q3748 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q36433 Q11866294 Q2465220 Q617407 Q23800 Q1020776 Q19613124 Q3323 Q103255 Q2060859 Q8546656 Q473914 Q16015040 Q3026650 Q8818 Q478036 Q18923859 Q9270 Q2886833 Q1718608 Q2599767 Q635806 Q208337 Q3761 Q1779522 Q2916660 Q968631 Q379531 Q24861 Q1526933 Q793407 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q163091 Q2078223 Q185582 Q484799 Q14328 Q73221 Q9326 Q156717 Q573599 Q1520 Q1646181 Q925506 Q1776515 Q997407 Q2467 Q554655 Q3561 Q3021755 Q28218 Q4527424 Q131233 Q793 Q621483 Q2482545 Q13403152 Q5465 Q6477002 Q20730670 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q12246 Q4975194 Q2059003 Q1963 Q2069566 Q314367 Q1842 Q2525207 Q740066 Q997775 Q212096 Q986079 Q2280 Q550373 Q2174345 Q2627252 Q504544 Q49149 Q8851 Q200783 Q988658 Q18682241 Q4070552 Q16636995 Q1165854 Q10509 Q5474003 Q755657 Q3832 Q334 Q239 Q5476889 Q4083 Q1454043 Q515229 Q1094123 Q733368 Q15377091 Q995159 Q508998 Q2300996 Q656709 Q3037 Q2379952 Q2719861 Q3033 Q1004822 Q238803 Q932955 Q1908062 Q846188 Q542647 Q948468 Q145638 Q894535 Q523651 Q1741 Q987797 Q987790 Q2543792 Q1748 Q210093 Q18682719 Q2335535 Q2677934 Q2391779 Q85 Q15241507 Q533456 Q2090 Q2255057 Q2933890 Q966534 Q1487909 Q629786 Q737877 Q2103 Q2918470 Q73031 Q2543086 Q1735 Q1143278 Q14875773 Q984973 Q3398922 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q1785679 Q7481520 Q5330523 Q14056 Q70 Q425780 Q3743068 Q1648515 Q1585348 Q1390387 Q2321706 Q12191 Q3674 Q651997 Q5912898 Q992474 Q270 Q1957 Q109535 Q847085 Q105037 Q214843 Q2336499 Q23564 Q1519434 Q40921 Q2225013 Q690 Q119446 Q1906235 Q3828 Q941967 Q285323 Q961068 Q537214 Q18681966 Q109386 Q2729544 Q14947347 Q301415 Q2160909 Q3051477 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q49414 Q3001 Q21197 Q736906 Q10717 Q1129607 Q1018225 Q180333 Q543904 Q592123 Q586112 Q990651 Q2578642 Q252466 Q7107283 Q791602 Q2842582 Q437 Q390588 Q3551 Q1265670 Q384 Q8745 Q38807 Q491999 Q858775 Q19613821 Q865808 Q6751200 Q2191422 Q2329846 Q3688 Q1780 Q1781 Q658902 Q2659563 Q1003576 Q2529554 Q2682753 Q3306 Q647543 Q11897598 Q4067724 Q914755 Q1850 Q1070428 Q477232 Q244327 Q3780 Q1314479 Q1490863 Q285778 Q1732099 Q2807 Q4357920 Q35381 Q259617 Q19613231 Q3407596 Q4405293 Q959517 Q5638429 Q2590944 Q4207520 Q183104 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q208143 Q806414 Q3733 Q593141 Q1189066 Q1785595 Q165486 Q3739 Q25230 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q7230655 Q810092 Q19613854 Q492744 Q1012411 Q3854 Q15241991 Q19906849 Q2574529 Q4072448 Q155955 Q10400 Q34713 Q5068781 Q1545679 Q915 Q311809 Q15682 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q5493749 Q2007254 Q14945 Q2911365 Q1538830 Q632489 Q12047 Q2157144 Q2267399 Q9347 Q2785515 Q671557 Q4454 Q1800099 Q9974 Q2292517 Q989288 Q987243 Q13640603 Q614706 Q2927534 Q276274 Q2449 Q1726 Q1624013 Q17483998 Q503640 Q1792879 Q2511670 Q569804 Q1423660 Q345389 Q1729 Q1721184 Q3901 Q466046 Q3909 Q2931074 Q7056872 Q755389 Q1011866 Q61 Q736131 Q41572 Q306440 Q1567437 Q3766 Q9125 Q1861 Q15552182 Q1870405 Q868647 Q216939 Q2194010 Q5813 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q767357 Q1947 Q2674551 Q1981987 Q162065 Q1160017 Q1591499 Q50960 Q2751941 Q676689 Q2498737 Q939609 Q49550 Q37806 Q770518 Q1533868 Q795623 Q840681 Q2077402 Q2784834 Q2351343 Q985659 Q971550 Q2713838 Q13400194 Q2868 Q1886770 Q3640 Q1394778 Q5132825 Q2682566 Q647 Q40747 Q2087380 Q820949 Q649 Q3012 Q2423894 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q187251 Q2948574 Q140147 Q9939 Q427044 Q28848 Q3112541 Q8050719 Q598948 Q806799 Q910997 Q766896 Q2830827 Q586 Q8757 Q34370 Q954764 Q1734018 Q1669399 Q1764 Q16531502 Q630478 Q9279 Q3940 Q2236639 Q820024 Q602314 Q2704 Q1040 Q986675 Q1713141 Q579556 Q11900887 Q14452 Q464955 Q508056 Q8826 Q3820 Q506700 Q6899495 Q36260 Q963894 Q123076 Q2281721 Q2319224 Q204234 Q787279 Q750760 Q19613699 Q988100 Q1006998 Q719379 Q54898 Q353307 Q2432955 Q55630 Q7618827 Q4100 Q216 Q4914513 Q16016733 Q878809 Q4998230 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q230406 Q1867127 Q615732 Q502398 Q222702 Q3114 Q956125 Q630334 Q773919 Q2051589 Q1553283 Q2409481 Q1341 Q578026 Q1964137 Q503763 Q2355915 Q2084446 Q2303243 Q1531454 Q1017 Q4190 Q18399563 Q15241523 Q7823825 Q1850580 Q2585002 Q14205508 Q1522881 Q670057 Q5646331 Q179385 Q1248930 Q1728043 Q1743660 Q1085
(c(Q56061),P206,c(Q337567)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q1012411
relation P206
type Q337567
type Q15324
[ANSWERS] are situated close to approximately the same number of still waterss or bodies of water as Culham
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?m WHERE { { ?m property:P206 ?k . ?m rdf:type ontology:Q56061 . ?k rdf:type ontology:Q337567 } UNION { ?m property:P206 ?k . ?m rdf:type ontology:Q56061 . ?k rdf:type ontology:Q15324 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q1012411 property:P206 ?o . { VALUES ( ?j ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?o rdf:type ?j } } } . FILTER ( ?i = ?b ) }
Doesburg Tripoli Karczew Tagazar London Walton-on-Thames Lesozavodsk Düsseldorf Ardnacrusha Ivalo Gniew Baku Lilongwe Henley-on-Thames Omsk Rothneusiedl Bisham Makkum Den Oever Dakar Belgrade City of London Tegucigalpa El Pescadero Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Brazzaville Nussdorf Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Dalnegorsk Svalbard Steeden Olney Metsäkylä Onari Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Boumba Sitra Nieuw-Lekkerland Swanscombe Pyongyang Palos de la Frontera Grinzing Góra Kalwaria Las Palmas de Gran Canaria Athlone Maastricht Grays Papendrecht Glasgow Kobryn Zakroczym N'Djamena Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto East St. Louis Taradei Novosil Ely Weybridge North Shields East Tilbury Ghazaouet Bergambacht Świecie Mobridge Nuku'alofa Kourfeye Centre Great Barford Maïné-Soroa Innishannon Stuttgart Drohiczyn Zellerfeld Athy Torgelow East Cowes Jean Marie River Alchan Kemble Richmond San José del Cabo El Centenario Doulsou Dushanbe Bishkek Juan Fernández Islands Paris Bromham Lee-on-the-Solent Vyadhapura Taboiaki Imanan Tondikandia Sonning Hindeloopen Aranjuez Egham Hythe Lisala Radley Kaspi Winniki Paesens Sidi Abdelaziz Ottawa Anna Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Port Louis Pangbourne Greater Tokyo Area Sidi Barrani Port Famine Bundaberg Santa Monica Oberwurmbach Luanda Mostar Monrovia Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Porto Jeesiö Putney Eton Valletta Cabo San Lucas Alekseyevka Belgorod Alatyr Nieuw-Beijerland Hurley Ibiza Town Ariadnoye Lexmond Valencia Schoonhoven Busse Thimphu Basildon, Berkshire Speising Yatakala Runkel Koltur Accra Kolmane Brakel Corringham, Essex Heiligenstadt Albany Hacking Ayourou Whalley Newnham Murren Chamberlain Salisbury Lune River Zwiesel Kelmscott Knoxville Marbella Santa Cruz de Tenerife Tiel Vientiane Khmelnytskyi Weilburg Astana Worcester Brok New Bradwell Bubaque Nassau Ronneburg Algiers Dellys Baton Rouge Shuyskoye, Vologda Oblast South Tarawa Zwolle Villmar Tortuguero Loenen aan de Vecht Cape Town Vuotso Glen Cove Yli-Olhava Dodewaard Donetsk Maarssen Bamako Huelva Brookville, Nova Scotia Bourne End Khartoum Penzing Tunxdorf Luxembourg Ochten Kinderdijk Palojoensuu Kastelorizo Castro Marim Municipality Minsk Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Nantucket Málaga Monschau Połaniec Mankila Arkhangelovka Glazovka Dargol Elche Köngäs Athlunkard Bangui Singapore Brussels Fox River, Nova Scotia Eschweiler Paesens-Moddergat Ngerulmud Rhoda Island Hoofdplaat Clausthal Ciechanowiec Marlow Caversham, Berkshire Nukunonu Kathmandu Moulsford Oost-Vlieland Göttingen Bumba, Democratic Republic of the Congo Maidenhead Scharsterbrug Matankari Wervershoof Méhana Carabane Kashira Bosso St Mary Hoo Vienna Leixlip Inagh Youri Copenhagen Motril Tepasto Deest Puttershoek Tamou Cairo Arkhipovka Cricklade Nuremberg Iffley Stoneleigh Elleholm Sinder Wraysbury Termunten Bochum Rossum, Gelderland Kessel Blanchland Innsbruck Twickenham Spencer's Island Laleham Y Felinheli Aumenau Waarde Bray Neuses Nicosia Sambéra Wolvercote Eastern Tickle Jan Mayen Bern 's-Gravendeel Muonio Tounouga Harikanassou Fabidji Kingston upon Thames Nantes Niamey Alcobaça, Portugal Houghton, Cambridgeshire Taplow Warsaw Vologda Zutphen Heinenoord Callao Tipaza Higham, Kent Podgorica Carlton Honiara Thénia Delft De Cocksdorp Łomianki Dessau-Roßlau Peniche Staines-upon-Thames Chétimari Prenzlau Kaukonen Nampho Rotterdam Centrum Beetz Marken Rodaun Ellewoutsdijk Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Ramsberg am Brombachsee Paramaribo Chișinău Almonte Georgetown Cookham St Neots Foča Bagdad, Tamaulipas Medmenham Amini Kozienice Purley on Thames Treuchtlingen Osney Awala-Yalimapo Ameide Ljubljana Metković Rabat Dungass Skopje Vigo Suva Andijk Dartford Bichura Birni N'Gaouré Manoka Vingt Cinq Sandford-on-Thames Nouakchott Bratislava Budapest Otley Little Wittenham Say Old Windsor Werkendam Panama City Arrecife Tikkaperä Anuchino Dogo Phnom Penh Chertsey Aktobe Gorinchem Freetown Sorbon Haoussa Gaden bei Pförring Datchet Twillingate Madrid Kuttura Colombo Wasserburg am Inn Antonovka Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Reimerswaal Kazakevichevo Feldkirch Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Wigan Bandé Conakry Philip Point Cires Kourteye Kempston Bissau Guernsey Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Port Greville Unterwurmbach Bogoslovka Mijas Culham Bujumbura Nizhnie Luzhki Novorossiyka Stanford-le-Hope Aurovka Kuybyshev Almería Salzburg Chalk, Kent Shepperton Perm Sidi Daoud Cádiz Dessa Solec Kujawski Greenhithe Littleport Raattama Fraserville, Nova Scotia N'Dounga Merseburg Borssele Gothèye Niulakita Mügeln Almere Haven Krimpen aan de Lek Malé West-Terschelling Brackley Khabarovsk Wytham Weesp Skikda Yankton Kollo Banevurovo Anzourou Allhallows Wolverton Mogadishu Munich Yampupata Ettling Gunzenhausen Canning Town Tima Wyszogród Hütteldorf Łochów Erfurt Kahlenbergerdorf Moroni Salé Maseru Termunterzijl North Stoke, Oxfordshire Athenry Tillabéri Washington, D.C. Alblasserdam Mykolaiv Abbeyfeale Hadersdorf-Weidlingau Damascus Winterthur Bangkok Tikhmenevo Lorrha Southport Essaouira Sunbury-on-Thames Canary Islands Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Caravela Juba West Tilbury Neuwaldegg Dishoek Perim Havelse Demmin South Stoke, Oxfordshire Gravesend Dorney Lechlade Maó-Mahón Port Vila Boumerdès Godmanchester Oud-Beijerland Kinsale Aldeburgh Dreumel Benson, Oxfordshire Ciechocinek West Thurrock Vaghena Island Dornbach Lima Malawa Ankara Falmey Cliffe, Kent Clifton Hampden Rennes Pierre Northfleet Gougane Barra Moscow Ulm Funafala Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Vestmannaeyjar Champ d'Asile Brest Huizen Guilladjé Saint Paul Vuren Ydrefors Wargrave Bankilaré Wyszków Gaya Remenham Bonn A Coruña Rotterdam Thames Ditton Karma Killorglin Reykjavík Baryshevo Rixensart Bandar Seri Begawan Victoria Oosterdijk, Enkhuizen Kupiškis Ruo Pescara Karlsruhe Gorouol Juliusplate Labasa Venetpalo Easter Island Windsor Filingué Palma Beirut Ueckermünde Mongewell Apia Kilrush Palmyra Atoll Teddington Goring-on-Thames Milton Keynes Stony Stratford Sliedrecht Beloyarovo Wallingford Sutton Courtenay Sachs Harbour San Cristóbal de La Laguna Addlestone Isleworth Novi Sad Stone, Kent Baden-Baden Vilnius Binsey, Oxfordshire Orlinoye Bitinkodji Burcot, Oxfordshire Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Zurich, Friesland Lobsing Breukelen Oranje, Drenthe Tarifa Canberra Kouré Bad Berka Aunu'u Streatley, Berkshire Gueskérou Little Thurrock Tolyatti Kleszczele Namaro Pappenheim Czyżew Arzew Shiplake Glin Aachen Passau Argunskoye Abramovka Too Good Arm Hambleden Brockham Barra de Potosí Killaloe, County Clare Birgitz Hampton Wick Greenwich Bishop's Waltham Sheremetyevo Kirtachi Prague
Prague, Moscow and Madrid are situated close to approximately the same number of still waterss or bodies of water as Culham
Prague Moscow Madrid
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Culham
relation located next to body of water
type still waters
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?m WHERE { { ?m property:located_next_to_body_of_water ?k . ?m rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:still_waters } UNION { ?m property:located_next_to_body_of_water ?k . ?m rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:body_of_water } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Culham property:located_next_to_body_of_water ?o . { VALUES ( ?j ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?o rdf:type ?j } } } . FILTER ( ?i = ?b ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q502209
P190
Q515
USER
Are Hōfu twin town of those administrative territories ?
(Q502209,P190,Q1085) (Q502209,P190,Q649) (Q502209,P190,Q2807)
action is_in
entity prev_answer
action find
entity Q502209
relation P190
['Q502209', 'P190', 'Q1085'] ['Q502209', 'P190', 'Q649'] ['Q502209', 'P190', 'Q2807']
ASK WHERE { resource:Q502209 property:P190 ?b . VALUES ( ?b ) { ( resource:Q165736 ) ( resource:Q3579 ) ( resource:Q991950 ) } }
Hōfu
action is_in
entity prev_answer
action find
entity Hōfu
relation sister city
['Hōfu', 'sister city', 'Prague'] ['Hōfu', 'sister city', 'Moscow'] ['Hōfu', 'sister city', 'Madrid']
ASK WHERE { resource:Hōfu property:sister_city ?b . VALUES ( ?b ) { ( resource:Doesburg ) ( resource:Tripoli ) ( resource:Karczew ) } }
[]
city
SYSTEM
NO
(Q502209,P190,Q1085) (Q502209,P190,Q649) (Q502209,P190,Q2807)
action is_in
entity prev_answer
action find
entity Q502209
relation P190
[ANSWER]
['Q502209', 'P190', 'Q1085'] ['Q502209', 'P190', 'Q649'] ['Q502209', 'P190', 'Q2807']
ASK WHERE { resource:Q502209 property:P190 ?b . VALUES ( ?b ) { ( resource:Q165736 ) ( resource:Q3579 ) ( resource:Q991950 ) } }
No
action is_in
entity prev_answer
action find
entity Hōfu
relation sister city
['Hōfu', 'sister city', 'Prague'] ['Hōfu', 'sister city', 'Moscow'] ['Hōfu', 'sister city', 'Madrid']
ASK WHERE { resource:Hōfu property:sister_city ?b . VALUES ( ?b ) { ( resource:Doesburg ) ( resource:Tripoli ) ( resource:Karczew ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3820 Q2807
P937
Q502895
USER
Which people have Madrid and Beirut as work location ?
AND((c(Q502895),P937,Q2807), (c(Q502895),P937,Q3820))
action filter_type
action intersection
action find_reverse
entity Q2807
relation P937
action find_reverse
entity Q3820
relation P937
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q2807'], [{'concept': 'Q502895'}, 'P937', 'Q3820']]}
SELECT DISTINCT ?m WHERE { ?m property:P937 resource:Q2807 . ?m property:P937 resource:Q3820 . ?m rdf:type ontology:Q502895 }
Beirut Madrid
action filter_type
action intersection
action find_reverse
entity Madrid
relation work location
action find_reverse
entity Beirut
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Madrid'], [{'concept': 'common name'}, 'work location', 'Beirut']]}
SELECT DISTINCT ?m WHERE { ?m property:work_location resource:Madrid . ?m property:work_location resource:Beirut . ?m rdf:type ontology:common_name }
[]
common name
Q124659
SYSTEM
Arnold Hottinger
Q124659
AND((c(Q502895),P937,Q2807), (c(Q502895),P937,Q3820))
action filter_type
action intersection
action find_reverse
entity Q2807
relation P937
action find_reverse
entity Q3820
relation P937
type Q502895
[ANSWER] have Madrid and Beirut as work location
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q2807'], [{'concept': 'Q502895'}, 'P937', 'Q3820']]}
SELECT DISTINCT ?m WHERE { ?m property:P937 resource:Q2807 . ?m property:P937 resource:Q3820 . ?m rdf:type ontology:Q502895 }
Arnold Hottinger
Arnold Hottinger have Madrid and Beirut as work location
Arnold Hottinger
action filter_type
action intersection
action find_reverse
entity Madrid
relation work location
action find_reverse
entity Beirut
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Madrid'], [{'concept': 'common name'}, 'work location', 'Beirut']]}
SELECT DISTINCT ?m WHERE { ?m property:work_location resource:Madrid . ?m property:work_location resource:Beirut . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q922948
P1376 P17
Q20667921
USER
Which french administrative divisions are center of administration for canton of Saint-Cyr-l'École and are present in France ?
AND((c(Q20667921),P1376,Q922948), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q922948
relation P1376
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P1376', 'Q922948'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q922948 . ?w property:P17 resource:Q142 . ?w rdf:type ontology:Q20667921 }
France canton of Saint-Cyr-l'École
action filter_type
action intersection
action find_reverse
entity canton of Saint-Cyr-l'École
relation capital of
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'capital of', "canton of Saint-Cyr-l'École"], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:canton_of_Saint-Cyr-l'École . ?w property:country resource:France . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q112683
SYSTEM
Saint-Cyr-l'École
Q112683
AND((c(Q20667921),P1376,Q922948), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q922948
relation P1376
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWER] is center of administration for canton of [ANSWER] and is present in France
{'AND': [[{'concept': 'Q20667921'}, 'P1376', 'Q922948'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q922948 . ?w property:P17 resource:Q142 . ?w rdf:type ontology:Q20667921 }
Saint-Cyr-l'École
Saint-Cyr-l'École is center of administration for canton of Saint-Cyr-l'École and is present in France
Saint-Cyr-l'École
action filter_type
action intersection
action find_reverse
entity canton of Saint-Cyr-l'École
relation capital of
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'capital of', "canton of Saint-Cyr-l'École"], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:canton_of_Saint-Cyr-l'École . ?w property:country resource:France . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q112683
P20
Q502895
USER
Who died in that french administrative division ?
(c(Q502895),P20,Q112683)
action filter_type
action find_reverse
entity Q112683
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q112683']
SELECT DISTINCT ?w WHERE { ?w property:P20 resource:Q112683 . ?w rdf:type ontology:Q502895 }
Saint-Cyr-l'École
action filter_type
action find_reverse
entity Saint-Cyr-l'École
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', "Saint-Cyr-l'École"]
SELECT DISTINCT ?w WHERE { ?w property:place_of_death resource:Saint-Cyr-l'École . ?w rdf:type ontology:common_name }
[]
common name
Q230670 Q22009184 Q637766
SYSTEM
Françoise d'Aubigné, Marquise de Maintenon, Andrée Pollier, Marie Jules César Savigny
Q230670 Q22009184 Q637766
(c(Q502895),P20,Q112683)
action filter_type
action find_reverse
entity Q112683
relation P20
type Q502895
[ANSWERS] died in that french administrative division
[{'concept': 'Q502895'}, 'P20', 'Q112683']
SELECT DISTINCT ?w WHERE { ?w property:P20 resource:Q112683 . ?w rdf:type ontology:Q502895 }
Françoise d'Aubigné, Marquise de Maintenon Andrée Pollier Marie Jules César Savigny
Françoise d'Aubigné, Marquise de Maintenon, Andrée Pollier and Marie Jules César Savigny died in that french administrative division
Françoise d'Aubigné, Marquise de Maintenon Andrée Pollier Marie Jules César Savigny
action filter_type
action find_reverse
entity Saint-Cyr-l'École
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', "Saint-Cyr-l'École"]
SELECT DISTINCT ?w WHERE { ?w property:place_of_death resource:Saint-Cyr-l'École . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22009184
P21
Q290
USER
Which sex does that person have ?
(Q22009184,P21,c(Q290))
action filter_type
action find
entity Q22009184
relation P21
type Q290
['Q22009184', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q22009184 property:P21 ?o }
Andrée Pollier
action filter_type
action find
entity Andrée Pollier
relation gender
type sex
['Andrée Pollier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Andrée_Pollier property:gender ?o }
[]
sex
Clarification for simple ques.
Q637766
SYSTEM
Did you mean Marie Jules César Savigny ?
Q230670 Q22009184 Q637766
(Q230670,P21,c(Q290)) (Q22009184,P21,c(Q290)) (Q637766,P21,c(Q290))
[ANSWER]
['Q230670', 'P21', {'concept': 'Q290'}] ['Q22009184', 'P21', {'concept': 'Q290'}] ['Q637766', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q22009184 property:P21 ?o }
Françoise d'Aubigné, Marquise de Maintenon Andrée Pollier Marie Jules César Savigny
Did you mean Marie Jules César Savigny ?
Marie Jules César Savigny
["Françoise d'Aubigné, Marquise de Maintenon", 'gender', {'concept': 'sex'}] ['Andrée Pollier', 'gender', {'concept': 'sex'}] ['Marie Jules César Savigny', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Andrée_Pollier property:gender ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Andrée Pollier. Could you tell me the answer for that?
(Q22009184,P21,c(Q290))
Q22009184
['Q22009184', 'P21', {'concept': 'Q290'}]
['Andrée Pollier', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q22009184,P21,c(Q290))
action filter_type
action find
entity Q22009184
relation P21
type Q290
That person has a [ANSWER]
['Q22009184', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q22009184 property:P21 ?o }
female
That person has a female
female
action filter_type
action find
entity Andrée Pollier
relation gender
type sex
['Andrée Pollier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Andrée_Pollier property:gender ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q17426721
P21
Q502895
USER
Is Margarita Doktorova a that sex ?
(Q17426721,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q17426721
relation P21
['Q17426721', 'P21', 'Q6581072']
ASK WHERE { resource:Q17426721 property:P21 resource:Q6581072 }
female Margarita Doktorova
action is_in
entity female
action find
entity Margarita Doktorova
relation gender
['Margarita Doktorova', 'gender', 'female']
ASK WHERE { resource:Margarita_Doktorova property:gender resource:female }
[]
common name
SYSTEM
YES
(Q17426721,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q17426721
relation P21
[ANSWER]
['Q17426721', 'P21', 'Q6581072']
ASK WHERE { resource:Q17426721 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Margarita Doktorova
relation gender
['Margarita Doktorova', 'gender', 'female']
ASK WHERE { resource:Margarita_Doktorova property:gender resource:female }
[]