Simple Question (Direct)
Simple Question
Q18218041
P937
Q56061
USER
What is the work location of Thomas Stallworth III ?
(Q18218041,P937,c(Q56061))
action filter_type
action find
entity Q18218041
relation P937
type Q56061
['Q18218041', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q18218041 property:P937 ?u . ?u rdf:type ontology:Q56061 }
Thomas Stallworth III
action filter_type
action find
entity Thomas Stallworth III
relation work location
type administrative territorial entity
['Thomas Stallworth III', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Stallworth_III property:work_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28237
SYSTEM
Lansing
Q28237
(Q18218041,P937,c(Q56061))
action filter_type
action find
entity Q18218041
relation P937
type Q56061
The work location of Thomas Stallworth III is in [ANSWER]
['Q18218041', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q18218041 property:P937 ?u . ?u rdf:type ontology:Q56061 }
Lansing
The work location of Thomas Stallworth III is in Lansing
Lansing
action filter_type
action find
entity Thomas Stallworth III
relation work location
type administrative territorial entity
['Thomas Stallworth III', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Stallworth_III property:work_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28237
P159
Q43229
USER
Which organizations have their head office location at that administrative territory ?
(c(Q43229),P159,Q28237)
action filter_type
action find_reverse
entity Q28237
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q28237']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q28237 . ?x rdf:type ontology:Q43229 }
Lansing
action filter_type
action find_reverse
entity Lansing
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Lansing']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Lansing . ?x rdf:type ontology:organization }
[]
organization
Q19768262 Q1266780 Q5353976
SYSTEM
REO Motor Car Company, Durant Motors, Elderly Instruments
Q19768262 Q5353976 Q4906876 Q7573760 Q5969757 Q17114199 Q17030936 Q6819306 Q4672559 Q1266780 Q17031875 Q7859087 Q5254400
(c(Q43229),P159,Q28237)
action filter_type
action find_reverse
entity Q28237
relation P159
type Q43229
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q28237']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q28237 . ?x rdf:type ontology:Q43229 }
REO Motor Car Company Elderly Instruments Biggby Coffee Sparrow Health System ICS Marketing Support Services NeoGen Lansing Board of Water & Light Meridian Entertainment Group Accident Fund Durant Motors Liquid Web Two Men and a Truck Delphi Glass
REO Motor Car Company, Durant Motors and Elderly Instruments have their head office location at that administrative territory
REO Motor Car Company Durant Motors Elderly Instruments
action filter_type
action find_reverse
entity Lansing
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Lansing']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Lansing . ?x rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q28237
P17
Q15617994
USER
How many administrative territories are Lansing present in ?
(Q28237,P17,c(Q15617994))
action count
action filter_type
action find
entity Q28237
relation P17
type Q15617994
['Q28237', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q28237 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Lansing
action count
action filter_type
action find
entity Lansing
relation country
type designation for an administrative territorial entity
['Lansing', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Lansing property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q28237,P17,c(Q15617994))
action count
action filter_type
action find
entity Q28237
relation P17
type Q15617994
[ANSWER]
['Q28237', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q28237 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Lansing
relation country
type designation for an administrative territorial entity
['Lansing', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Lansing property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19647543
P276
Q56061
USER
Where is Weerakker situated ?
(Q19647543,P276,c(Q56061))
action filter_type
action find
entity Q19647543
relation P276
type Q56061
['Q19647543', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q19647543 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Weerakker
action filter_type
action find
entity Weerakker
relation location
type administrative territorial entity
['Weerakker', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Weerakker property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15884208
SYSTEM
Zevenaar
Q15884208
(Q19647543,P276,c(Q56061))
action filter_type
action find
entity Q19647543
relation P276
type Q56061
Weerakker is situated in [ANSWER]
['Q19647543', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q19647543 property:P276 ?x . ?x rdf:type ontology:Q56061 }
Zevenaar
Weerakker is situated in Zevenaar
Zevenaar
action filter_type
action find
entity Weerakker
relation location
type administrative territorial entity
['Weerakker', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Weerakker property:location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15884208
P17
Q15617994
USER
Which administrative territory is that administrative territory a part of ?
(Q15884208,P17,c(Q15617994))
action filter_type
action find
entity Q15884208
relation P17
type Q15617994
['Q15884208', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q15884208 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Zevenaar
action filter_type
action find
entity Zevenaar
relation country
type designation for an administrative territorial entity
['Zevenaar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Zevenaar property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q15884208,P17,c(Q15617994))
action filter_type
action find
entity Q15884208
relation P17
type Q15617994
[ANSWER] is that administrative territory a part of
['Q15884208', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q15884208 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Netherlands
Netherlands is that administrative territory a part of
Netherlands
action filter_type
action find
entity Zevenaar
relation country
type designation for an administrative territorial entity
['Zevenaar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Zevenaar property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P137
Q811430
USER
Which construction can be described as facility operator of that administrative territory ?
(c(Q811430),P137,Q55)
action filter_type
action find_reverse
entity Q55
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q55']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q55 . ?h rdf:type ontology:Q811430 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Netherlands']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Netherlands . ?h rdf:type ontology:construction }
[]
construction
Q873010
SYSTEM
Embassy of the Netherlands, Berlin
Q873010
(c(Q811430),P137,Q55)
action filter_type
action find_reverse
entity Q55
relation P137
type Q811430
[ANSWER] can be described as facility operator of that administrative territory
[{'concept': 'Q811430'}, 'P137', 'Q55']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q55 . ?h rdf:type ontology:Q811430 }
Embassy of the Netherlands, Berlin
Embassy of the Netherlands, Berlin can be described as facility operator of that administrative territory
Embassy of the Netherlands, Berlin
action filter_type
action find_reverse
entity Netherlands
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Netherlands']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Netherlands . ?h rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q873010
P84
Q502895
USER
Who architected that construction ?
(Q873010,P84,c(Q502895))
action filter_type
action find
entity Q873010
relation P84
type Q502895
['Q873010', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q873010 property:P84 ?r }
Embassy of the Netherlands, Berlin
action filter_type
action find
entity Embassy of the Netherlands, Berlin
relation architect
type common name
['Embassy of the Netherlands, Berlin', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Embassy_of_the_Netherlands,_Berlin property:architect ?r }
[]
common name
Q232364
SYSTEM
Rem Koolhaas
Q232364
(Q873010,P84,c(Q502895))
action filter_type
action find
entity Q873010
relation P84
type Q502895
[ANSWER] architected that construction
['Q873010', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q873010 property:P84 ?r }
Rem Koolhaas
Rem Koolhaas architected that construction
Rem Koolhaas
action filter_type
action find
entity Embassy of the Netherlands, Berlin
relation architect
type common name
['Embassy of the Netherlands, Berlin', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Embassy_of_the_Netherlands,_Berlin property:architect ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q27627540
P725
Q502895 Q386724
USER
How many works did more number of people do the dubbing for than Doctor Strange (Doctor Extraño) ?
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q27627540
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?t property:P725 ?w . ?t rdf:type ontology:Q386724 . ?w rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q27627540 property:P725 ?m . ?m rdf:type ontology:Q386724 } } . FILTER ( ?u > ?r ) }
Doctor Strange (Doctor Extraño)
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Doctor Strange (Doctor Extraño)
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?t property:voice_actor ?w . ?t rdf:type ontology:work . ?w rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:voice_actor ?m . ?m rdf:type ontology:work } } . FILTER ( ?u > ?r ) }
[]
common name work
SYSTEM
10
Q26987217 Q26331781 Q26701981 Q23752771 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q27627540
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?t property:P725 ?w . ?t rdf:type ontology:Q386724 . ?w rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q27627540 property:P725 ?m . ?m rdf:type ontology:Q386724 } } . FILTER ( ?u > ?r ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Iron Man 2
10
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Doctor Strange (Doctor Extraño)
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?t property:voice_actor ?w . ?t rdf:type ontology:work . ?w rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:voice_actor ?m . ?m rdf:type ontology:work } } . FILTER ( ?u > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4692647
P706
Q15324 Q2221906 Q15617994
USER
Which administrative territories are located in greater number of bodies of water and geographic locations than Agios Nikolaos, Cephalonia ?
(c(Q15617994),P706,c(Q15324)|c(Q2221906))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action count
action filter_multi_types
action find
entity Q4692647
relation P706
type Q15324
type Q2221906
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?v WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15324 ) ( ontology:Q2221906 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { { ?g rdf:type ontology:Q2221906 } UNION { ?g rdf:type ontology:Q15324 } } . resource:Q4692647 property:P706 ?g } } . FILTER ( ?u > ?t ) }
Agios Nikolaos, Cephalonia
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Agios Nikolaos, Cephalonia
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?v WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:body_of_water ) ( ontology:geographic_location ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { { ?g rdf:type ontology:geographic_location } UNION { ?g rdf:type ontology:body_of_water } } . resource:Agios_Nikolaos,_Cephalonia property:located_on_terrain_feature ?g } } . FILTER ( ?u > ?t ) }
[]
body of water geographic location designation for an administrative territorial entity
Q33 Q786 Q754
SYSTEM
Finland, Dominican Republic, Trinidad and Tobago
Q24846 Q3172 Q784 Q786 Q25129 Q790 Q496389 Q128230 Q204529 Q244 Q33 Q3146 Q4770750 Q20836 Q20837 Q769680 Q192129 Q3038 Q25130 Q25135 Q3218 Q25125 Q29931 Q754 Q25082 Q262684 Q3193 Q23968 Q760 Q489865 Q72432 Q20754 Q153969 Q55416
(c(Q15617994),P706,c(Q15324)|c(Q2221906))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action count
action filter_multi_types
action find
entity Q4692647
relation P706
type Q15324
type Q2221906
[ANSWERS] are located in greater number of bodies of water and geographic locations than Agios Nikolaos, Cephalonia
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?v WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15324 ) ( ontology:Q2221906 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { { ?g rdf:type ontology:Q2221906 } UNION { ?g rdf:type ontology:Q15324 } } . resource:Q4692647 property:P706 ?g } } . FILTER ( ?u > ?t ) }
Juist Fehmarn Dominica Dominican Republic Langeoog Haiti Lipari Ventotene Zingst Barbados Finland Pellworm Ansons Bay Hallig Hooge Fanø Bornholm Ustica Helgoland Spiekeroog Wangerooge Insel Hiddensee Baltrum Langeneß Trinidad and Tobago Borkum Füssen Ostseebad Insel Poel Norderney Saint Lucia Isola delle Femmine Procida Gröde Lindau Chioggia
Finland, Dominican Republic and Trinidad and Tobago are located in greater number of bodies of water and geographic locations than Agios Nikolaos, Cephalonia
Finland Dominican Republic Trinidad and Tobago
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Agios Nikolaos, Cephalonia
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?v WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:body_of_water ) ( ontology:geographic_location ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { { ?g rdf:type ontology:geographic_location } UNION { ?g rdf:type ontology:body_of_water } } . resource:Agios_Nikolaos,_Cephalonia property:located_on_terrain_feature ?g } } . FILTER ( ?u > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q508054
P706
Q15324 Q2221906 Q15617994
USER
And also tell me about Neu Wulmstorf?
(c(Q15617994),P706,c(Q15324)|c(Q2221906))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action count
action filter_multi_types
action find
entity Q508054
relation P706
type Q15324
type Q2221906
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?z WHERE { { ?z property:P706 ?j . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15324 } UNION { ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2221906 . ?z property:P706 ?j } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q508054 property:P706 ?d . { { ?d rdf:type ontology:Q15324 } UNION { ?d rdf:type ontology:Q2221906 } } } } . FILTER ( ?c > ?n ) }
Neu Wulmstorf
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Neu Wulmstorf
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?z WHERE { { ?z property:located_on_terrain_feature ?j . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:body_of_water } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_location . ?z property:located_on_terrain_feature ?j } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Neu_Wulmstorf property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:body_of_water } UNION { ?d rdf:type ontology:geographic_location } } } } . FILTER ( ?c > ?n ) }
[]
body of water geographic location designation for an administrative territorial entity
Q33 Q786 Q754
SYSTEM
Finland, Dominican Republic, Trinidad and Tobago
Q24846 Q3172 Q784 Q786 Q25129 Q790 Q496389 Q128230 Q204529 Q244 Q33 Q3146 Q4770750 Q20836 Q20837 Q769680 Q192129 Q3038 Q25130 Q25135 Q3218 Q25125 Q29931 Q754 Q25082 Q262684 Q3193 Q23968 Q760 Q489865 Q72432 Q20754 Q153969 Q55416
(c(Q15617994),P706,c(Q15324)|c(Q2221906))
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
action count
action filter_multi_types
action find
entity Q508054
relation P706
type Q15324
type Q2221906
[ANSWERS]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?z WHERE { { ?z property:P706 ?j . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15324 } UNION { ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2221906 . ?z property:P706 ?j } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q508054 property:P706 ?d . { { ?d rdf:type ontology:Q15324 } UNION { ?d rdf:type ontology:Q2221906 } } } } . FILTER ( ?c > ?n ) }
Juist Fehmarn Dominica Dominican Republic Langeoog Haiti Lipari Ventotene Zingst Barbados Finland Pellworm Ansons Bay Hallig Hooge Fanø Bornholm Ustica Helgoland Spiekeroog Wangerooge Insel Hiddensee Baltrum Langeneß Trinidad and Tobago Borkum Füssen Ostseebad Insel Poel Norderney Saint Lucia Isola delle Femmine Procida Gröde Lindau Chioggia
Finland Dominican Republic Trinidad and Tobago
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
action count
action filter_multi_types
action find
entity Neu Wulmstorf
relation located on terrain feature
type body of water
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?z WHERE { { ?z property:located_on_terrain_feature ?j . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:body_of_water } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_location . ?z property:located_on_terrain_feature ?j } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Neu_Wulmstorf property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:body_of_water } UNION { ?d rdf:type ontology:geographic_location } } } } . FILTER ( ?c > ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those administrative territories ?
(Q408,P530,Q33) (Q408,P530,Q786) (Q408,P530,Q754)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q33'] ['Q408', 'P530', 'Q786'] ['Q408', 'P530', 'Q754']
ASK WHERE { resource:Q408 property:P530 ?w . VALUES ( ?w ) { ( resource:Q24846 ) ( resource:Q3172 ) ( resource:Q784 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Finland'] ['Australia', 'diplomatic relation', 'Dominican Republic'] ['Australia', 'diplomatic relation', 'Trinidad and Tobago']
ASK WHERE { resource:Australia property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Juist ) ( resource:Fehmarn ) ( resource:Dominica ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q33) (Q408,P530,Q786) (Q408,P530,Q754)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q33'] ['Q408', 'P530', 'Q786'] ['Q408', 'P530', 'Q754']
ASK WHERE { resource:Q408 property:P530 ?w . VALUES ( ?w ) { ( resource:Q24846 ) ( resource:Q3172 ) ( resource:Q784 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Finland'] ['Australia', 'diplomatic relation', 'Dominican Republic'] ['Australia', 'diplomatic relation', 'Trinidad and Tobago']
ASK WHERE { resource:Australia property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Juist ) ( resource:Fehmarn ) ( resource:Dominica ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7346006 Q33
P463 P108
Q484652
USER
Which international organizations were Finland a member of and are the workplaces of Robert Jackson ?
AND((Q33,P463,c(Q484652)), (Q7346006,P108,c(Q484652)))
action filter_type
action intersection
action find
entity Q33
relation P463
action find
entity Q7346006
relation P108
type Q484652
{'AND': [['Q33', 'P463', {'concept': 'Q484652'}], ['Q7346006', 'P108', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484652 . resource:Q33 property:P463 ?x . resource:Q7346006 property:P108 ?x }
Robert Jackson Finland
action filter_type
action intersection
action find
entity Finland
relation member of
action find
entity Robert Jackson
relation employer
type international organization
{'AND': [['Finland', 'member of', {'concept': 'international organization'}], ['Robert Jackson', 'employer', {'concept': 'international organization'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:international_organization . resource:Finland property:member_of ?x . resource:Robert_Jackson property:employer ?x }
[]
international organization
Q1065
SYSTEM
United Nations
Q1065
AND((Q33,P463,c(Q484652)), (Q7346006,P108,c(Q484652)))
action filter_type
action intersection
action find
entity Q33
relation P463
action find
entity Q7346006
relation P108
type Q484652
[ANSWER] was Finland a member of and are the workplaces of Robert Jackson
{'AND': [['Q33', 'P463', {'concept': 'Q484652'}], ['Q7346006', 'P108', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484652 . resource:Q33 property:P463 ?x . resource:Q7346006 property:P108 ?x }
United Nations
United Nations was Finland a member of and are the workplaces of Robert Jackson
United Nations
action filter_type
action intersection
action find
entity Finland
relation member of
action find
entity Robert Jackson
relation employer
type international organization
{'AND': [['Finland', 'member of', {'concept': 'international organization'}], ['Robert Jackson', 'employer', {'concept': 'international organization'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:international_organization . resource:Finland property:member_of ?x . resource:Robert_Jackson property:employer ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1065 Q8961355
P108
Q502895
USER
Does Fernando Mendiluce work for that international organization ?
(Q8961355,P108,Q1065)
action is_in
entity Q8961355
action find
entity Q1065
relation P108
['Q8961355', 'P108', 'Q1065']
ASK WHERE { resource:Q1065 property:P108 resource:Q8961355 }
United Nations Fernando Mendiluce
action is_in
entity Fernando Mendiluce
action find
entity United Nations
relation employer
['Fernando Mendiluce', 'employer', 'United Nations']
ASK WHERE { resource:United_Nations property:employer resource:Fernando_Mendiluce }
[]
common name
SYSTEM
NO
(Q8961355,P108,Q1065)
action is_in
entity Q8961355
action find
entity Q1065
relation P108
[ANSWER]
['Q8961355', 'P108', 'Q1065']
ASK WHERE { resource:Q1065 property:P108 resource:Q8961355 }
No
action is_in
entity Fernando Mendiluce
action find
entity United Nations
relation employer
['Fernando Mendiluce', 'employer', 'United Nations']
ASK WHERE { resource:United_Nations property:employer resource:Fernando_Mendiluce }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q754 Q5048060 Q408
P530
Q1048835
USER
Does Trinidad and Tobago have tactful political relations with Casate and Australia ?
(Q754,P530,Q5048060) (Q754,P530,Q408)
action is_in
entity Q754
action intersection
action find_reverse
entity Q5048060
relation P530
action find_reverse
entity Q408
relation P530
['Q754', 'P530', 'Q5048060'] ['Q754', 'P530', 'Q408']
ASK WHERE { resource:Q754 property:P530 resource:Q408 . resource:Q754 property:P530 resource:Q5048060 }
Trinidad and Tobago Casate Australia
action is_in
entity Trinidad and Tobago
action intersection
action find_reverse
entity Casate
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Trinidad and Tobago', 'diplomatic relation', 'Casate'] ['Trinidad and Tobago', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Trinidad_and_Tobago property:diplomatic_relation resource:Australia . resource:Trinidad_and_Tobago property:diplomatic_relation resource:Casate }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q754,P530,Q5048060) (Q754,P530,Q408)
action is_in
entity Q754
action intersection
action find_reverse
entity Q5048060
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q754', 'P530', 'Q5048060'] ['Q754', 'P530', 'Q408']
ASK WHERE { resource:Q754 property:P530 resource:Q408 . resource:Q754 property:P530 resource:Q5048060 }
NO and YES respectively
action is_in
entity Trinidad and Tobago
action intersection
action find_reverse
entity Casate
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Trinidad and Tobago', 'diplomatic relation', 'Casate'] ['Trinidad and Tobago', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Trinidad_and_Tobago property:diplomatic_relation resource:Australia . resource:Trinidad_and_Tobago property:diplomatic_relation resource:Casate }
[]