Simple Question (Direct)
Simple Question
Q1294163
P21
Q290
USER
Which sex does Edward Y. Parsons have ?
(Q1294163,P21,c(Q290))
action filter_type
action find
entity Q1294163
relation P21
type Q290
['Q1294163', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q1294163 property:P21 ?r }
Edward Y. Parsons
action filter_type
action find
entity Edward Y. Parsons
relation gender
type sex
['Edward Y. Parsons', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Edward_Y._Parsons property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1294163,P21,c(Q290))
action filter_type
action find
entity Q1294163
relation P21
type Q290
Edward Y. Parsons has a [ANSWER]
['Q1294163', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q1294163 property:P21 ?r }
male
Edward Y. Parsons has a male
male
action filter_type
action find
entity Edward Y. Parsons
relation gender
type sex
['Edward Y. Parsons', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Edward_Y._Parsons property:gender ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1294163
P102
Q7210356
USER
Which political organization is Edward Y. Parsons a member of ?
(Q1294163,P102,c(Q7210356))
action filter_type
action find
entity Q1294163
relation P102
type Q7210356
['Q1294163', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q1294163 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Edward Y. Parsons
action filter_type
action find
entity Edward Y. Parsons
relation member of political party
type political organization
['Edward Y. Parsons', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Edward_Y._Parsons property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1294163,P102,c(Q7210356))
action filter_type
action find
entity Q1294163
relation P102
type Q7210356
Party [ANSWER] is Edward Y. Parsons a member of
['Q1294163', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q1294163 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is Edward Y. Parsons a member of
Democratic Party
action filter_type
action find
entity Edward Y. Parsons
relation member of political party
type political organization
['Edward Y. Parsons', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Edward_Y._Parsons property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7994331 Q1294163
P27
Q15617994
USER
Which administrative territories do Edward Y. Parsons or M. S. Narayana belong to ?
OR((Q1294163,P27,c(Q15617994)), (Q7994331,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1294163
relation P27
action find
entity Q7994331
relation P27
type Q15617994
{'OR': [['Q1294163', 'P27', {'concept': 'Q15617994'}], ['Q7994331', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:P27 ?f . VALUES ( ?z ) { ( resource:Q7994331 ) ( resource:Q1294163 ) } } . ?f rdf:type ontology:Q15617994 }
M. S. Narayana Edward Y. Parsons
action filter_type
action union
action find
entity Edward Y. Parsons
relation country of citizenship
action find
entity M. S. Narayana
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edward Y. Parsons', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['M. S. Narayana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:country_of_citizenship ?f . VALUES ( ?z ) { ( resource:M._S._Narayana ) ( resource:Edward_Y._Parsons ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q668
SYSTEM
United States of America, India
Q30 Q668
OR((Q1294163,P27,c(Q15617994)), (Q7994331,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1294163
relation P27
action find
entity Q7994331
relation P27
type Q15617994
[ANSWERS] do Edward Y. Parsons or M. S. Narayana belong to
{'OR': [['Q1294163', 'P27', {'concept': 'Q15617994'}], ['Q7994331', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:P27 ?f . VALUES ( ?z ) { ( resource:Q7994331 ) ( resource:Q1294163 ) } } . ?f rdf:type ontology:Q15617994 }
United States of America India
United States of America and India do Edward Y. Parsons or M. S. Narayana belong to
United States of America India
action filter_type
action union
action find
entity Edward Y. Parsons
relation country of citizenship
action find
entity M. S. Narayana
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edward Y. Parsons', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['M. S. Narayana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?z property:country_of_citizenship ?f . VALUES ( ?z ) { ( resource:M._S._Narayana ) ( resource:Edward_Y._Parsons ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q668
P30
Q2221906
USER
Which geographic locations are United States of America and India situated in ?
(Q30,P30,c(Q2221906)) (Q668,P30,c(Q2221906))
action union
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q668
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q668', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { { resource:Q30 property:P30 ?p . ?p rdf:type ontology:Q2221906 } UNION { resource:Q668 property:P30 ?p . ?p rdf:type ontology:Q2221906 } }
United States of America India
action union
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity India
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['India', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { { resource:United_States_of_America property:continent ?p . ?p rdf:type ontology:geographic_location } UNION { resource:India property:continent ?p . ?p rdf:type ontology:geographic_location } }
[]
geographic location
Q538 Q49 Q48
SYSTEM
Oceania, North America, Asia
Q538 Q49 Q48
(Q30,P30,c(Q2221906)) (Q668,P30,c(Q2221906))
action union
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q668
relation P30
type Q2221906
United States of America and India are situated in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q668', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { { resource:Q30 property:P30 ?p . ?p rdf:type ontology:Q2221906 } UNION { resource:Q668 property:P30 ?p . ?p rdf:type ontology:Q2221906 } }
Oceania North America Asia
United States of America and India are situated in Oceania, North America and Asia
Oceania North America Asia
action union
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity India
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['India', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { { resource:United_States_of_America property:continent ?p . ?p rdf:type ontology:geographic_location } UNION { resource:India property:continent ?p . ?p rdf:type ontology:geographic_location } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q538
P840
Q15850590
USER
Which theatrical genre has its setting located at that geographic location ?
(c(Q15850590),P840,Q538)
action filter_type
action find_reverse
entity Q538
relation P840
type Q15850590
[{'concept': 'Q15850590'}, 'P840', 'Q538']
SELECT DISTINCT ?z WHERE { ?z property:P840 resource:Q538 . ?z rdf:type ontology:Q15850590 }
Oceania
action filter_type
action find_reverse
entity Oceania
relation narrative location
type theatrical genre
[{'concept': 'theatrical genre'}, 'narrative location', 'Oceania']
SELECT DISTINCT ?z WHERE { ?z property:narrative_location resource:Oceania . ?z rdf:type ontology:theatrical_genre }
[]
theatrical genre
Clarification for simple ques.
Q49
SYSTEM
Did you mean North America ?
Q538 Q49 Q48
(c(Q15850590),P840,Q538) (c(Q15850590),P840,Q49) (c(Q15850590),P840,Q48)
[ANSWER]
[{'concept': 'Q15850590'}, 'P840', 'Q538'] [{'concept': 'Q15850590'}, 'P840', 'Q49'] [{'concept': 'Q15850590'}, 'P840', 'Q48']
SELECT DISTINCT ?z WHERE { ?z property:P840 resource:Q538 . ?z rdf:type ontology:Q15850590 }
Oceania North America Asia
Did you mean North America ?
North America
[{'concept': 'theatrical genre'}, 'narrative location', 'Oceania'] [{'concept': 'theatrical genre'}, 'narrative location', 'North America'] [{'concept': 'theatrical genre'}, 'narrative location', 'Asia']
SELECT DISTINCT ?z WHERE { ?z property:narrative_location resource:Oceania . ?z rdf:type ontology:theatrical_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Oceania. Could you tell me the answer for that?
(c(Q15850590),P840,Q538)
Q538
[{'concept': 'Q15850590'}, 'P840', 'Q538']
[{'concept': 'theatrical genre'}, 'narrative location', 'Oceania']
[]
Q15991011
SYSTEM
Vent du soir
Q15991011
(c(Q15850590),P840,Q538)
action filter_type
action find_reverse
entity Q538
relation P840
type Q15850590
[ANSWER] has its setting located at that geographic location
[{'concept': 'Q15850590'}, 'P840', 'Q538']
SELECT DISTINCT ?z WHERE { ?z property:P840 resource:Q538 . ?z rdf:type ontology:Q15850590 }
Vent du soir
Vent du soir has its setting located at that geographic location
Vent du soir
action filter_type
action find_reverse
entity Oceania
relation narrative location
type theatrical genre
[{'concept': 'theatrical genre'}, 'narrative location', 'Oceania']
SELECT DISTINCT ?z WHERE { ?z property:narrative_location resource:Oceania . ?z rdf:type ontology:theatrical_genre }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q155144
P138
Q15617994 Q62447 Q22698
USER
Which administrative territories are the origin of around the same number of aerodromes or parks as Alsace-Lorraine ?
(c(Q62447)|c(Q22698),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q155144
relation P138
type Q62447
type Q22698
[[{'concept': 'Q62447'}, {'concept': 'Q22698'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?l WHERE { { ?z property:P138 ?l . ?l rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q62447 } UNION { ?z property:P138 ?l . ?z rdf:type ontology:Q22698 . ?l rdf:type ontology:Q15617994 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { { ?u rdf:type ontology:Q62447 } UNION { ?u rdf:type ontology:Q22698 } } . ?u property:P138 resource:Q155144 } } . FILTER ( ?x = ?n ) }
Alsace-Lorraine
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type park
action count
action filter_multi_types
action find_reverse
entity Alsace-Lorraine
relation named after
type aerodrome
type park
[[{'concept': 'aerodrome'}, {'concept': 'park'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?l WHERE { { ?z property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:aerodrome } UNION { ?z property:named_after ?l . ?z rdf:type ontology:park . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { { ?u rdf:type ontology:aerodrome } UNION { ?u rdf:type ontology:park } } . ?u property:named_after resource:Alsace-Lorraine } } . FILTER ( ?x = ?n ) }
[]
designation for an administrative territorial entity aerodrome park
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q62447)|c(Q22698),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q155144
relation P138
type Q62447
type Q22698
[ANSWERS] are the origin of around the same number of aerodromes or parks as Alsace-Lorraine
[[{'concept': 'Q62447'}, {'concept': 'Q22698'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?l WHERE { { ?z property:P138 ?l . ?l rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q62447 } UNION { ?z property:P138 ?l . ?z rdf:type ontology:Q22698 . ?l rdf:type ontology:Q15617994 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { { ?u rdf:type ontology:Q62447 } UNION { ?u rdf:type ontology:Q22698 } } . ?u property:P138 resource:Q155144 } } . FILTER ( ?x = ?n ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are the origin of around the same number of aerodromes or parks as Alsace-Lorraine
Italy Brazil United States of America
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type park
action count
action filter_multi_types
action find_reverse
entity Alsace-Lorraine
relation named after
type aerodrome
type park
[[{'concept': 'aerodrome'}, {'concept': 'park'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?l WHERE { { ?z property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:aerodrome } UNION { ?z property:named_after ?l . ?z rdf:type ontology:park . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { { ?u rdf:type ontology:aerodrome } UNION { ?u rdf:type ontology:park } } . ?u property:named_after resource:Alsace-Lorraine } } . FILTER ( ?x = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q555328
P138
Q15617994 Q62447 Q22698
USER
And how about Urmitz?
(c(Q62447)|c(Q22698),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q555328
relation P138
type Q62447
type Q22698
[[{'concept': 'Q62447'}, {'concept': 'Q22698'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?w WHERE { VALUES ( ?a ) { ( ontology:Q22698 ) ( ontology:Q62447 ) } . ?s rdf:type ?a } GROUP BY ?w } . FILTER ( ?o = ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:P138 resource:Q555328 . { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q22698 ) ( ontology:Q62447 ) } } } } }
Urmitz
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type park
action count
action filter_multi_types
action find_reverse
entity Urmitz
relation named after
type aerodrome
type park
[[{'concept': 'aerodrome'}, {'concept': 'park'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?w WHERE { VALUES ( ?a ) { ( ontology:park ) ( ontology:aerodrome ) } . ?s rdf:type ?a } GROUP BY ?w } . FILTER ( ?o = ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:named_after resource:Urmitz . { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:park ) ( ontology:aerodrome ) } } } } }
[]
designation for an administrative territorial entity aerodrome park
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q62447)|c(Q22698),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q555328
relation P138
type Q62447
type Q22698
[ANSWERS]
[[{'concept': 'Q62447'}, {'concept': 'Q22698'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?w WHERE { VALUES ( ?a ) { ( ontology:Q22698 ) ( ontology:Q62447 ) } . ?s rdf:type ?a } GROUP BY ?w } . FILTER ( ?o = ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:P138 resource:Q555328 . { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q22698 ) ( ontology:Q62447 ) } } } } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy Brazil United States of America
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type park
action count
action filter_multi_types
action find_reverse
entity Urmitz
relation named after
type aerodrome
type park
[[{'concept': 'aerodrome'}, {'concept': 'park'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?w WHERE { VALUES ( ?a ) { ( ontology:park ) ( ontology:aerodrome ) } . ?s rdf:type ?a } GROUP BY ?w } . FILTER ( ?o = ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:named_after resource:Urmitz . { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:park ) ( ontology:aerodrome ) } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11096905 Q30
P6 P7
Q502895
USER
Which people are the head of government of United States of America or are the brothers of Li Zhiyun ?
OR((Q30,P6,c(Q502895)), (Q11096905,P7,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q11096905
relation P7
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q11096905', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q30 property:P6 ?i } UNION { resource:Q11096905 property:P7 ?i } } . ?i rdf:type ontology:Q502895 }
Li Zhiyun United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Li Zhiyun
relation brother
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Li Zhiyun', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:United_States_of_America property:head_of_government ?i } UNION { resource:Li_Zhiyun property:brother ?i } } . ?i rdf:type ontology:common_name }
[]
common name
Q9960 Q23 Q11095408 Q9916 Q11095411 Q11095437 Q11095421 Q9582 Q11869 Q11098320
SYSTEM
Some of them are Ronald Reagan, George Washington, Li Yuanze, Dwight D. Eisenhower, Li Yuanjia, Li Yuanyu, Li Yuanchang, Gerald Ford, William Henry Harrison, Li Lingkui
Q35171 Q11815 Q11816 Q11817 Q8612 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q11095411 Q35498 Q9582 Q711674 Q11095406 Q11095408 Q11095423 Q11095420 Q11813 Q35236 Q23685 Q11095425 Q9696 Q23 Q22686 Q34597 Q36023 Q11881 Q4308304 Q9916 Q12312 Q11095439 Q11806 Q11098320 Q11098362 Q10975505 Q35286 Q9640 Q9701 Q35686 Q11820 Q35678 Q35041 Q11869 Q11095431 Q34296 Q76 Q11095432 Q699639 Q34836 Q11095437 Q11891 Q23505 Q11095417 Q10332683 Q11095421 Q1124 Q11095409 Q11613 Q11896 Q8007 Q9960 Q207
OR((Q30,P6,c(Q502895)), (Q11096905,P7,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q11096905
relation P7
type Q502895
[ANSWERS] are the head of government of United States of America or are the brothers of Li Zhiyun
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q11096905', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q30 property:P6 ?i } UNION { resource:Q11096905 property:P7 ?i } } . ?i rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Andrew Johnson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Li Yuanjia Chester A. Arthur Gerald Ford Li Jiancheng Li Yuanheng Li Yuanze Li Yuanjing Li Yuanfang James Madison Herbert Hoover Jimmy Carter Li Yuanxiao John F. Kennedy George Washington Donald Trump James A. Garfield Calvin Coolidge John Tyler Li Xuanba Dwight D. Eisenhower Franklin Pierce Li Yuangui John Adams Li Lingkui Li Feng Li Yuanying Warren G. Harding Lyndon B. Johnson Emperor Taizong of Tang Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley William Henry Harrison Li Yuanxiang Woodrow Wilson Barack Obama Li Yuanli Li Yuanji Ulysses S. Grant Li Yuanyu James K. Polk George H. W. Bush Li Yuanqing Li Yuanyi Li Yuanchang Bill Clinton Li Yuanming​ Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan George W. Bush
Ronald Reagan, George Washington, Li Yuanze, Dwight D. Eisenhower, Li Yuanjia, Li Yuanyu, Li Yuanchang, Gerald Ford, William Henry Harrison and Li Lingkui are the head of government of United States of America or are the brothers of Li Zhiyun
Ronald Reagan George Washington Li Yuanze Dwight D. Eisenhower Li Yuanjia Li Yuanyu Li Yuanchang Gerald Ford William Henry Harrison Li Lingkui
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Li Zhiyun
relation brother
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Li Zhiyun', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:United_States_of_America property:head_of_government ?i } UNION { resource:Li_Zhiyun property:brother ?i } } . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11096905
P40
Q502895
USER
Who have Li Zhiyun as an offspring ?
(c(Q502895),P40,Q11096905)
action filter_type
action find_reverse
entity Q11096905
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q11096905']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q11096905 . ?x rdf:type ontology:Q502895 }
Li Zhiyun
action filter_type
action find_reverse
entity Li Zhiyun
relation child
type common name
[{'concept': 'common name'}, 'child', 'Li Zhiyun']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Li_Zhiyun . ?x rdf:type ontology:common_name }
[]
common name
Q9700 Q8251363
SYSTEM
Emperor Gaozu of Tang, Wan-gui​fei
Q9700 Q8251363
(c(Q502895),P40,Q11096905)
action filter_type
action find_reverse
entity Q11096905
relation P40
type Q502895
[ANSWERS] have Li Zhiyun as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q11096905']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q11096905 . ?x rdf:type ontology:Q502895 }
Emperor Gaozu of Tang Wan-gui​fei
Emperor Gaozu of Tang and Wan-gui​fei have Li Zhiyun as an offspring
Emperor Gaozu of Tang Wan-gui​fei
action filter_type
action find_reverse
entity Li Zhiyun
relation child
type common name
[{'concept': 'common name'}, 'child', 'Li Zhiyun']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Li_Zhiyun . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8251363
P26
Q502895
USER
Which person is married to that one ?
(Q8251363,P26,c(Q502895))
action filter_type
action find
entity Q8251363
relation P26
type Q502895
['Q8251363', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q8251363 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Wan-gui​fei
action filter_type
action find
entity Wan-gui​fei
relation spouse
type common name
['Wan-gui\u200bfei', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Wan-gui​fei property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q8251363
SYSTEM
Did you mean Wan-gui​fei ?
Q9700 Q8251363
(Q9700,P26,c(Q502895)) (Q8251363,P26,c(Q502895))
[ANSWER]
['Q9700', 'P26', {'concept': 'Q502895'}] ['Q8251363', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q8251363 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Emperor Gaozu of Tang Wan-gui​fei
Did you mean Wan-gui​fei ?
Wan-gui​fei
['Emperor Gaozu of Tang', 'spouse', {'concept': 'common name'}] ['Wan-gui\u200bfei', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Wan-gui​fei property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q8251363,P26,c(Q502895))
['Q8251363', 'P26', {'concept': 'Q502895'}]
['Wan-gui\u200bfei', 'spouse', {'concept': 'common name'}]
[]
Q9700
SYSTEM
Emperor Gaozu of Tang
Q9700
(Q8251363,P26,c(Q502895))
action filter_type
action find
entity Q8251363
relation P26
type Q502895
[ANSWER] is married to that one
['Q8251363', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q8251363 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Emperor Gaozu of Tang
Emperor Gaozu of Tang is married to that one
Emperor Gaozu of Tang
action filter_type
action find
entity Wan-gui​fei
relation spouse
type common name
['Wan-gui\u200bfei', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Wan-gui​fei property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9700 Q9374012
P22
Q502895
USER
Does Wiktor Gosiewski have that one as a father ?
(Q9374012,P22,Q9700)
action is_in
entity Q9374012
action find
entity Q9700
relation P22
['Q9374012', 'P22', 'Q9700']
ASK WHERE { resource:Q9700 property:P22 resource:Q9374012 }
Emperor Gaozu of Tang Wiktor Gosiewski
action is_in
entity Wiktor Gosiewski
action find
entity Emperor Gaozu of Tang
relation father
['Wiktor Gosiewski', 'father', 'Emperor Gaozu of Tang']
ASK WHERE { resource:Emperor_Gaozu_of_Tang property:father resource:Wiktor_Gosiewski }
[]
common name
SYSTEM
NO
(Q9374012,P22,Q9700)
action is_in
entity Q9374012
action find
entity Q9700
relation P22
[ANSWER]
['Q9374012', 'P22', 'Q9700']
ASK WHERE { resource:Q9700 property:P22 resource:Q9374012 }
No
action is_in
entity Wiktor Gosiewski
action find
entity Emperor Gaozu of Tang
relation father
['Wiktor Gosiewski', 'father', 'Emperor Gaozu of Tang']
ASK WHERE { resource:Emperor_Gaozu_of_Tang property:father resource:Wiktor_Gosiewski }
[]