Simple Question (Direct)
Simple Question
Q76747
P119
Q43229
USER
Where was Matthias Jakob Schleiden buried ?
(Q76747,P119,c(Q43229))
action filter_type
action find
entity Q76747
relation P119
type Q43229
['Q76747', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q76747 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Matthias Jakob Schleiden
action filter_type
action find
entity Matthias Jakob Schleiden
relation place of burial
type organization
['Matthias Jakob Schleiden', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Matthias_Jakob_Schleiden property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
organization
Q881481
SYSTEM
Frankfurt Main Cemetery
Q881481
(Q76747,P119,c(Q43229))
action filter_type
action find
entity Q76747
relation P119
type Q43229
Matthias Jakob Schleiden was buried in [ANSWER]
['Q76747', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q76747 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Frankfurt Main Cemetery
Matthias Jakob Schleiden was buried in Frankfurt Main Cemetery
Frankfurt Main Cemetery
action filter_type
action find
entity Matthias Jakob Schleiden
relation place of burial
type organization
['Matthias Jakob Schleiden', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Matthias_Jakob_Schleiden property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q76747
P184
Q502895
USER
Who has that one as doctor advisor ?
(c(Q502895),P184,Q881481)
action filter_type
action find_reverse
entity Q76747
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q881481']
SELECT DISTINCT ?f WHERE { ?f property:P184 resource:Q76747 . ?f rdf:type ontology:Q502895 }
Matthias Jakob Schleiden
action filter_type
action find_reverse
entity Matthias Jakob Schleiden
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Frankfurt Main Cemetery']
SELECT DISTINCT ?f WHERE { ?f property:doctoral_advisor resource:Matthias_Jakob_Schleiden . ?f rdf:type ontology:common_name }
[]
common name
Q4290975
SYSTEM
Karl Eugen von Mercklin
Q4290975
(c(Q502895),P184,Q881481)
action filter_type
action find_reverse
entity Q76747
relation P184
type Q502895
[ANSWER] has that one as doctor advisor
[{'concept': 'Q502895'}, 'P184', 'Q881481']
SELECT DISTINCT ?f WHERE { ?f property:P184 resource:Q76747 . ?f rdf:type ontology:Q502895 }
Karl Eugen von Mercklin
Karl Eugen von Mercklin has that one as doctor advisor
Karl Eugen von Mercklin
action filter_type
action find_reverse
entity Matthias Jakob Schleiden
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Frankfurt Main Cemetery']
SELECT DISTINCT ?f WHERE { ?f property:doctoral_advisor resource:Matthias_Jakob_Schleiden . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4290975
P69
Q3918
USER
Which university is the alma mater of that person ?
(Q4290975,P69,c(Q3918))
action filter_type
action find
entity Q4290975
relation P69
type Q3918
['Q4290975', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q4290975 property:P69 ?f . ?f rdf:type ontology:Q3918 }
Karl Eugen von Mercklin
action filter_type
action find
entity Karl Eugen von Mercklin
relation educated at
type university
['Karl Eugen von Mercklin', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:Karl_Eugen_von_Mercklin property:educated_at ?f . ?f rdf:type ontology:university }
[]
university
Q204181
SYSTEM
University of Tartu
Q204181
(Q4290975,P69,c(Q3918))
action filter_type
action find
entity Q4290975
relation P69
type Q3918
[ANSWER] is the alma mater of that person
['Q4290975', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q4290975 property:P69 ?f . ?f rdf:type ontology:Q3918 }
University of Tartu
University of Tartu is the alma mater of that person
University of Tartu
action filter_type
action find
entity Karl Eugen von Mercklin
relation educated at
type university
['Karl Eugen von Mercklin', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:Karl_Eugen_von_Mercklin property:educated_at ?f . ?f rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q881481
P17
Q1048835
USER
How many political territories are Frankfurt Main Cemetery a part of ?
(Q881481,P17,c(Q1048835))
action count
action filter_type
action find
entity Q881481
relation P17
type Q1048835
['Q881481', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q881481 property:P17 ?w }
Frankfurt Main Cemetery
action count
action filter_type
action find
entity Frankfurt Main Cemetery
relation country
type political territorial entity
['Frankfurt Main Cemetery', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Frankfurt_Main_Cemetery property:country ?w }
[]
political territorial entity
SYSTEM
1
Q183
(Q881481,P17,c(Q1048835))
action count
action filter_type
action find
entity Q881481
relation P17
type Q1048835
[ANSWER]
['Q881481', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q881481 property:P17 ?w }
Germany
1
action count
action filter_type
action find
entity Frankfurt Main Cemetery
relation country
type political territorial entity
['Frankfurt Main Cemetery', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Frankfurt_Main_Cemetery property:country ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1549108
P17
Q1048835
USER
And how about Großer Wurzelnberg?
(Q1549108,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1549108
relation P17
type Q1048835
['Q1549108', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q1549108 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Großer Wurzelnberg
action count
action filter_type
action find
entity Großer Wurzelnberg
relation country
type political territorial entity
['Großer Wurzelnberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Großer_Wurzelnberg property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1549108,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1549108
relation P17
type Q1048835
[ANSWER]
['Q1549108', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q1549108 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Großer Wurzelnberg
relation country
type political territorial entity
['Großer Wurzelnberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Großer_Wurzelnberg property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12327935
Q1048835
USER
And how about Museum Ovartaci?
(Q12327935,P17,c(Q1048835))
action count
action filter_type
action find
entity Q12327935
relation P17
type Q1048835
['Q12327935', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q12327935 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Museum Ovartaci
action count
action filter_type
action find
entity Museum Ovartaci
relation country
type political territorial entity
['Museum Ovartaci', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Museum_Ovartaci property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q12327935,P17,c(Q1048835))
action count
action filter_type
action find
entity Q12327935
relation P17
type Q1048835
[ANSWER]
['Q12327935', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q12327935 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Museum Ovartaci
relation country
type political territorial entity
['Museum Ovartaci', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Museum_Ovartaci property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q6619679 Q502895 Q43229
USER
Which organizations are the eponym of min number of fictional humanoids and people ?
(c(Q43229),P138,c(Q6619679)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P138
type Q43229
type Q6619679
action find_tuple_counts
relation P138
type Q43229
type Q502895
[{'concept': 'Q43229'}, 'P138', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g rdf:type ontology:Q43229 . ?m rdf:type ontology:Q6619679 . ?g property:P138 ?m } UNION { ?g rdf:type ontology:Q43229 . ?m rdf:type ontology:Q502895 . ?g property:P138 ?m } } GROUP BY ?g } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?a WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q6619679 ) ( ontology:Q502895 ) } } GROUP BY ?a } }
action argmin
action union
action find_tuple_counts
relation named after
type organization
type fictional humanoid
action find_tuple_counts
relation named after
type organization
type common name
[{'concept': 'organization'}, 'named after', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g rdf:type ontology:organization . ?m rdf:type ontology:fictional_humanoid . ?g property:named_after ?m } UNION { ?g rdf:type ontology:organization . ?m rdf:type ontology:common_name . ?g property:named_after ?m } } GROUP BY ?g } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?a WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:fictional_humanoid ) ( ontology:common_name ) } } GROUP BY ?a } }
[]
fictional humanoid common name organization
Q95 Q1422 Q173395
SYSTEM
Google, Juventus F.C., Cisco Systems
Q16201750 Q4635928 Q3498746 Q2565848 Q2616400 Q41644 Q5842736 Q459965 Q21012625 Q1194970 Q694008 Q15298319 Q1016054 Q4752572 Q2927468 Q1760825 Q7553212 Q3285819 Q23445889 Q2703822 Q2893347 Q6095017 Q1763170 Q1479740 Q6035779 Q1105851 Q20643375 Q5039494 Q542511 Q82162 Q270223 Q2157537 Q1562826 Q11892170 Q4006568 Q13019092 Q15689509 Q7899836 Q1700277 Q25163815 Q900387 Q428649 Q4955939 Q76039 Q2875200 Q16981855 Q1044630 Q65275 Q173395 Q95 Q6823260 Q201977 Q2098323 Q4589570 Q455484 Q143017 Q322320 Q466183 Q25110345 Q6969050 Q179885 Q11891929 Q117035 Q27432 Q826437 Q1422 Q1783048 Q22669992 Q483915 Q844488 Q795306 Q568797 Q909169 Q127305 Q22340635 Q694218 Q7937037 Q52579 Q1554299 Q2096963 Q118967 Q3061374 Q838166 Q4221349 Q1413205 Q160521 Q1471792 Q1321504 Q152864 Q20792399 Q2275355 Q156652 Q19824550 Q1620931 Q5015773 Q300323
(c(Q43229),P138,c(Q6619679)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P138
type Q43229
type Q6619679
action find_tuple_counts
relation P138
type Q43229
type Q502895
[ANSWERS] are the eponym of min number of fictional humanoids and people
[{'concept': 'Q43229'}, 'P138', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g rdf:type ontology:Q43229 . ?m rdf:type ontology:Q6619679 . ?g property:P138 ?m } UNION { ?g rdf:type ontology:Q43229 . ?m rdf:type ontology:Q502895 . ?g property:P138 ?m } } GROUP BY ?g } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?a WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:Q6619679 ) ( ontology:Q502895 ) } } GROUP BY ?a } }
Harry Potter Alliance 3801 Limited Avions Voisin Circus Herman Renz Y Combinator Warsaw Pact Corning Inc. Caterpillar Inc. First Latem school dot-com company Max Havelaar État libre d'Orange Burgtorfriedhof Ancestry.com Inc Ohio State Buckeyes Schools of Sint-Martens-Latem Sodak Gaming Manhattan Associates World Mime Organization Skywalker Sound MuggleNet Ittiam Systems Ritz Crackers Federation of Western Thrace Turks in Europe Rami Levy Hashikma Marketing Kazan Aircraft Production Association Vril Society Caribou Coffee Hoechst AG Wolvercote Cemetery E.ON SE Brotherhood of Saints Cyril and Methodius VimpelCom Ltd. Samaria ry Urusei Yatsura Thairath foundation Burgfriedhof Bad Godesberg Urban 13 USRobotics La Reunion Cemetery Brauerei Schwelm Project for the New American Century Braintree Hudson's Bay Company Selwerderhof Georgian Bay Land Trust THX Plansee Group Cisco Systems Google Metaswitch Zürcher Verkehrsverbund Plansee SE The Leaky Cauldron Areva Krka Level 3 Communications Reebok LeoVegas Tuxera Jacobin Saimaan kameraseura Der Blaue Reiter Bethlehem Steel Dematic Juventus F.C. Poppelsdorfer Friedhof Murdoch Childrens Research Institute Nike International Bishops' Conference of Saints Cyril and Methodius B612 Foundation Radeberger Brewery's Lotus Software Paulaner Brewery Soldiers of Odin Krombacher Brauerei Vitens-Evides International LKAB Gulfstream Aerospace School of Tervuren Vyšehrad cemetery Evellin, goldsmith Babaoshan Revolutionary Cemetery Cyril and Methodius (company) Church of Lippe The society of Saints Cyril and Methodius Quark, Inc. Tisza Volán Asus Old Dutch Churchyard Abbaye de Créteil Thule Society heidi Friedhof Uemmingen Cabot Creamery A Band Apart
Google, Juventus F.C. and Cisco Systems are the eponym of min number of fictional humanoids and people
Google Juventus F.C. Cisco Systems
action argmin
action union
action find_tuple_counts
relation named after
type organization
type fictional humanoid
action find_tuple_counts
relation named after
type organization
type common name
[{'concept': 'organization'}, 'named after', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g rdf:type ontology:organization . ?m rdf:type ontology:fictional_humanoid . ?g property:named_after ?m } UNION { ?g rdf:type ontology:organization . ?m rdf:type ontology:common_name . ?g property:named_after ?m } } GROUP BY ?g } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?a WHERE { ?k rdf:type ?n . VALUES ( ?n ) { ( ontology:fictional_humanoid ) ( ontology:common_name ) } } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17106663 Q204181
P27 P17
Q15617994
USER
Which administrative territories do University of Tartu belong to or do Sjur Rakstad-Larsen belong to ?
OR((Q204181,P17,c(Q15617994)), (Q17106663,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q204181
relation P17
action find
entity Q17106663
relation P27
type Q15617994
{'OR': [['Q204181', 'P17', {'concept': 'Q15617994'}], ['Q17106663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q204181 property:P17 ?y } UNION { resource:Q17106663 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Sjur Rakstad-Larsen University of Tartu
action filter_type
action union
action find
entity University of Tartu
relation country
action find
entity Sjur Rakstad-Larsen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['University of Tartu', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sjur Rakstad-Larsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:University_of_Tartu property:country ?y } UNION { resource:Sjur_Rakstad-Larsen property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191 Q20
SYSTEM
Estonia, Norway
Q191 Q20
OR((Q204181,P17,c(Q15617994)), (Q17106663,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q204181
relation P17
action find
entity Q17106663
relation P27
type Q15617994
University of Tartu belong to the [ANSWERS]
{'OR': [['Q204181', 'P17', {'concept': 'Q15617994'}], ['Q17106663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q204181 property:P17 ?y } UNION { resource:Q17106663 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Estonia Norway
University of Tartu belong to the Estonia and Norway
Estonia Norway
action filter_type
action union
action find
entity University of Tartu
relation country
action find
entity Sjur Rakstad-Larsen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['University of Tartu', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sjur Rakstad-Larsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:University_of_Tartu property:country ?y } UNION { resource:Sjur_Rakstad-Larsen property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q408
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with approximately the same number of administrative territories as Australia ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q408 property:P530 ?u } } . FILTER ( ?k = ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?k ) WHERE { ?w property:P530 ?r . ?w rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?w } }
Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Australia property:diplomatic_relation ?u } } . FILTER ( ?k = ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?k ) WHERE { ?w property:diplomatic_relation ?r . ?w rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[ANSWERS] are known to have diplomatic connections with approximately the same number of administrative territories as Australia
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q408 property:P530 ?u } } . FILTER ( ?k = ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?k ) WHERE { ?w property:P530 ?r . ?w rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?w } }
Germany Australia
Germany and Australia are known to have diplomatic connections with approximately the same number of administrative territories as Australia
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Australia property:diplomatic_relation ?u } } . FILTER ( ?k = ?t ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?k ) WHERE { ?w property:diplomatic_relation ?r . ?w rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q61043 Q881481
P27 P17
Q1048835
USER
Which political territories are Frankfurt Main Cemetery situated in and are the native countriesof Abraham Fraenkel ?
AND((Q881481,P17,c(Q1048835)), (Q61043,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q881481
relation P17
action find
entity Q61043
relation P27
type Q1048835
{'AND': [['Q881481', 'P17', {'concept': 'Q1048835'}], ['Q61043', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q881481 property:P17 ?y . resource:Q61043 property:P27 ?y }
Abraham Fraenkel Frankfurt Main Cemetery
action filter_type
action intersection
action find
entity Frankfurt Main Cemetery
relation country
action find
entity Abraham Fraenkel
relation country of citizenship
type political territorial entity
{'AND': [['Frankfurt Main Cemetery', 'country', {'concept': 'political territorial entity'}], ['Abraham Fraenkel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Frankfurt_Main_Cemetery property:country ?y . resource:Abraham_Fraenkel property:country_of_citizenship ?y }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q881481,P17,c(Q1048835)), (Q61043,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q881481
relation P17
action find
entity Q61043
relation P27
type Q1048835
Which political territories is Frankfurt Main Cemetery situated in and is the native countriesof Abraham Fraenkel
{'AND': [['Q881481', 'P17', {'concept': 'Q1048835'}], ['Q61043', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q881481 property:P17 ?y . resource:Q61043 property:P27 ?y }
Germany
Which political territories is Frankfurt Main Cemetery situated in and is the native countriesof Abraham Fraenkel
Germany
action filter_type
action intersection
action find
entity Frankfurt Main Cemetery
relation country
action find
entity Abraham Fraenkel
relation country of citizenship
type political territorial entity
{'AND': [['Frankfurt Main Cemetery', 'country', {'concept': 'political territorial entity'}], ['Abraham Fraenkel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Frankfurt_Main_Cemetery property:country ?y . resource:Abraham_Fraenkel property:country_of_citizenship ?y }
[]