Simple Question (Direct)
Simple Question
Q551610
P27
Q1048835
USER
Which political territory does Mike Büskens belong to ?
(Q551610,P27,c(Q1048835))
action filter_type
action find
entity Q551610
relation P27
type Q1048835
['Q551610', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q551610 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Mike Büskens
action filter_type
action find
entity Mike Büskens
relation country of citizenship
type political territorial entity
['Mike Büskens', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Mike_Büskens property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q551610,P27,c(Q1048835))
action filter_type
action find
entity Q551610
relation P27
type Q1048835
Mike Büskens belongs to [ANSWER]
['Q551610', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q551610 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Mike Büskens belongs to Germany
Germany
action filter_type
action find
entity Mike Büskens
relation country of citizenship
type political territorial entity
['Mike Büskens', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Mike_Büskens property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P123
Q166142
USER
Which application produced that political territory ?
(c(Q166142),P123,Q183)
action filter_type
action find_reverse
entity Q183
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q183']
SELECT DISTINCT ?o WHERE { ?o property:P123 resource:Q183 . ?o rdf:type ontology:Q166142 }
Germany
action filter_type
action find_reverse
entity Germany
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Germany']
SELECT DISTINCT ?o WHERE { ?o property:publisher resource:Germany . ?o rdf:type ontology:application }
[]
application
Q2482386
SYSTEM
Realms of Arkania: Blade of Destiny
Q2482386
(c(Q166142),P123,Q183)
action filter_type
action find_reverse
entity Q183
relation P123
type Q166142
[ANSWER] produced that political territory
[{'concept': 'Q166142'}, 'P123', 'Q183']
SELECT DISTINCT ?o WHERE { ?o property:P123 resource:Q183 . ?o rdf:type ontology:Q166142 }
Realms of Arkania: Blade of Destiny
Realms of Arkania: Blade of Destiny produced that political territory
Realms of Arkania: Blade of Destiny
action filter_type
action find_reverse
entity Germany
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Germany']
SELECT DISTINCT ?o WHERE { ?o property:publisher resource:Germany . ?o rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P36
Q56061
USER
Which administrative territories are called the capital of Germany ?
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q183 property:P36 ?p . ?p rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Germany property:capital ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q586
SYSTEM
Berlin, Bonn
Q64 Q586
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
[ANSWERS] are called the capital of Germany
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q183 property:P36 ?p . ?p rdf:type ontology:Q56061 }
Berlin Bonn
Berlin and Bonn are called the capital of Germany
Berlin Bonn
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Germany property:capital ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P138
Q82794
USER
Which geographic region is the origin of Germany ?
(Q183,P138,c(Q82794))
action filter_type
action find
entity Q183
relation P138
type Q82794
['Q183', 'P138', {'concept': 'Q82794'}]
SELECT DISTINCT ?d WHERE { resource:Q183 property:P138 ?d . ?d rdf:type ontology:Q82794 }
Germany
action filter_type
action find
entity Germany
relation named after
type geographic region
['Germany', 'named after', {'concept': 'geographic region'}]
SELECT DISTINCT ?d WHERE { resource:Germany property:named_after ?d . ?d rdf:type ontology:geographic_region }
[]
geographic region
Q62646
SYSTEM
Germania
Q62646
(Q183,P138,c(Q82794))
action filter_type
action find
entity Q183
relation P138
type Q82794
Germany [ANSWER] is the origin of Germany
['Q183', 'P138', {'concept': 'Q82794'}]
SELECT DISTINCT ?d WHERE { resource:Q183 property:P138 ?d . ?d rdf:type ontology:Q82794 }
Germania
Germany Germania is the origin of Germany
Germania
action filter_type
action find
entity Germany
relation named after
type geographic region
['Germany', 'named after', {'concept': 'geographic region'}]
SELECT DISTINCT ?d WHERE { resource:Germany property:named_after ?d . ?d rdf:type ontology:geographic_region }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62646
P20
Q502895
USER
Which person has that geographic region as the area of death ?
(c(Q502895),P20,Q62646)
action filter_type
action find_reverse
entity Q62646
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q62646']
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q62646 . ?n rdf:type ontology:Q502895 }
Germania
action filter_type
action find_reverse
entity Germania
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Germania']
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Germania . ?n rdf:type ontology:common_name }
[]
common name
Q68880
SYSTEM
Arminius
Q68880
(c(Q502895),P20,Q62646)
action filter_type
action find_reverse
entity Q62646
relation P20
type Q502895
[ANSWER] has that geographic region as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q62646']
SELECT DISTINCT ?n WHERE { ?n property:P20 resource:Q62646 . ?n rdf:type ontology:Q502895 }
Arminius
Arminius has that geographic region as the area of death
Arminius
action filter_type
action find_reverse
entity Germania
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Germania']
SELECT DISTINCT ?n WHERE { ?n property:place_of_death resource:Germania . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P1313
Q12737077
USER
Which occupation is fulfilled by Berlin ?
(Q64,P1313,c(Q12737077))
action filter_type
action find
entity Q64
relation P1313
type Q12737077
['Q64', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q64 property:P1313 ?y }
Berlin
action filter_type
action find
entity Berlin
relation office held by head of government
type occupation
['Berlin', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Berlin property:office_held_by_head_of_government ?y }
[]
occupation
Q641159
SYSTEM
Governing Mayor of Berlin
Q641159
(Q64,P1313,c(Q12737077))
action filter_type
action find
entity Q64
relation P1313
type Q12737077
The governing Mayor of Berlin is fulfilled by Berlin
['Q64', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q64 property:P1313 ?y }
Governing Mayor of Berlin
The governing Mayor of Berlin is fulfilled by Berlin
Governing Mayor of Berlin
action filter_type
action find
entity Berlin
relation office held by head of government
type occupation
['Berlin', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Berlin property:office_held_by_head_of_government ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q641159
P488
Q1802419
USER
Which regional government has that occupation as its chairperson ?
(c(Q1802419),P488,Q641159)
action filter_type
action find_reverse
entity Q641159
relation P488
type Q1802419
[{'concept': 'Q1802419'}, 'P488', 'Q641159']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1802419 . ?w property:P488 resource:Q641159 }
Governing Mayor of Berlin
action filter_type
action find_reverse
entity Governing Mayor of Berlin
relation chairperson
type regional government
[{'concept': 'regional government'}, 'chairperson', 'Governing Mayor of Berlin']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:regional_government . ?w property:chairperson resource:Governing_Mayor_of_Berlin }
[]
regional government
Q540130
SYSTEM
Senate of Berlin
Q540130
(c(Q1802419),P488,Q641159)
action filter_type
action find_reverse
entity Q641159
relation P488
type Q1802419
[ANSWER] has that occupation as its chairperson
[{'concept': 'Q1802419'}, 'P488', 'Q641159']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1802419 . ?w property:P488 resource:Q641159 }
Senate of Berlin
Senate of Berlin has that occupation as its chairperson
Senate of Berlin
action filter_type
action find_reverse
entity Governing Mayor of Berlin
relation chairperson
type regional government
[{'concept': 'regional government'}, 'chairperson', 'Governing Mayor of Berlin']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:regional_government . ?w property:chairperson resource:Governing_Mayor_of_Berlin }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P488
Q502895 Q1802419
USER
Which regional governments do approximately the same number of people serve as a chairman for as that regional government ?
(c(Q1802419),P488,c(Q502895))
action approx
action find_tuple_counts
relation P488
type Q1802419
type Q502895
action count
action filter_type
action find
entity Q540130
relation P488
type Q1802419
[{'concept': 'Q1802419'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?l ) WHERE { ?j property:P488 ?e . ?j rdf:type ontology:Q1802419 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q540130 property:P488 ?r . ?r rdf:type ontology:Q1802419 } } . FILTER ( ?l = ?s ) }
action approx
action find_tuple_counts
relation chairperson
type regional government
type common name
action count
action filter_type
action find
entity Senate of Berlin
relation chairperson
type regional government
[{'concept': 'regional government'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?l ) WHERE { ?j property:chairperson ?e . ?j rdf:type ontology:regional_government . ?e rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Senate_of_Berlin property:chairperson ?r . ?r rdf:type ontology:regional_government } } . FILTER ( ?l = ?s ) }
[]
common name regional government
Q821974 Q18604441 Q828493
SYSTEM
Senate Scholz, Cabinet Ramelow, Cabinet Seehofer I
Q828493 Q23899143 Q819937 Q1720108 Q821125 Q4707017 Q202738 Q15088436 Q1720129 Q821974 Q18604441 Q823326 Q1720192 Q1720191 Q1489309
(c(Q1802419),P488,c(Q502895))
action approx
action find_tuple_counts
relation P488
type Q1802419
type Q502895
action count
action filter_type
action find
entity Q540130
relation P488
type Q1802419
[ANSWERS] approximately the same number of people serve as a chairman for as that regional government
[{'concept': 'Q1802419'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?l ) WHERE { ?j property:P488 ?e . ?j rdf:type ontology:Q1802419 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q540130 property:P488 ?r . ?r rdf:type ontology:Q1802419 } } . FILTER ( ?l = ?s ) }
Cabinet Seehofer I Cabinet Kretschmann II Cabinet Kraft II Cabinet Lieberknecht Cabinet Kretschmann I Cabinet Weil Cabinet Kraft I Cabinet Seehofer II Cabinet Mappus Senate Scholz Cabinet Ramelow Cabinet McAllister Cabinet Oettinger II Cabinet Oettinger I Cabinet Böhmer II
Senate Scholz, Cabinet Ramelow and Cabinet Seehofer I approximately the same number of people serve as a chairman for as that regional government
Senate Scholz Cabinet Ramelow Cabinet Seehofer I
action approx
action find_tuple_counts
relation chairperson
type regional government
type common name
action count
action filter_type
action find
entity Senate of Berlin
relation chairperson
type regional government
[{'concept': 'regional government'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?l ) WHERE { ?j property:chairperson ?e . ?j rdf:type ontology:regional_government . ?e rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Senate_of_Berlin property:chairperson ?r . ?r rdf:type ontology:regional_government } } . FILTER ( ?l = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P85
Q7725634
USER
Which literary work is the anthem for Germany ?
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?z WHERE { resource:Q183 property:P85 ?z . ?z rdf:type ontology:Q7725634 }
Germany
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?z WHERE { resource:Germany property:anthem ?z . ?z rdf:type ontology:literary_work }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
[ANSWER] is the anthem for Germany
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?z WHERE { resource:Q183 property:P85 ?z . ?z rdf:type ontology:Q7725634 }
Das Lied der Deutschen
Das Lied der Deutschen is the anthem for Germany
Das Lied der Deutschen
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?z WHERE { resource:Germany property:anthem ?z . ?z rdf:type ontology:literary_work }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q82794 Q56061 Q15617994
USER
Which geographic regions are min number of administrative territories or administrative territories located on ?
(c(Q56061)|c(Q15617994),P706,c(Q82794))
action argmin
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q56061
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?f WHERE { { ?k property:P706 ?f . ?f rdf:type ontology:Q82794 . ?k rdf:type ontology:Q56061 } UNION { ?k property:P706 ?f . ?f rdf:type ontology:Q82794 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?o WHERE { { ?z property:P706 ?o . ?o rdf:type ontology:Q82794 . ?z rdf:type ontology:Q56061 } UNION { ?z property:P706 ?o . ?o rdf:type ontology:Q82794 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?a = ?d ) }
action argmin
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type administrative territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?f WHERE { { ?k property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?o WHERE { { ?z property:located_on_terrain_feature ?o . ?o rdf:type ontology:geographic_region . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z property:located_on_terrain_feature ?o . ?o rdf:type ontology:geographic_region . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?a = ?d ) }
[]
geographic region administrative territorial entity designation for an administrative territorial entity
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q1404827 Q22703273 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q569073 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q39061 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1935344 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q575245 Q6515602 Q2866905
(c(Q56061)|c(Q15617994),P706,c(Q82794))
action argmin
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q56061
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15617994
Min number of administrative territories or administrative territories are located in [ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?f WHERE { { ?k property:P706 ?f . ?f rdf:type ontology:Q82794 . ?k rdf:type ontology:Q56061 } UNION { ?k property:P706 ?f . ?f rdf:type ontology:Q82794 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?o WHERE { { ?z property:P706 ?o . ?o rdf:type ontology:Q82794 . ?z rdf:type ontology:Q56061 } UNION { ?z property:P706 ?o . ?o rdf:type ontology:Q82794 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?a = ?d ) }
Matapédia Valley Vézère Valley The Fens Hockley Valley Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Outback Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Northern Hemisphere Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Narew Basin Soan Sakaser Valley Schönbuch Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Tarfala Valley Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Chad Basin Tørdal Aspé Valley
Min number of administrative territories or administrative territories are located in Vistula basin, Bug Basin and Narew Basin
Vistula basin Bug Basin Narew Basin
action argmin
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type administrative territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?f WHERE { { ?k property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?o WHERE { { ?z property:located_on_terrain_feature ?o . ?o rdf:type ontology:geographic_region . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z property:located_on_terrain_feature ?o . ?o rdf:type ontology:geographic_region . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?a = ?d ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q18604441
P463 P21
Q502895
USER
Which people have a membership of Cabinet Ramelow and are a male ?
AND((c(Q502895),P463,Q18604441), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18604441
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q18604441'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q18604441 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Cabinet Ramelow
action filter_type
action intersection
action find_reverse
entity Cabinet Ramelow
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Cabinet Ramelow'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:Cabinet_Ramelow . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q61386 Q817361 Q1252466
SYSTEM
Wolfgang Tiefensee, Benjamin-Immanuel Hoff, Holger Poppenhäger
Q61386 Q817361 Q1252466
AND((c(Q502895),P463,Q18604441), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18604441
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have a membership of Cabinet Ramelow and are a male
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q18604441'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q18604441 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Wolfgang Tiefensee Benjamin-Immanuel Hoff Holger Poppenhäger
Wolfgang Tiefensee, Benjamin-Immanuel Hoff and Holger Poppenhäger have a membership of Cabinet Ramelow and are a male
Wolfgang Tiefensee Benjamin-Immanuel Hoff Holger Poppenhäger
action filter_type
action intersection
action find_reverse
entity Cabinet Ramelow
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Cabinet Ramelow'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:Cabinet_Ramelow . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P69
Q502895
USER
Who were a student at Berlin ?
(c(Q502895),P69,Q64)
action filter_type
action find_reverse
entity Q64
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q64']
SELECT DISTINCT ?s WHERE { ?s property:P69 resource:Q64 . ?s rdf:type ontology:Q502895 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Berlin']
SELECT DISTINCT ?s WHERE { ?s property:educated_at resource:Berlin . ?s rdf:type ontology:common_name }
[]
common name
Q75503 Q96597
SYSTEM
Moritz Schiff, Elisabeth Rotten
Q75503 Q96597
(c(Q502895),P69,Q64)
action filter_type
action find_reverse
entity Q64
relation P69
type Q502895
Were a student at Berlin [ANSWERS]
[{'concept': 'Q502895'}, 'P69', 'Q64']
SELECT DISTINCT ?s WHERE { ?s property:P69 resource:Q64 . ?s rdf:type ontology:Q502895 }
Moritz Schiff Elisabeth Rotten
Were a student at Berlin Moritz Schiff and Elisabeth Rotten
Moritz Schiff Elisabeth Rotten
action filter_type
action find_reverse
entity Berlin
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Berlin']
SELECT DISTINCT ?s WHERE { ?s property:educated_at resource:Berlin . ?s rdf:type ontology:common_name }
[]