Simple Question (Direct)
Simple Question
Q7151444
P39
Q12737077
USER
What was the position held by Paul Hutchison ?
(Q7151444,P39,c(Q12737077))
action filter_type
action find
entity Q7151444
relation P39
type Q12737077
['Q7151444', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q7151444 property:P39 ?t }
Paul Hutchison
action filter_type
action find
entity Paul Hutchison
relation position held
type occupation
['Paul Hutchison', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Paul_Hutchison property:position_held ?t }
[]
occupation
Q18145518
SYSTEM
Member of the New Zealand House of Representatives
Q18145518
(Q7151444,P39,c(Q12737077))
action filter_type
action find
entity Q7151444
relation P39
type Q12737077
The position held by Paul Hutchison was a [ANSWER]
['Q7151444', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q7151444 property:P39 ?t }
Member of the New Zealand House of Representatives
The position held by Paul Hutchison was a Member of the New Zealand House of Representatives
Member of the New Zealand House of Representatives
action filter_type
action find
entity Paul Hutchison
relation position held
type occupation
['Paul Hutchison', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Paul_Hutchison property:position_held ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7151444
P19
Q515
USER
Which city was Paul Hutchison born at ?
(Q7151444,P19,c(Q515))
action filter_type
action find
entity Q7151444
relation P19
type Q515
['Q7151444', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q7151444 property:P19 ?p }
Paul Hutchison
action filter_type
action find
entity Paul Hutchison
relation place of birth
type city
['Paul Hutchison', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Paul_Hutchison property:place_of_birth ?p }
[]
city
Q23661
SYSTEM
Wellington
Q23661
(Q7151444,P19,c(Q515))
action filter_type
action find
entity Q7151444
relation P19
type Q515
Paul Hutchison was born in [ANSWER]
['Q7151444', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q7151444 property:P19 ?p }
Wellington
Paul Hutchison was born in Wellington
Wellington
action filter_type
action find
entity Paul Hutchison
relation place of birth
type city
['Paul Hutchison', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Paul_Hutchison property:place_of_birth ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7151444
P27
Q1048835
USER
Which political territory is the country of citizenship of Paul Hutchison ?
(Q7151444,P27,c(Q1048835))
action filter_type
action find
entity Q7151444
relation P27
type Q1048835
['Q7151444', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q7151444 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Paul Hutchison
action filter_type
action find
entity Paul Hutchison
relation country of citizenship
type political territorial entity
['Paul Hutchison', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Paul_Hutchison property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q7151444,P27,c(Q1048835))
action filter_type
action find
entity Q7151444
relation P27
type Q1048835
Zealand [ANSWER] is the country of citizenship of Paul Hutchison
['Q7151444', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q7151444 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
New Zealand
Zealand New Zealand is the country of citizenship of Paul Hutchison
New Zealand
action filter_type
action find
entity Paul Hutchison
relation country of citizenship
type political territorial entity
['Paul Hutchison', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Paul_Hutchison property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7151444
P21
Q290
USER
Which sex does that person possess ?
(Q664,P21,c(Q290))
action filter_type
action find
entity Q7151444
relation P21
type Q290
['Q664', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q7151444 property:P21 ?w }
Paul Hutchison
action filter_type
action find
entity Paul Hutchison
relation gender
type sex
['New Zealand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Paul_Hutchison property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q664,P21,c(Q290))
action filter_type
action find
entity Q7151444
relation P21
type Q290
That person possesses a [ANSWER]
['Q664', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q7151444 property:P21 ?w }
male
That person possesses a male
male
action filter_type
action find
entity Paul Hutchison
relation gender
type sex
['New Zealand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Paul_Hutchison property:gender ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7151444
P102
Q7210356
USER
How many political organizations are Paul Hutchison affiliated with ?
(Q7151444,P102,c(Q7210356))
action count
action filter_type
action find
entity Q7151444
relation P102
type Q7210356
['Q7151444', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q7151444 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Paul Hutchison
action count
action filter_type
action find
entity Paul Hutchison
relation member of political party
type political organization
['Paul Hutchison', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Paul_Hutchison property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
SYSTEM
1
Q204716
(Q7151444,P102,c(Q7210356))
action count
action filter_type
action find
entity Q7151444
relation P102
type Q7210356
[ANSWER]
['Q7151444', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q7151444 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
New Zealand National Party
1
action count
action filter_type
action find
entity Paul Hutchison
relation member of political party
type political organization
['Paul Hutchison', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Paul_Hutchison property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2906710
P20
Q15617994
USER
Where did the demise of Shimon Ben-Shlomo occur ?
(Q2906710,P20,c(Q15617994))
action filter_type
action find
entity Q2906710
relation P20
type Q15617994
['Q2906710', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2906710 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Shimon Ben-Shlomo
action filter_type
action find
entity Shimon Ben-Shlomo
relation place of death
type designation for an administrative territorial entity
['Shimon Ben-Shlomo', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Shimon_Ben-Shlomo property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2906710,P20,c(Q15617994))
action filter_type
action find
entity Q2906710
relation P20
type Q15617994
The demise of Shimon Ben- Shlomo occurred in [ANSWER]
['Q2906710', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2906710 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Israel
The demise of Shimon Ben- Shlomo occurred in Israel
Israel
action filter_type
action find
entity Shimon Ben-Shlomo
relation place of death
type designation for an administrative territorial entity
['Shimon Ben-Shlomo', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Shimon_Ben-Shlomo property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q919247
Q15617994
USER
And what about Eberhard of Friuli?
(Q919247,P20,c(Q15617994))
action filter_type
action find
entity Q919247
relation P20
type Q15617994
['Q919247', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q919247 property:P20 ?i . ?i rdf:type ontology:Q15617994 }
Eberhard of Friuli
action filter_type
action find
entity Eberhard of Friuli
relation place of death
type designation for an administrative territorial entity
['Eberhard of Friuli', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Eberhard_of_Friuli property:place_of_death ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q919247,P20,c(Q15617994))
action filter_type
action find
entity Q919247
relation P20
type Q15617994
[ANSWER]
['Q919247', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q919247 property:P20 ?i . ?i rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Eberhard of Friuli
relation place of death
type designation for an administrative territorial entity
['Eberhard of Friuli', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Eberhard_of_Friuli property:place_of_death ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q15697395
P27
Q502895
USER
Is William E. Lishman a citizen of that administrative territory ?
(Q15697395,P27,Q38)
action is_in
entity Q15697395
action find
entity Q38
relation P27
['Q15697395', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q15697395 }
Italy William E. Lishman
action is_in
entity William E. Lishman
action find
entity Italy
relation country of citizenship
['William E. Lishman', 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:William_E._Lishman }
[]
common name
SYSTEM
NO
(Q15697395,P27,Q38)
action is_in
entity Q15697395
action find
entity Q38
relation P27
[ANSWER]
['Q15697395', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q15697395 }
No
action is_in
entity William E. Lishman
action find
entity Italy
relation country of citizenship
['William E. Lishman', 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:William_E._Lishman }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18145518 Q664 Q772910
P17
Q1048835
USER
Is Member of the New Zealand House of Representatives located in New Zealand and Carazinho ?
(Q18145518,P17,Q664) (Q18145518,P17,Q772910)
action is_in
entity Q18145518
action intersection
action find_reverse
entity Q664
relation P17
action find_reverse
entity Q772910
relation P17
['Q18145518', 'P17', 'Q664'] ['Q18145518', 'P17', 'Q772910']
ASK WHERE { resource:Q18145518 property:P17 resource:Q664 . resource:Q18145518 property:P17 resource:Q772910 }
Member of the New Zealand House of Representatives New Zealand Carazinho
action is_in
entity Member of the New Zealand House of Representatives
action intersection
action find_reverse
entity New Zealand
relation country
action find_reverse
entity Carazinho
relation country
['Member of the New Zealand House of Representatives', 'country', 'New Zealand'] ['Member of the New Zealand House of Representatives', 'country', 'Carazinho']
ASK WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:country resource:New_Zealand . resource:Member_of_the_New_Zealand_House_of_Representatives property:country resource:Carazinho }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q18145518,P17,Q664) (Q18145518,P17,Q772910)
action is_in
entity Q18145518
action intersection
action find_reverse
entity Q664
relation P17
action find_reverse
entity Q772910
relation P17
[ANSWER]
['Q18145518', 'P17', 'Q664'] ['Q18145518', 'P17', 'Q772910']
ASK WHERE { resource:Q18145518 property:P17 resource:Q664 . resource:Q18145518 property:P17 resource:Q772910 }
YES and NO respectively
action is_in
entity Member of the New Zealand House of Representatives
action intersection
action find_reverse
entity New Zealand
relation country
action find_reverse
entity Carazinho
relation country
['Member of the New Zealand House of Representatives', 'country', 'New Zealand'] ['Member of the New Zealand House of Representatives', 'country', 'Carazinho']
ASK WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:country resource:New_Zealand . resource:Member_of_the_New_Zealand_House_of_Representatives property:country resource:Carazinho }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q262684
P706
Q473972 Q553036 Q15617994
USER
Which administrative territories have their location as around the same number of protected areas and natural region of Germanys as Füssen ?
(c(Q15617994),P706,c(Q473972)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q262684
relation P706
type Q473972
type Q553036
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q473972'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q262684 property:P706 ?o . { VALUES ( ?a ) { ( ontology:Q553036 ) ( ontology:Q473972 ) } . ?o rdf:type ?a } } } . FILTER ( ?n = ?w ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:Q553036 ) ( ontology:Q473972 ) } } GROUP BY ?x } }
Füssen
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Füssen
relation located on terrain feature
type protected area
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'protected area'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Füssen property:located_on_terrain_feature ?o . { VALUES ( ?a ) { ( ontology:natural_region_of_Germany ) ( ontology:protected_area ) } . ?o rdf:type ?a } } } . FILTER ( ?n = ?w ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:natural_region_of_Germany ) ( ontology:protected_area ) } } GROUP BY ?x } }
[]
protected area natural region of Germany designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q5101419 Q682072 Q6685870 Q4692591 Q525879 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 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q4770750 Q20836 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 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q3923 Q27649869 Q5283827 Q3193 Q15744111 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q7561974 Q72432 Q504134 Q625747 Q2585085 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q473972)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q262684
relation P706
type Q473972
type Q553036
[ANSWERS] have their location as around the same number of protected areas and natural region of Germanys as Füssen
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q473972'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q262684 property:P706 ?o . { VALUES ( ?a ) { ( ontology:Q553036 ) ( ontology:Q473972 ) } . ?o rdf:type ?a } } } . FILTER ( ?n = ?w ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:Q553036 ) ( ontology:Q473972 ) } } GROUP BY ?x } }
Yemen Leivathos Langen Zagori Chionata Rankwitz Loucha Agioi Pantes Haundorf 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ø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Ansons Bay Hallig Hooge 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 Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Bayreuth Teglkås Divarata Ostseebad Insel Poel Niederscheuren Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Sonning Eye 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 around the same number of protected areas and natural region of Germanys as Füssen
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 protected area
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Füssen
relation located on terrain feature
type protected area
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'protected area'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Füssen property:located_on_terrain_feature ?o . { VALUES ( ?a ) { ( ontology:natural_region_of_Germany ) ( ontology:protected_area ) } . ?o rdf:type ?a } } } . FILTER ( ?n = ?w ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?x WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:natural_region_of_Germany ) ( ontology:protected_area ) } } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q501683
P706
Q473972 Q553036 Q15617994
USER
And what about Rosengarten?
(c(Q15617994),P706,c(Q473972)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q501683
relation P706
type Q473972
type Q553036
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q473972'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?p WHERE { { ?d rdf:type ontology:Q473972 . ?p rdf:type ontology:Q15617994 . ?p property:P706 ?d } UNION { ?p property:P706 ?d . ?p rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q553036 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q473972 ) ( ontology:Q553036 ) } } . resource:Q501683 property:P706 ?m } } . FILTER ( ?w = ?y ) }
Rosengarten
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Rosengarten
relation located on terrain feature
type protected area
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'protected area'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?p WHERE { { ?d rdf:type ontology:protected_area . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:located_on_terrain_feature ?d } UNION { ?p property:located_on_terrain_feature ?d . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:natural_region_of_Germany } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:protected_area ) ( ontology:natural_region_of_Germany ) } } . resource:Rosengarten property:located_on_terrain_feature ?m } } . FILTER ( ?w = ?y ) }
[]
protected area natural region of Germany designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q5101419 Q682072 Q6685870 Q4692591 Q525879 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 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q4770750 Q20836 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 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q3923 Q27649869 Q5283827 Q3193 Q15744111 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q7561974 Q72432 Q504134 Q625747 Q2585085 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q473972)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action count
action filter_multi_types
action find
entity Q501683
relation P706
type Q473972
type Q553036
[ANSWERS]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q473972'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?p WHERE { { ?d rdf:type ontology:Q473972 . ?p rdf:type ontology:Q15617994 . ?p property:P706 ?d } UNION { ?p property:P706 ?d . ?p rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q553036 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q473972 ) ( ontology:Q553036 ) } } . resource:Q501683 property:P706 ?m } } . FILTER ( ?w = ?y ) }
Yemen Leivathos Langen Zagori Chionata Rankwitz Loucha Agioi Pantes Haundorf 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ø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Ansons Bay Hallig Hooge 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 Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Bayreuth Teglkås Divarata Ostseebad Insel Poel Niederscheuren Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Sonning Eye Procida Kirchlinteln Rangsdorf Wintersberg Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
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 protected area
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Rosengarten
relation located on terrain feature
type protected area
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'protected area'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?p WHERE { { ?d rdf:type ontology:protected_area . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:located_on_terrain_feature ?d } UNION { ?p property:located_on_terrain_feature ?d . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:natural_region_of_Germany } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:protected_area ) ( ontology:natural_region_of_Germany ) } } . resource:Rosengarten property:located_on_terrain_feature ?m } } . FILTER ( ?w = ?y ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q148 Q145 Q805
P530
Q15617994
USER
Who have diplomatic relationships with those ones ?
(Q148,P530,c(Q15617994)) (Q145,P530,c(Q15617994)) (Q805,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q15617994'}] ['Q805', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?t property:P530 ?z . VALUES ( ?t ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } . ?z rdf:type ontology:Q15617994 }
People's Republic of China United Kingdom Yemen
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Yemen', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?t property:diplomatic_relation ?z . VALUES ( ?t ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q711 Q159 Q801 Q155 Q1011 Q30 Q34020 Q805 Q403 Q38 Q142 Q805 Q801 Q155 Q37 Q403 Q38 Q858 Q159 Q43 Q801 Q145 Q843 Q851 Q148 Q398 Q796 Q794 Q30 Q842 Q38 Q1016 Q878
(Q148,P530,c(Q15617994)) (Q145,P530,c(Q15617994)) (Q805,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relationships with those ones
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q15617994'}] ['Q805', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?t property:P530 ?z . VALUES ( ?t ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } . ?z rdf:type ontology:Q15617994 }
Mongolia Russia Israel Brazil Cape Verde United States of America Niue Yemen Serbia Italy France Yemen Israel Brazil Lithuania Serbia Italy Syria Russia Turkey Israel United Kingdom Pakistan Saudi Arabia People's Republic of China Bahrain Iraq Iran United States of America Oman Italy Libya United Arab Emirates
Italy, Italy and Italy have diplomatic relationships with those ones
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Yemen', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?t property:diplomatic_relation ?z . VALUES ( ?t ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]