Simple Question (Direct)
Simple Question
Q3290694
P735
Q82799
USER
What is forename of Marguerite Ducouret ?
(Q3290694,P735,c(Q82799))
action filter_type
action find
entity Q3290694
relation P735
type Q82799
['Q3290694', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q3290694 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Marguerite Ducouret
action filter_type
action find
entity Marguerite Ducouret
relation given name
type name
['Marguerite Ducouret', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Marguerite_Ducouret property:given_name ?z . ?z rdf:type ontology:name }
[]
name
Q1587821
SYSTEM
Marguerite
Q1587821
(Q3290694,P735,c(Q82799))
action filter_type
action find
entity Q3290694
relation P735
type Q82799
Forename of [ANSWER] Ducouret is of [ANSWER]
['Q3290694', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q3290694 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Marguerite
Forename of Marguerite Ducouret is of Marguerite
Marguerite
action filter_type
action find
entity Marguerite Ducouret
relation given name
type name
['Marguerite Ducouret', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Marguerite_Ducouret property:given_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3290694
P20
Q56061
USER
Which administrative territory is the place of death of Marguerite Ducouret ?
(Q3290694,P20,c(Q56061))
action filter_type
action find
entity Q3290694
relation P20
type Q56061
['Q3290694', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3290694 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Marguerite Ducouret
action filter_type
action find
entity Marguerite Ducouret
relation place of death
type administrative territorial entity
['Marguerite Ducouret', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Marguerite_Ducouret property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3290694,P20,c(Q56061))
action filter_type
action find
entity Q3290694
relation P20
type Q56061
[ANSWER] is the place of death of Marguerite Ducouret
['Q3290694', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3290694 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Paris
Paris is the place of death of Marguerite Ducouret
Paris
action filter_type
action find
entity Marguerite Ducouret
relation place of death
type administrative territorial entity
['Marguerite Ducouret', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Marguerite_Ducouret property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q90 Q78314
P6
Q502895
USER
Is that administrative territory the head of goverment of Erich Kretschmann ?
(Q90,P6,Q78314)
action is_in
entity Q78314
action find
entity Q90
relation P6
['Q90', 'P6', 'Q78314']
ASK WHERE { resource:Q90 property:P6 resource:Q78314 }
Paris Erich Kretschmann
action is_in
entity Erich Kretschmann
action find
entity Paris
relation head of government
['Paris', 'head of government', 'Erich Kretschmann']
ASK WHERE { resource:Paris property:head_of_government resource:Erich_Kretschmann }
[]
common name
SYSTEM
NO
(Q90,P6,Q78314)
action is_in
entity Q78314
action find
entity Q90
relation P6
[ANSWER]
['Q90', 'P6', 'Q78314']
ASK WHERE { resource:Q90 property:P6 resource:Q78314 }
No
action is_in
entity Erich Kretschmann
action find
entity Paris
relation head of government
['Paris', 'head of government', 'Erich Kretschmann']
ASK WHERE { resource:Paris property:head_of_government resource:Erich_Kretschmann }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3290694 Q90
P19
Q56061
USER
Was Marguerite Ducouret born in Paris ?
(Q3290694,P19,Q90)
action is_in
entity Q90
action find
entity Q3290694
relation P19
['Q3290694', 'P19', 'Q90']
ASK WHERE { resource:Q3290694 property:P19 resource:Q90 }
Marguerite Ducouret Paris
action is_in
entity Paris
action find
entity Marguerite Ducouret
relation place of birth
['Marguerite Ducouret', 'place of birth', 'Paris']
ASK WHERE { resource:Marguerite_Ducouret property:place_of_birth resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q3290694,P19,Q90)
action is_in
entity Q90
action find
entity Q3290694
relation P19
[ANSWER]
['Q3290694', 'P19', 'Q90']
ASK WHERE { resource:Q3290694 property:P19 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Marguerite Ducouret
relation place of birth
['Marguerite Ducouret', 'place of birth', 'Paris']
ASK WHERE { resource:Marguerite_Ducouret property:place_of_birth resource:Paris }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3290694
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
action filter_type
action find
entity Q3290694
relation P106
type Q12737077
SELECT DISTINCT ?j WHERE { resource:Q3290694 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Marguerite Ducouret
action filter_type
action find
entity Marguerite Ducouret
relation occupation
type occupation
SELECT DISTINCT ?j WHERE { resource:Marguerite_Ducouret property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
action filter_type
action find
entity Q3290694
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
SELECT DISTINCT ?j WHERE { resource:Q3290694 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
actor
Actor has that person as his/her 's career
actor
action filter_type
action find
entity Marguerite Ducouret
relation occupation
type occupation
SELECT DISTINCT ?j WHERE { resource:Marguerite_Ducouret property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3290694
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q33999,P27,c(Q15617994))
action filter_type
action find
entity Q3290694
relation P27
type Q15617994
['Q33999', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3290694 property:P27 ?h }
Marguerite Ducouret
action filter_type
action find
entity Marguerite Ducouret
relation country of citizenship
type designation for an administrative territorial entity
['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marguerite_Ducouret property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q33999,P27,c(Q15617994))
action filter_type
action find
entity Q3290694
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q33999', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3290694 property:P27 ?h }
France
The France is that person a civilian of
France
action filter_type
action find
entity Marguerite Ducouret
relation country of citizenship
type designation for an administrative territorial entity
['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marguerite_Ducouret property:country_of_citizenship ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q298
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with greater number of administrative territories than Chile ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q298
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?s property:P530 ?j . ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q298 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?i > ?m ) }
Chile
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?s property:diplomatic_relation ?j . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Chile property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i > ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q298
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with greater number of administrative territories than Chile
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?s property:P530 ?j . ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q298 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?i > ?m ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
Italy, Brazil and United States of America hold diplomatic relationship with greater number of administrative territories than Chile
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?s property:diplomatic_relation ?j . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Chile property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i > ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with approximately 29 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 29
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?u ) WHERE { ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?a property:P530 ?z } GROUP BY ?a } . FILTER ( ?u = 29 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?u ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?z } GROUP BY ?a } . FILTER ( ?u = 29 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q159 Q30
SYSTEM
Russia, United States of America
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 29
[ANSWERS] have diplomatic relations with approximately 29 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?u ) WHERE { ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?a property:P530 ?z } GROUP BY ?a } . FILTER ( ?u = 29 ) }
Russia United States of America
Russia and United States of America have diplomatic relations with approximately 29 administrative territories
Russia United States of America
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?u ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?z } GROUP BY ?a } . FILTER ( ?u = 29 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q72432
P706
Q355304 Q1048835 Q15617994
USER
Which administrative territories have their location as approximately the same number of watercourses and political territories as Procida ?
(c(Q15617994),P706,c(Q355304)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q72432
relation P706
type Q355304
type Q1048835
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?r WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q355304 ) ( ontology:Q1048835 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q72432 property:P706 ?i . { { ?i rdf:type ontology:Q355304 } UNION { ?i rdf:type ontology:Q1048835 } } } } . FILTER ( ?w = ?u ) }
Procida
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Procida
relation located on terrain feature
type watercourse
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?r WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:watercourse ) ( ontology:political_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Procida property:located_on_terrain_feature ?i . { { ?i rdf:type ontology:watercourse } UNION { ?i rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?w = ?u ) }
[]
watercourse political territorial entity designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q24846 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q496389 Q555609 Q267005 Q128230 Q27332 Q1619957 Q1093572 Q6350324 Q204529 Q244 Q4789577 Q501683 Q582690 Q216422 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q4770750 Q20836 Q20837 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q507258 Q25082 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q15744111 Q23968 Q760 Q6835962 Q489865 Q2119591 Q46870 Q72432 Q504134 Q625747 Q2585085 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q355304)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q72432
relation P706
type Q355304
type Q1048835
[ANSWERS] have their location as approximately the same number of watercourses and political territories as Procida
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?r WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q355304 ) ( ontology:Q1048835 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q72432 property:P706 ?i . { { ?i rdf:type ontology:Q355304 } UNION { ?i rdf:type ontology:Q1048835 } } } } . FILTER ( ?w = ?u ) }
Yemen Leivathos Langen Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Juist Muhr am See Fehmarn Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Langeoog Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Lipari Magdala Moneglia Ventotene Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Zingst Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Ansons Bay Hallig Hooge Fanø Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Helgoland Loire-Atlantique Absberg Makryotika Lagopodo Spiekeroog Allersberg Wangerooge Cyprus Insel Hiddensee Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Baltrum Langeneß Wittdün auf Amrum Trinidad and Tobago Kipfenberg Borkum Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Niederscheuren Norderney Saint Lucia Michata Isola delle Femmine Pylaros Bardolino Procida Kirchlinteln Rangsdorf Wintersberg Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China, United Kingdom and Yemen have their location as approximately the same number of watercourses and political territories as Procida
People's Republic of China United Kingdom Yemen
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Procida
relation located on terrain feature
type watercourse
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?r WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:watercourse ) ( ontology:political_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Procida property:located_on_terrain_feature ?i . { { ?i rdf:type ontology:watercourse } UNION { ?i rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?w = ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5002757 Q30
P170 P6
Q502895
USER
Which people have United States of America as their heads of government or are credited with creation of Butt-Millet Memorial Fountain ?
OR((Q30,P6,c(Q502895)), (Q5002757,P170,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q5002757
relation P170
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q5002757', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q30 property:P6 ?z } UNION { resource:Q5002757 property:P170 ?z } } . ?z rdf:type ontology:Q502895 }
Butt-Millet Memorial Fountain United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Butt-Millet Memorial Fountain
relation creator
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Butt-Millet Memorial Fountain', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:United_States_of_America property:head_of_government ?z } UNION { resource:Butt-Millet_Memorial_Fountain property:creator ?z } } . ?z rdf:type ontology:common_name }
[]
common name
Q720910 Q9960 Q34296 Q9582 Q11812 Q23505 Q9640 Q34597 Q11869 Q35498
SYSTEM
Some of them are Daniel Chester French, Ronald Reagan, Woodrow Wilson, Gerald Ford, Thomas Jefferson, George H. W. Bush, Lyndon B. Johnson, James A. Garfield, William Henry Harrison, Chester A. Arthur
Q35171 Q11815 Q11816 Q11817 Q8612 Q9588 Q11812 Q11813 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q12306 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q720910 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q7790487 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q5002757,P170,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q5002757
relation P170
type Q502895
[ANSWERS] have United States of America as their heads of government or are credited with creation of Butt-Millet Memorial Fountain
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q5002757', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q30 property:P6 ?z } UNION { resource:Q5002757 property:P170 ?z } } . ?z rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Andrew Johnson Richard Nixon Thomas Jefferson James Madison Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Gerald Ford William Henry Harrison George W. Bush Millard Fillmore Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Daniel Chester French Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Thomas Hastings Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Daniel Chester French, Ronald Reagan, Woodrow Wilson, Gerald Ford, Thomas Jefferson, George H. W. Bush, Lyndon B. Johnson, James A. Garfield, William Henry Harrison and Chester A. Arthur have United States of America as their heads of government or are credited with creation of Butt-Millet Memorial Fountain
Daniel Chester French Ronald Reagan Woodrow Wilson Gerald Ford Thomas Jefferson George H. W. Bush Lyndon B. Johnson James A. Garfield William Henry Harrison Chester A. Arthur
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Butt-Millet Memorial Fountain
relation creator
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Butt-Millet Memorial Fountain', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:United_States_of_America property:head_of_government ?z } UNION { resource:Butt-Millet_Memorial_Fountain property:creator ?z } } . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9960
P1412
Q34770
USER
Which language is spoken by Ronald Reagan ?
(Q9960,P1412,c(Q34770))
action filter_type
action find
entity Q9960
relation P1412
type Q34770
['Q9960', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q9960 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Ronald Reagan
action filter_type
action find
entity Ronald Reagan
relation languages spoken, written or signed
type language
['Ronald Reagan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Ronald_Reagan property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q9960,P1412,c(Q34770))
action filter_type
action find
entity Q9960
relation P1412
type Q34770
In [ANSWER] is spoken by Ronald Reagan
['Q9960', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q9960 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
In English is spoken by Ronald Reagan
English
action filter_type
action find
entity Ronald Reagan
relation languages spoken, written or signed
type language
['Ronald Reagan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Ronald_Reagan property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9960
P674
Q2342494
USER
What the name of the collectable which Ronald Reagan is a character of ?
(c(Q2342494),P674,Q9960)
action filter_type
action find_reverse
entity Q9960
relation P674
type Q2342494
[{'concept': 'Q2342494'}, 'P674', 'Q9960']
SELECT DISTINCT ?c WHERE { ?c property:P674 resource:Q9960 . ?c rdf:type ontology:Q2342494 }
Ronald Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Ronald Reagan']
SELECT DISTINCT ?c WHERE { ?c property:characters resource:Ronald_Reagan . ?c rdf:type ontology:collectable }
[]
collectable
Q5317240
SYSTEM
Dutch: A Memoir of Ronald Reagan
Q5317240
(c(Q2342494),P674,Q9960)
action filter_type
action find_reverse
entity Q9960
relation P674
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P674', 'Q9960']
SELECT DISTINCT ?c WHERE { ?c property:P674 resource:Q9960 . ?c rdf:type ontology:Q2342494 }
Dutch: A Memoir of Ronald Reagan
Dutch: A Memoir of Ronald Reagan
Dutch: A Memoir of Ronald Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Ronald Reagan']
SELECT DISTINCT ?c WHERE { ?c property:characters resource:Ronald_Reagan . ?c rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9960
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q5317240)
action filter_type
action find_reverse
entity Q9960
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5317240']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q9960 . ?b rdf:type ontology:Q502895 }
Ronald Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation child
type common name
[{'concept': 'common name'}, 'child', 'Dutch: A Memoir of Ronald Reagan']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Ronald_Reagan . ?b rdf:type ontology:common_name }
[]
common name
Q6990072 Q6114763
SYSTEM
Nelle Wilson Reagan, Jack Reagan
Q6990072 Q6114763
(c(Q502895),P40,Q5317240)
action filter_type
action find_reverse
entity Q9960
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q5317240']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q9960 . ?b rdf:type ontology:Q502895 }
Nelle Wilson Reagan Jack Reagan
Nelle Wilson Reagan and Jack Reagan are that one
Nelle Wilson Reagan Jack Reagan
action filter_type
action find_reverse
entity Ronald Reagan
relation child
type common name
[{'concept': 'common name'}, 'child', 'Dutch: A Memoir of Ronald Reagan']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Ronald_Reagan . ?b rdf:type ontology:common_name }
[]