Simple Question (Direct)
Simple Question
Q722731
P20
Q56061
USER
Where did Jorge Eielson expire ?
(Q722731,P20,c(Q56061))
action filter_type
action find
entity Q722731
relation P20
type Q56061
['Q722731', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q722731 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Jorge Eielson
action filter_type
action find
entity Jorge Eielson
relation place of death
type administrative territorial entity
['Jorge Eielson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jorge_Eielson property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q722731,P20,c(Q56061))
action filter_type
action find
entity Q722731
relation P20
type Q56061
Jorge Eielson expired [ANSWER]
['Q722731', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q722731 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Milan
Jorge Eielson expired Milan
Milan
action filter_type
action find
entity Jorge Eielson
relation place of death
type administrative territorial entity
['Jorge Eielson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jorge_Eielson property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q722731
P19
Q56061
USER
Which administrative territory is the birthplace of Jorge Eielson ?
(Q722731,P19,c(Q56061))
action filter_type
action find
entity Q722731
relation P19
type Q56061
['Q722731', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q722731 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Jorge Eielson
action filter_type
action find
entity Jorge Eielson
relation place of birth
type administrative territorial entity
['Jorge Eielson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jorge_Eielson property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2868
SYSTEM
Lima
Q2868
(Q722731,P19,c(Q56061))
action filter_type
action find
entity Q722731
relation P19
type Q56061
[ANSWER] is the birthplace of Jorge Eielson
['Q722731', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q722731 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Lima
Lima is the birthplace of Jorge Eielson
Lima
action filter_type
action find
entity Jorge Eielson
relation place of birth
type administrative territorial entity
['Jorge Eielson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jorge_Eielson property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q722731
P103
Q34770
USER
Which language is the mother tongue of that person ?
(Q2868,P103,c(Q34770))
action filter_type
action find
entity Q722731
relation P103
type Q34770
['Q2868', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q722731 property:P103 ?h . ?h rdf:type ontology:Q34770 }
Jorge Eielson
action filter_type
action find
entity Jorge Eielson
relation native language
type language
['Lima', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Jorge_Eielson property:native_language ?h . ?h rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2868,P103,c(Q34770))
action filter_type
action find
entity Q722731
relation P103
type Q34770
[ANSWER] is the mother tongue of that person
['Q2868', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q722731 property:P103 ?h . ?h rdf:type ontology:Q34770 }
Spanish
Spanish is the mother tongue of that person
Spanish
action filter_type
action find
entity Jorge Eielson
relation native language
type language
['Lima', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Jorge_Eielson property:native_language ?h . ?h rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q722731 Q8062467
P21
Q290
USER
How many sexes are the sex of Jorge Eielson or Yvonne K. Fulbright ?
(Q722731,P21,c(Q290)) (Q8062467,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q722731
relation P21
type Q290
action filter_type
action find
entity Q8062467
relation P21
type Q290
['Q722731', 'P21', {'concept': 'Q290'}] ['Q8062467', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?s property:P21 ?z . VALUES ( ?s ) { ( resource:Q8062467 ) ( resource:Q722731 ) } }
Jorge Eielson Yvonne K. Fulbright
action count
action union
action filter_type
action find
entity Jorge Eielson
relation gender
type sex
action filter_type
action find
entity Yvonne K. Fulbright
relation gender
type sex
['Jorge Eielson', 'gender', {'concept': 'sex'}] ['Yvonne K. Fulbright', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?s property:gender ?z . VALUES ( ?s ) { ( resource:Yvonne_K._Fulbright ) ( resource:Jorge_Eielson ) } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q722731,P21,c(Q290)) (Q8062467,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q722731
relation P21
type Q290
action filter_type
action find
entity Q8062467
relation P21
type Q290
[ANSWER]
['Q722731', 'P21', {'concept': 'Q290'}] ['Q8062467', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?s property:P21 ?z . VALUES ( ?s ) { ( resource:Q8062467 ) ( resource:Q722731 ) } }
male female
2
action count
action union
action filter_type
action find
entity Jorge Eielson
relation gender
type sex
action filter_type
action find
entity Yvonne K. Fulbright
relation gender
type sex
['Jorge Eielson', 'gender', {'concept': 'sex'}] ['Yvonne K. Fulbright', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?s property:gender ?z . VALUES ( ?s ) { ( resource:Yvonne_K._Fulbright ) ( resource:Jorge_Eielson ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3773707 Q722731
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Jorge Eielson or do Museum of Fine Arts of Asturias belong to ?
OR((Q722731,P27,c(Q15617994)), (Q3773707,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q722731
relation P27
action find
entity Q3773707
relation P17
type Q15617994
{'OR': [['Q722731', 'P27', {'concept': 'Q15617994'}], ['Q3773707', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q722731 property:P27 ?g } UNION { resource:Q3773707 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Museum of Fine Arts of Asturias Jorge Eielson
action filter_type
action union
action find
entity Jorge Eielson
relation country of citizenship
action find
entity Museum of Fine Arts of Asturias
relation country
type designation for an administrative territorial entity
{'OR': [['Jorge Eielson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Museum of Fine Arts of Asturias', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Jorge_Eielson property:country_of_citizenship ?g } UNION { resource:Museum_of_Fine_Arts_of_Asturias property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q29
SYSTEM
Peru, Spain
Q419 Q29
OR((Q722731,P27,c(Q15617994)), (Q3773707,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q722731
relation P27
action find
entity Q3773707
relation P17
type Q15617994
[ANSWERS] are the native countriesof Jorge Eielson or do Museum of Fine Arts of Asturias belong to
{'OR': [['Q722731', 'P27', {'concept': 'Q15617994'}], ['Q3773707', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q722731 property:P27 ?g } UNION { resource:Q3773707 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Peru Spain
Peru and Spain are the native countriesof Jorge Eielson or do Museum of Fine Arts of Asturias belong to
Peru Spain
action filter_type
action union
action find
entity Jorge Eielson
relation country of citizenship
action find
entity Museum of Fine Arts of Asturias
relation country
type designation for an administrative territorial entity
{'OR': [['Jorge Eielson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Museum of Fine Arts of Asturias', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Jorge_Eielson property:country_of_citizenship ?g } UNION { resource:Museum_of_Fine_Arts_of_Asturias property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atleast 59 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 59
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?a ) WHERE { ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?u property:P530 ?t } GROUP BY ?u } . FILTER ( ?a >= 59 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?a ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?t } GROUP BY ?u } . FILTER ( ?a >= 59 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 59
[ANSWERS] have tactful political relations with atleast 59 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?a ) WHERE { ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?u property:P530 ?t } GROUP BY ?u } . FILTER ( ?a >= 59 ) }
Italy Georgia
Italy and Georgia have tactful political relations with atleast 59 administrative territories
Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?a ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?t } GROUP BY ?u } . FILTER ( ?a >= 59 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4442524
P530
Q1048835
USER
Do Stetsivka have diplomatic relations with those administrative territories ?
(Q4442524,P530,Q38) (Q4442524,P530,Q230)
action is_in
entity prev_answer
action find
entity Q4442524
relation P530
['Q4442524', 'P530', 'Q38'] ['Q4442524', 'P530', 'Q230']
ASK WHERE { resource:Q4442524 property:P530 ?w . VALUES ( ?w ) { ( resource:Q38 ) ( resource:Q230 ) } }
Stetsivka
action is_in
entity prev_answer
action find
entity Stetsivka
relation diplomatic relation
['Stetsivka', 'diplomatic relation', 'Italy'] ['Stetsivka', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Stetsivka property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
political territorial entity
SYSTEM
NO
(Q4442524,P530,Q38) (Q4442524,P530,Q230)
action is_in
entity prev_answer
action find
entity Q4442524
relation P530
[ANSWER]
['Q4442524', 'P530', 'Q38'] ['Q4442524', 'P530', 'Q230']
ASK WHERE { resource:Q4442524 property:P530 ?w . VALUES ( ?w ) { ( resource:Q38 ) ( resource:Q230 ) } }
No
action is_in
entity prev_answer
action find
entity Stetsivka
relation diplomatic relation
['Stetsivka', 'diplomatic relation', 'Italy'] ['Stetsivka', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Stetsivka property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q1030
P530
Q1048835
USER
How many political territories have tactful political relations with Spain and Namibia ?
(c(Q1048835),P530,Q29) (c(Q1048835),P530,Q1030)
action count
action intersection
action filter_type
action find_reverse
entity Q29
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q1030
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q1030']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P530 resource:Q29 . ?i rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 . ?i property:P530 resource:Q1030 }
Spain Namibia
action count
action intersection
action filter_type
action find_reverse
entity Spain
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Namibia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Namibia']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:diplomatic_relation resource:Spain . ?i rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?i property:diplomatic_relation resource:Namibia }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q29) (c(Q1048835),P530,Q1030)
action count
action intersection
action filter_type
action find_reverse
entity Q29
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q1030
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q1030']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P530 resource:Q29 . ?i rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 . ?i property:P530 resource:Q1030 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Spain
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Namibia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Namibia']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:diplomatic_relation resource:Spain . ?i rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?i property:diplomatic_relation resource:Namibia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q494305
P706
Q82794 Q473972 Q15617994
USER
Which administrative territories are located in less number of geographic regions and protected areas than Kelheim ?
(c(Q15617994),P706,c(Q82794)|c(Q473972))
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action count
action filter_multi_types
action find
entity Q494305
relation P706
type Q82794
type Q473972
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q473972'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q82794 . ?v property:P706 ?b } UNION { ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q473972 . ?v property:P706 ?b } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q494305 property:P706 ?m . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q473972 ) ( ontology:Q82794 ) } } } } . FILTER ( ?e < ?a ) }
Kelheim
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action count
action filter_multi_types
action find
entity Kelheim
relation located on terrain feature
type geographic region
type protected area
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'protected area'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:geographic_region . ?v property:located_on_terrain_feature ?b } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:protected_area . ?v property:located_on_terrain_feature ?b } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Kelheim property:located_on_terrain_feature ?m . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:protected_area ) ( ontology:geographic_region ) } } } } . FILTER ( ?e < ?a ) }
[]
geographic region protected area designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q3003231 Q505665 Q1462 Q4692611 Q521132 Q790 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 Q21074475 Q771971 Q3942 Q145 Q333149 Q27 Q565749 Q4770750 Q20836 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q7561974 Q72432 Q504134 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q82794)|c(Q473972))
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action count
action filter_multi_types
action find
entity Q494305
relation P706
type Q82794
type Q473972
[ANSWERS] are located in less number of geographic regions and protected areas than Kelheim
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q473972'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q82794 . ?v property:P706 ?b } UNION { ?v rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q473972 . ?v property:P706 ?b } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q494305 property:P706 ?m . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q473972 ) ( ontology:Q82794 ) } } } } . FILTER ( ?e < ?a ) }
Yemen Leivathos Langen Zagori Oberhof 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 Croisset Bergen Sardinia Agios Dimitrios, Cephalonia Hilpoltstein Haiti 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 Nenndorf Avlida Aschaffenburg United Kingdom Abstatt Ireland Erden Ansons Bay Hallig Hooge Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal 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 Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Sonning Eye Procida Kirchlinteln Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China, United Kingdom and Yemen are located in less number of geographic regions and protected areas than Kelheim
People's Republic of China United Kingdom Yemen
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action count
action filter_multi_types
action find
entity Kelheim
relation located on terrain feature
type geographic region
type protected area
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'protected area'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:geographic_region . ?v property:located_on_terrain_feature ?b } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:protected_area . ?v property:located_on_terrain_feature ?b } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Kelheim property:located_on_terrain_feature ?m . { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:protected_area ) ( ontology:geographic_region ) } } } } . FILTER ( ?e < ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q252772
P706
Q82794 Q473972 Q15617994
USER
And what about Eichstätt?
(c(Q15617994),P706,c(Q82794)|c(Q473972))
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action count
action filter_multi_types
action find
entity Q252772
relation P706
type Q82794
type Q473972
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q473972'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?a ) { ( ontology:Q82794 ) ( ontology:Q473972 ) } . ?i rdf:type ?a } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q252772 property:P706 ?o . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q82794 ) ( ontology:Q473972 ) } } } } . FILTER ( ?u < ?g ) }
Eichstätt
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action count
action filter_multi_types
action find
entity Eichstätt
relation located on terrain feature
type geographic region
type protected area
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'protected area'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?a ) { ( ontology:geographic_region ) ( ontology:protected_area ) } . ?i rdf:type ?a } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Eichstätt property:located_on_terrain_feature ?o . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:geographic_region ) ( ontology:protected_area ) } } } } . FILTER ( ?u < ?g ) }
[]
geographic region protected area designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q3003231 Q505665 Q1462 Q4692611 Q521132 Q790 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 Q21074475 Q771971 Q3942 Q145 Q333149 Q27 Q565749 Q4770750 Q20836 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q7561974 Q72432 Q504134 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q82794)|c(Q473972))
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action count
action filter_multi_types
action find
entity Q252772
relation P706
type Q82794
type Q473972
[ANSWERS]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q473972'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?a ) { ( ontology:Q82794 ) ( ontology:Q473972 ) } . ?i rdf:type ?a } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q252772 property:P706 ?o . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q82794 ) ( ontology:Q473972 ) } } } } . FILTER ( ?u < ?g ) }
Yemen Leivathos Langen Zagori Oberhof 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 Croisset Bergen Sardinia Agios Dimitrios, Cephalonia Hilpoltstein Haiti 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 Nenndorf Avlida Aschaffenburg United Kingdom Abstatt Ireland Erden Ansons Bay Hallig Hooge Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal 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 Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Sonning Eye Procida Kirchlinteln Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China United Kingdom Yemen
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action count
action filter_multi_types
action find
entity Eichstätt
relation located on terrain feature
type geographic region
type protected area
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'protected area'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?u ) WHERE { VALUES ( ?a ) { ( ontology:geographic_region ) ( ontology:protected_area ) } . ?i rdf:type ?a } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Eichstätt property:located_on_terrain_feature ?o . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:geographic_region ) ( ontology:protected_area ) } } } } . FILTER ( ?u < ?g ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q148 Q145 Q805
P6
Q502895
USER
Which people have People's Republic of China, United Kingdom and Yemen as their heads of government ?
(Q148,P6,c(Q502895)) (Q145,P6,c(Q502895)) (Q805,P6,c(Q502895))
action union
action filter_type
action find
entity Q148
relation P6
type Q502895
action filter_type
action find
entity Q145
relation P6
type Q502895
action filter_type
action find
entity Q805
relation P6
type Q502895
['Q148', 'P6', {'concept': 'Q502895'}] ['Q145', 'P6', {'concept': 'Q502895'}] ['Q805', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { resource:Q148 property:P6 ?k . ?k rdf:type ontology:Q502895 } UNION { resource:Q145 property:P6 ?k . ?k rdf:type ontology:Q502895 } }
People's Republic of China United Kingdom Yemen
action union
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
action filter_type
action find
entity United Kingdom
relation head of government
type common name
action filter_type
action find
entity Yemen
relation head of government
type common name
["People's Republic of China", 'head of government', {'concept': 'common name'}] ['United Kingdom', 'head of government', {'concept': 'common name'}] ['Yemen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { resource:People's_Republic_of_China property:head_of_government ?k . ?k rdf:type ontology:common_name } UNION { resource:United_Kingdom property:head_of_government ?k . ?k rdf:type ontology:common_name } }
[]
common name
Q264766 Q192 Q17410
SYSTEM
Theresa May, David Cameron, Zhou Enlai
Q99829 Q41570 Q18111 Q18285 Q18301 Q17410 Q16628 Q192 Q264766 Q12240557 Q57905 Q6399485 Q20385886 Q362268 Q5434768 Q4119595 Q1322893 Q307338 Q2622743
(Q148,P6,c(Q502895)) (Q145,P6,c(Q502895)) (Q805,P6,c(Q502895))
action union
action filter_type
action find
entity Q148
relation P6
type Q502895
action filter_type
action find
entity Q145
relation P6
type Q502895
action filter_type
action find
entity Q805
relation P6
type Q502895
[ANSWERS] have People's Republic of China, United Kingdom and Yemen as their heads of government
['Q148', 'P6', {'concept': 'Q502895'}] ['Q145', 'P6', {'concept': 'Q502895'}] ['Q805', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { resource:Q148 property:P6 ?k . ?k rdf:type ontology:Q502895 } UNION { resource:Q145 property:P6 ?k . ?k rdf:type ontology:Q502895 } }
Zhao Ziyang Hua Guofeng Li Keqiang Zhu Rongji Li Peng Zhou Enlai Wen Jiabao David Cameron Theresa May Muhammad Said al-Attar Mohammed Basindawa Khalid Bahah Ahmed Obaid Bin-Dagher Ali Muhammad Mujawar Faraj Said Bin Ghanem Abd Al-Karim Al-Iryani Haidar Abu Bakr al-Attas Abdul Qadir Bajamal Abdul Aziz Abdul Ghani
Theresa May, David Cameron and Zhou Enlai have People's Republic of China, United Kingdom and Yemen as their heads of government
Theresa May David Cameron Zhou Enlai
action union
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
action filter_type
action find
entity United Kingdom
relation head of government
type common name
action filter_type
action find
entity Yemen
relation head of government
type common name
["People's Republic of China", 'head of government', {'concept': 'common name'}] ['United Kingdom', 'head of government', {'concept': 'common name'}] ['Yemen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { resource:People's_Republic_of_China property:head_of_government ?k . ?k rdf:type ontology:common_name } UNION { resource:United_Kingdom property:head_of_government ?k . ?k rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q264766 Q192 Q17410
P27
Q15617994
USER
Which administrative territories are Theresa May, David Cameron and Zhou Enlai an inhabitant of ?
(Q264766,P27,c(Q15617994)) (Q192,P27,c(Q15617994)) (Q17410,P27,c(Q15617994))
action union
action filter_type
action find
entity Q264766
relation P27
type Q15617994
action filter_type
action find
entity Q192
relation P27
type Q15617994
action filter_type
action find
entity Q17410
relation P27
type Q15617994
['Q264766', 'P27', {'concept': 'Q15617994'}] ['Q192', 'P27', {'concept': 'Q15617994'}] ['Q17410', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?r property:P27 ?o . VALUES ( ?r ) { ( resource:Q192 ) ( resource:Q264766 ) } }
Theresa May David Cameron Zhou Enlai
action union
action filter_type
action find
entity Theresa May
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity David Cameron
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Zhou Enlai
relation country of citizenship
type designation for an administrative territorial entity
['Theresa May', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['David Cameron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zhou Enlai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?r property:country_of_citizenship ?o . VALUES ( ?r ) { ( resource:David_Cameron ) ( resource:Theresa_May ) } }
[]
designation for an administrative territorial entity
Q145 Q145 Q148
SYSTEM
People's Republic of China for 3rd, United Kingdom for 1st, 2nd
Q145 Q145 Q148
(Q264766,P27,c(Q15617994)) (Q192,P27,c(Q15617994)) (Q17410,P27,c(Q15617994))
action union
action filter_type
action find
entity Q264766
relation P27
type Q15617994
action filter_type
action find
entity Q192
relation P27
type Q15617994
action filter_type
action find
entity Q17410
relation P27
type Q15617994
[ANSWERS]
['Q264766', 'P27', {'concept': 'Q15617994'}] ['Q192', 'P27', {'concept': 'Q15617994'}] ['Q17410', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?r property:P27 ?o . VALUES ( ?r ) { ( resource:Q192 ) ( resource:Q264766 ) } }
United Kingdom United Kingdom People's Republic of China
The United Kingdom, United Kingdom and People's Republic of China are Theresa May, David Cameron and Zhou Enlai an inhabitant of
United Kingdom United Kingdom People's Republic of China
action union
action filter_type
action find
entity Theresa May
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity David Cameron
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Zhou Enlai
relation country of citizenship
type designation for an administrative territorial entity
['Theresa May', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['David Cameron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zhou Enlai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?r property:country_of_citizenship ?o . VALUES ( ?r ) { ( resource:David_Cameron ) ( resource:Theresa_May ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192
P1412
Q34770
USER
Which language can David Cameron read ?
(Q192,P1412,c(Q34770))
action filter_type
action find
entity Q192
relation P1412
type Q34770
['Q192', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q192 property:P1412 ?d }
David Cameron
action filter_type
action find
entity David Cameron
relation languages spoken, written or signed
type language
['David Cameron', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:David_Cameron property:languages_spoken,_written_or_signed ?d }
[]
language
Q1860
SYSTEM
English
Q1860
(Q192,P1412,c(Q34770))
action filter_type
action find
entity Q192
relation P1412
type Q34770
David Cameron can read [ANSWER]
['Q192', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q192 property:P1412 ?d }
English
David Cameron can read English
English
action filter_type
action find
entity David Cameron
relation languages spoken, written or signed
type language
['David Cameron', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:David_Cameron property:languages_spoken,_written_or_signed ?d }
[]