Simple Question (Direct)
Simple Question
Q6142185
P27
Q15617994
USER
Which administrative territory does James Robb belong to ?
(Q6142185,P27,c(Q15617994))
action filter_type
action find
entity Q6142185
relation P27
type Q15617994
['Q6142185', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q6142185 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
James Robb
action filter_type
action find
entity James Robb
relation country of citizenship
type designation for an administrative territorial entity
['James Robb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:James_Robb property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6142185,P27,c(Q15617994))
action filter_type
action find
entity Q6142185
relation P27
type Q15617994
James Robb belongs to [ANSWER]
['Q6142185', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q6142185 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
James Robb belongs to United States of America
United States of America
action filter_type
action find
entity James Robb
relation country of citizenship
type designation for an administrative territorial entity
['James Robb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:James_Robb property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6142185
P140
Q879146
USER
What is the religion associated with that person ?
(Q30,P140,c(Q879146))
action filter_type
action find
entity Q6142185
relation P140
type Q879146
['Q30', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q6142185 property:P140 ?y . ?y rdf:type ontology:Q879146 }
James Robb
action filter_type
action find
entity James Robb
relation religion
type Christian denomination
['United States of America', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:James_Robb property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q30,P140,c(Q879146))
action filter_type
action find
entity Q6142185
relation P140
type Q879146
The religion associated with that person is a [ANSWER]
['Q30', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q6142185 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with that person is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity James Robb
relation religion
type Christian denomination
['United States of America', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:James_Robb property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P19
Q15619164 Q12737077
USER
How many abstract beings and occupations have place of birth as United States of America ?
(c(Q15619164),P19,Q30) (c(Q12737077),P19,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P19
type Q15619164
action filter_type
action find_reverse
entity Q30
relation P19
type Q12737077
[{'concept': 'Q15619164'}, 'P19', 'Q30'] [{'concept': 'Q12737077'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15619164 ) ( ontology:Q12737077 ) } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of birth
type abstract being
action filter_type
action find_reverse
entity United States of America
relation place of birth
type occupation
[{'concept': 'abstract being'}, 'place of birth', 'United States of America'] [{'concept': 'occupation'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:abstract_being ) ( ontology:occupation ) } }
[]
abstract being occupation
SYSTEM
4 abstract beings and 1 occupations
Q2355125 Q7130171 Q4383562 Q2479366 Q4386168
(c(Q15619164),P19,Q30) (c(Q12737077),P19,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P19
type Q15619164
action filter_type
action find_reverse
entity Q30
relation P19
type Q12737077
[ANSWER]
[{'concept': 'Q15619164'}, 'P19', 'Q30'] [{'concept': 'Q12737077'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15619164 ) ( ontology:Q12737077 ) } }
Rufus Panbanisha Crimson Viper Balrog Rolento
4 abstract beings and 1 occupations
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of birth
type abstract being
action filter_type
action find_reverse
entity United States of America
relation place of birth
type occupation
[{'concept': 'abstract being'}, 'place of birth', 'United States of America'] [{'concept': 'occupation'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:abstract_being ) ( ontology:occupation ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q879146 Q102496
USER
How many parishes are parts of atmost 1 Christian denomination ?
(c(Q102496),P361,c(Q879146))
action count
action atmost
action find_tuple_counts
relation P361
type Q102496
type Q879146
value 1
[{'concept': 'Q102496'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?b ) WHERE { ?k property:P361 ?w . ?w rdf:type ontology:Q879146 . ?k rdf:type ontology:Q102496 } GROUP BY ?k } . FILTER ( ?b <= 1 ) }
action count
action atmost
action find_tuple_counts
relation part of
type parish
type Christian denomination
value 1
[{'concept': 'parish'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?b ) WHERE { ?k property:part_of ?w . ?w rdf:type ontology:Christian_denomination . ?k rdf:type ontology:parish } GROUP BY ?k } . FILTER ( ?b <= 1 ) }
[]
Christian denomination parish
SYSTEM
553
Q290875 Q1769359 Q2613269 Q2582805 Q2588705 Q2572334 Q2391152 Q968024 Q2097775 Q1823104 Q2572338 Q2740231 Q2662712 Q2437575 Q2911379 Q2351482 Q614726 Q12340613 Q2118952 Q1892942 Q2507804 Q2176700 Q10416874 Q2514192 Q2626166 Q2655414 Q2751589 Q2355667 Q12339290 Q3234773 Q3135836 Q2149580 Q1258980 Q2129095 Q12325850 Q11023736 Q507601 Q774936 Q2079771 Q2481393 Q2483297 Q2393065 Q2131054 Q2284613 Q2264277 Q2649538 Q2639570 Q2476836 Q3507054 Q5109367 Q2705008 Q3329711 Q1984508 Q2803116 Q2662429 Q2705224 Q3443786 Q1845444 Q2291523 Q3068522 Q2206505 Q645546 Q2786520 Q2633464 Q995643 Q3084523 Q5213707 Q125745 Q2708285 Q1859074 Q2194612 Q898970 Q3077731 Q813953 Q2137217 Q2151033 Q2179770 Q938355 Q2334433 Q2631781 Q2594043 Q2717040 Q2499288 Q2769730 Q1884721 Q1973745 Q956221 Q2226915 Q2231508 Q2067739 Q2349856 Q2762322 Q2705420 Q1829402 Q2008173 Q3385864 Q12302251 Q3347766 Q3198300 Q2352545 Q663868 Q2046211 Q3238737 Q2150691 Q2082579 Q2712139 Q1823962 Q2608224 Q4385434 Q4979217 Q1809522 Q2272483 Q4489821 Q2264999 Q1898007 Q2741634 Q2273227 Q11036556 Q569756 Q2288457 Q2594464 Q3961736 Q2201689 Q2564978 Q1902592 Q2472436 Q2919714 Q890319 Q1996492 Q2148742 Q2380790 Q2681447 Q2214872 Q4638376 Q558480 Q122227 Q2047008 Q2358313 Q2503848 Q2221130 Q2678468 Q671929 Q577043 Q2585176 Q5278603 Q2025425 Q1927648 Q12329639 Q2370557 Q2121246 Q2342935 Q8316055 Q2839459 Q2423064 Q690545 Q1941710 Q2621476 Q1863443 Q2195223 Q1946733 Q1816554 Q2707538 Q2215971 Q3240689 Q2689765 Q485084 Q2800230 Q2364564 Q2754908 Q11022408 Q2800621 Q323651 Q2232480 Q2001753 Q2490671 Q2406110 Q10615166 Q2452848 Q3312340 Q830150 Q1915161 Q2304370 Q2022092 Q2178985 Q821880 Q2682519 Q2324125 Q2237714 Q1894450 Q2676383 Q2481475 Q1951805 Q2400072 Q12303601 Q734014 Q2623002 Q1890286 Q2101264 Q2274162 Q4503244 Q2160955 Q1971613 Q2688813 Q2452351 Q1890443 Q2347331 Q2854233 Q2886757 Q2594450 Q2548498 Q590885 Q2313559 Q2051724 Q2203030 Q1959465 Q2369215 Q4403084 Q2570342 Q2684851 Q1398978 Q2537926 Q4848093 Q2167022 Q1911742 Q2174636 Q459091 Q2462842 Q1896072 Q3255676 Q5063670 Q2517202 Q2197885 Q837324 Q643704 Q2048583 Q2356780 Q5020210 Q3246248 Q2673725 Q2366622 Q2202307 Q12314280 Q4638325 Q12340554 Q2184172 Q2404110 Q4524213 Q4991797 Q2725367 Q2538273 Q1882431 Q2692021 Q2742342 Q2076562 Q2259205 Q2080469 Q120238 Q2421606 Q2417916 Q137603 Q2287721 Q2188559 Q2840481 Q2273622 Q3073717 Q2510522 Q2162438 Q2169678 Q2282448 Q513181 Q1332181 Q3336725 Q2499129 Q2886791 Q1954065 Q1900718 Q138654 Q2542113 Q2566113 Q2238819 Q2076339 Q12341079 Q2446063 Q4403896 Q14594658 Q2563946 Q2142604 Q2184051 Q2120592 Q2244632 Q2120927 Q2739253 Q2631226 Q4286996 Q2114627 Q2024219 Q2797718 Q2144670 Q2665750 Q2434410 Q2518576 Q2136527 Q2254902 Q2068413 Q2072956 Q1878846 Q3066143 Q2252366 Q2211968 Q935685 Q2421858 Q2788619 Q2614213 Q2914325 Q2755348 Q2563608 Q1813514 Q2903782 Q2931431 Q2100476 Q1171021 Q2753162 Q2491287 Q1914978 Q2052022 Q2325727 Q2141027 Q1825370 Q1835655 Q2049250 Q2538975 Q2063744 Q2297881 Q5738159 Q2190401 Q2725855 Q2522292 Q1994520 Q2083595 Q8728593 Q516423 Q2993303 Q2544252 Q2046401 Q2054592 Q2265080 Q2924267 Q1625117 Q1625114 Q2490022 Q524938 Q3940698 Q2673915 Q1922474 Q2677649 Q1879744 Q2529844 Q2609875 Q2955983 Q1951339 Q2401447 Q1857348 Q2191583 Q2692703 Q10717828 Q2050602 Q2401212 Q2470800 Q2208248 Q3298499 Q2584907 Q2222309 Q11028283 Q1958228 Q2193406 Q2191274 Q2125140 Q2678441 Q1947713 Q2285543 Q3193087 Q1977011 Q3913026 Q1816440 Q2481352 Q1885279 Q2149555 Q11014061 Q5541128 Q3223919 Q1652006 Q2872591 Q1367798 Q2106386 Q1958245 Q2322441 Q2785841 Q2581027 Q2234726 Q132010 Q4372692 Q1525467 Q2689879 Q4433602 Q2167469 Q2008720 Q971604 Q1978334 Q1932796 Q5298493 Q1999904 Q2446273 Q2687166 Q2442507 Q2431911 Q2404870 Q2083734 Q2082393 Q2034401 Q647853 Q2195014 Q12302394 Q2162153 Q2613653 Q2604193 Q10541120 Q2352606 Q1837915 Q2397387 Q1932011 Q1970063 Q2680194 Q1924041 Q1967639 Q2648533 Q1915964 Q2679761 Q3079249 Q2315013 Q323703 Q2098805 Q1824641 Q5078181 Q2457781 Q5195654 Q2920337 Q847894 Q2282842 Q2375080 Q1877294 Q2002513 Q1946055 Q3129762 Q2864946 Q1919687 Q1884196 Q1162621 Q2362135 Q3588994 Q2337723 Q2533870 Q2445633 Q2584870 Q630207 Q2615187 Q2236082 Q2150712 Q2569081 Q2105715 Q3254646 Q2920899 Q1954229 Q2834286 Q655148 Q1912249 Q12303347 Q649029 Q11028069 Q2415024 Q2366569 Q1904925 Q2534023 Q12340622 Q24045780 Q2284962 Q1817670 Q2880252 Q2198794 Q2297936 Q2424981 Q1897675 Q2856025 Q2583378 Q2802590 Q2133391 Q2420661 Q571735 Q1945315 Q2340151 Q2321668 Q3409846 Q2201183 Q2016423 Q4376457 Q531129 Q2373217 Q3520394 Q2481514 Q2761608 Q2189539 Q19978722 Q2691774 Q973249 Q2646495 Q2724799 Q2055368 Q2123950 Q2780375 Q3284624 Q2129629 Q12315117 Q2002360 Q339523 Q1923340 Q2183849 Q2989492 Q2849881 Q2483153 Q2654600 Q2923462 Q3255992 Q1914130 Q1979846 Q2794399 Q2745772 Q4447357 Q585286 Q2785176 Q2220264 Q2526404 Q3218800 Q1995364 Q1822877 Q2009588 Q2618836 Q1823377 Q2373620 Q1167382 Q2626603 Q1955525 Q1954297 Q2014614 Q2146971
(c(Q102496),P361,c(Q879146))
action count
action atmost
action find_tuple_counts
relation P361
type Q102496
type Q879146
value 1
[ANSWER]
[{'concept': 'Q102496'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?b ) WHERE { ?k property:P361 ?w . ?w rdf:type ontology:Q879146 . ?k rdf:type ontology:Q102496 } GROUP BY ?k } . FILTER ( ?b <= 1 ) }
Kimmerslev Sogn Aaby Vust Skals Hvilsom Rakkeby Viborg Domsogn Skivum parish Flade Ranum Heltborg Kvols Durup Grønning Lild Hoed Tapdrup Veggerslev Dommerby Klitmøller Harre Kåstrup Araslöv parish Hunstrup Krejbjerg Vammen Tolne Nørholm Thorning Skræm Romlund Skibsted Drigstrup Sogn Raklev Mammen Louns Lundø Næsborg Almind Ørding Hjortdal Hadsund Sogn Lyngsaa Hjallerup Nautrup Åsted Dollerup Reerslev Sogn Dølby Hans Egedes Tjele Vrå Lee Lindholm Hørmested Sønderup Parish Glesborg Vinderslev Nørre Galten parish Vejby Junget Grynderup Haverslev Visby Bråby Sogn Enslev Bælum Sakskøbing Hemmet Allinge-Sandvig Parish Veggerby Brarup Sogn Løgstør Bedsted Sogn Lindum Lodbjerg Lerup Sejerslev Astrup Tødsø Borum Hyllebjerg Lyby Ljørslev Mou Hellum Alstrup Vejrum Budolfi Erslev Vester Hjermitslev Store Brøndum Nørresundby Låstrup Hasseris Sebber Arup Skagen Døstrup Hadsten Sogn Ovtrup Skyum Ulsted Otting Granslev Hørby Lødderup Jetsmark Sønder Kongerslev Sjørslev Bjerring Houlbjerg Øster Assels Als Klejtrup Viskum Albæk Grurup Ansgars Sogn Blenstrup Elling Svostrup Sørig Aså Ørum Komdrup Balling Boeslunde Hvidbjerg Sindal Vinkel Helligsø Tranum Karby Bov Sogn Strøby Anholt Sønder Vinge Hammer Roslev Gudum Volling Svingelbjerg Sinding Vorde Boddum Vig parish Sparkær Svanninge Sogn Gerning Skivholme parish Tvilum Sennels Vester Hornum Farup Sogn Hune Aidt Nørbæk Klarup Vester Tostrup Hjerk Ørum Storarden Lyngby Sankt Markus Ginnerup Hvam Vester Vandet Skjoldborg Elsborg Lysgård Hjordkær parish Voer Brorstrup Horne Skelund Pajala parish Volsted Fur Besser Sogn Vejerslev Gullev Bigum Homå Nustrup Sogn Daugbjerg Råbjerg Tårup Frejlev Solbjerg Vroue Langenæs Skærum Bislev Gundersted Gøttrup Østerbølle Vindblæs Vridsted Sønder Tranders Vesterkær Jebjerg Thisted Hammershøj Ejdrup Sjørring Vorning Vester Hassing Aars Gødvad Vetterslev Sogn Fjelsø Hørsted Aggersborg Villerslev Sejling Hørby Stoholm Rostrup Faxe Sogn Ræhr Lihme Dorf Sønderbæk Harring Møgeltønder Bjergby Karup Nykøbing M Vokslev Hjardemål Advent Parish Højer Sogn Lyderslev Sogn Oudrup Gåser Glyngøre Tinglev Sogn Galtrup Skallerup Vester Torup Grenaa Husumvold Vang Ørum Ravnkilde Bindslev Sønderholm Storvorde Sejlflod Blære Lemming Thorum Snedsted Jelstrup Øls Dreslette Vrensted Hirtshals Væggerløse Sogn Bangsbostrand Kastbjerg Ørslevkloster Overlade Højbjerg Frederikshavn Øster Hornum Godthåb Finderup Ramsing Ellinge Svenstrup Flade Torsted Gerding Visborg Kirke Hvalsø Hansted Skallerup Tyrsted Hem Villingerød parish Alsted Vadum Vittangi församling Hørup Gunderup Egeris Engesvang Ejerslev Søndre Sall Oddense Vorupør Vester Velling Suldrup Bistrup Mønsted Vindum Haverslev Dall Mårup Smollerup Torup Kragelund Lyngs Malle Horsens Harritslev Hjermind Skjern Nøvling Jegindø Ulstrupbro Mygdal Ajstrup Holmen Parish Fly Skæve Lillevorde Kølstrup Sogn Oue Sundby Alstrup Brovst Uggerby Margrethe Bejstrup Giver Rødding Lyngby Tise Vognsild Rødding Tamdrup Kornum Kettrup Vor Frelser Virklund Parish Ullits Asdal Sønderhå Hallund Hornbæk Ellidshøj Salling Biersted Holsted Sogn Holsted Sogn (Næstved) Lendum Saint Michaels Parish Aaby Sankt Olai Torsted Løgsted Hemmed Vodder Sogn Vesløs Roum Hinge Gjerrild Elsø Rørbæk Tved Parish in the Diocese of Västerås Fagersta Municipality in Västmanland, Sweden Vrejlev Lundby Hørdum Brøndum Bjerringbro Øster Hassing Sankt Markus Understed Mølholm Øster Velling Skinnerup Ingstrup Hurup Gedsted Tolstrup Rakkeby Vile Lønborg (parish) Albøge Kvorning Durup Gettrup Jannerup Ørum Hellevad Højelse Sogn Ugilt Eskilstrup Sogn Vilsted Mørkøv Stenild Vedsted Helstrup Tøndering Røsnæs Dragstrup Reerslev Sogn Villersø Hvorup Tversted Fovlum Læsten Mosbjerg Haurum Aalestrup Kvissel Karup Blidstrup Hals Sahl Solbjerg Siem Kongens Tisted Hillerslev Saltum Saint Paul Parish Astrup Gravlev Ørum Vidstrup Jukkasjärvi församling Nørre Tranders Kobberup Skjød Rimsø Agger Hundborg Sæby Grinderslev Fjellerup Ulstrup Gjøl Langå Buderup Egvad Parish Ulbjerg Grønbæk Lem Sulsted Farstrup Strandby Sengeløse Sogn Skive Kallerup Funder Havbro Øland Østerild Rold Hvidbjerg Vesten Å Vejrum Karlslunde Levring Hvorslev Valsgaard Vestervig Vigsø Aarestrup Skårup Sogn Nors Nørre Kongerslev Bjergby Hjorthede Håsum As Sogn Ålum Agersted Vellev Torup Mariager Parish Bethlehem, Denmark Torslev Vennebjerg Binderup Øster Vandet Tøstrup Nibe Vejerslev Historical parish of the Church of Sweden Fiskbæk Sønder Dråby Skalborg Fræer Rørdal Store Ajstrup Mariendal parish Romdrup Hulsig Tibirke Vester Assels Klim Bjernede Sogn Voldby Vejby Abildgård Løvel Vodskov Karlby Nørre Vinge Avilés Grensten Pederstrup Simested Rubjerg Mollerup Sundbyberg parish Tånum Jørsby Stagstrup Selde Frøslev Rybjerg Redsted Søndbjerg Gislum Hammelev Resen Humble Parish Hvidbjerg Bedsted Vejgaard Thise Odby Øster Jølby Galten parish Nørhå Kollerup Lynderup Hvidbjerg Vester Bjerregrav Vebbestrup Øsløs Tømmerby Tilsted Holmsland Klit Serup Hersom Ravnstrup Tornby Testrup Tæbring Frederiks Sankt Jørgensbjerg Gærum Thorsø Højslev Torslev Øster Svenstrup
553
action count
action atmost
action find_tuple_counts
relation part of
type parish
type Christian denomination
value 1
[{'concept': 'parish'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?b ) WHERE { ?k property:part_of ?w . ?w rdf:type ontology:Christian_denomination . ?k rdf:type ontology:parish } GROUP BY ?k } . FILTER ( ?b <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q879146 Q2342494 Q102496
USER
How many Christian denominations are approximately 1 collectables and parishes a part of ?
(c(Q2342494)|c(Q102496),P361,c(Q879146))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q2342494
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q102496'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?o WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q102496 ) } } GROUP BY ?o } }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type collectable
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
value 1
[[{'concept': 'collectable'}, {'concept': 'parish'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?o WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:parish ) } } GROUP BY ?o } }
[]
Christian denomination collectable parish
SYSTEM
2
Q749243 Q82708
(c(Q2342494)|c(Q102496),P361,c(Q879146))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q2342494
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q102496'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?o WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q102496 ) } } GROUP BY ?o } }
Church of Sweden Church of England
2
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type collectable
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
value 1
[[{'concept': 'collectable'}, {'concept': 'parish'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?o WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:parish ) } } GROUP BY ?o } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6331285
P641
Q31629
USER
Which type of sport was that person a part of ?
action filter_type
action find
entity Q6331285
relation P641
type Q31629
SELECT DISTINCT ?d WHERE { resource:Q6331285 property:P641 ?d . ?d rdf:type ontology:Q31629 }
Einar Sundén
action filter_type
action find
entity Einar Sundén
relation sport
type type of sport
SELECT DISTINCT ?d WHERE { resource:Einar_Sundén property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
action filter_type
action find
entity Q6331285
relation P641
type Q31629
The [ANSWER] was that person a part of
SELECT DISTINCT ?d WHERE { resource:Q6331285 property:P641 ?d . ?d rdf:type ontology:Q31629 }
athletics
The athletics was that person a part of
athletics
action filter_type
action find
entity Einar Sundén
relation sport
type type of sport
SELECT DISTINCT ?d WHERE { resource:Einar_Sundén property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q542 Q289665
P641
Q502895
USER
Does Etienne Gailly play that type of sport ?
(Q289665,P641,Q542)
action is_in
entity Q542
action find
entity Q289665
relation P641
['Q289665', 'P641', 'Q542']
ASK WHERE { resource:Q289665 property:P641 resource:Q542 }
athletics Etienne Gailly
action is_in
entity athletics
action find
entity Etienne Gailly
relation sport
['Etienne Gailly', 'sport', 'athletics']
ASK WHERE { resource:Etienne_Gailly property:sport resource:athletics }
[]
common name
SYSTEM
YES
(Q289665,P641,Q542)
action is_in
entity Q542
action find
entity Q289665
relation P641
[ANSWER]
['Q289665', 'P641', 'Q542']
ASK WHERE { resource:Q289665 property:P641 resource:Q542 }
Yes
action is_in
entity athletics
action find
entity Etienne Gailly
relation sport
['Etienne Gailly', 'sport', 'athletics']
ASK WHERE { resource:Etienne_Gailly property:sport resource:athletics }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14203219 Q289665
P27 P17
Q15617994
USER
Which administrative territories are Etienne Gailly an inhabitant of or are Bahi el-Din situated in ?
OR((Q289665,P27,c(Q15617994)), (Q14203219,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q289665
relation P27
action find
entity Q14203219
relation P17
type Q15617994
{'OR': [['Q289665', 'P27', {'concept': 'Q15617994'}], ['Q14203219', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q289665 property:P27 ?z } UNION { resource:Q14203219 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Bahi el-Din Etienne Gailly
action filter_type
action union
action find
entity Etienne Gailly
relation country of citizenship
action find
entity Bahi el-Din
relation country
type designation for an administrative territorial entity
{'OR': [['Etienne Gailly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bahi el-Din', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Etienne_Gailly property:country_of_citizenship ?z } UNION { resource:Bahi_el-Din property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q414 Q79
SYSTEM
Belgium, Argentina, Egypt
Q31 Q414 Q79
OR((Q289665,P27,c(Q15617994)), (Q14203219,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q289665
relation P27
action find
entity Q14203219
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q289665', 'P27', {'concept': 'Q15617994'}], ['Q14203219', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q289665 property:P27 ?z } UNION { resource:Q14203219 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Belgium Argentina Egypt
Which administrative territories are Etienne Gailly an inhabitant of or are Bahi el-Din situated in
Belgium Argentina Egypt
action filter_type
action union
action find
entity Etienne Gailly
relation country of citizenship
action find
entity Bahi el-Din
relation country
type designation for an administrative territorial entity
{'OR': [['Etienne Gailly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bahi el-Din', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Etienne_Gailly property:country_of_citizenship ?z } UNION { resource:Bahi_el-Din property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]