Simple Question (Direct)
Simple Question
Q1133803
P937
Q56061
USER
Which is the work location of Cornelius Gellert ?
(Q1133803,P937,c(Q56061))
action filter_type
action find
entity Q1133803
relation P937
type Q56061
['Q1133803', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1133803 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Cornelius Gellert
action filter_type
action find
entity Cornelius Gellert
relation work location
type administrative territorial entity
['Cornelius Gellert', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cornelius_Gellert property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1133803,P937,c(Q56061))
action filter_type
action find
entity Q1133803
relation P937
type Q56061
The work location of Cornelius Gellert is in [ANSWER]
['Q1133803', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1133803 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Berlin
The work location of Cornelius Gellert is in Berlin
Berlin
action filter_type
action find
entity Cornelius Gellert
relation work location
type administrative territorial entity
['Cornelius Gellert', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cornelius_Gellert property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1133803
P102
Q7278
USER
Which political party is that person a member of ?
(Q64,P102,c(Q7278))
action filter_type
action find
entity Q1133803
relation P102
type Q7278
['Q64', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q1133803 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Cornelius Gellert
action filter_type
action find
entity Cornelius Gellert
relation member of political party
type political party
['Berlin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Cornelius_Gellert property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q64,P102,c(Q7278))
action filter_type
action find
entity Q1133803
relation P102
type Q7278
[ANSWER] is that person a member of
['Q64', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q1133803 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany is that person a member of
Social Democratic Party of Germany
action filter_type
action find
entity Cornelius Gellert
relation member of political party
type political party
['Berlin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Cornelius_Gellert property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1133803
P21
Q290
USER
Which sex does that person have ?
(Q49768,P21,c(Q290))
action filter_type
action find
entity Q1133803
relation P21
type Q290
['Q49768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1133803 property:P21 ?i . ?i rdf:type ontology:Q290 }
Cornelius Gellert
action filter_type
action find
entity Cornelius Gellert
relation gender
type sex
['Social Democratic Party of Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Cornelius_Gellert property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49768,P21,c(Q290))
action filter_type
action find
entity Q1133803
relation P21
type Q290
That person has a [ANSWER]
['Q49768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1133803 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Cornelius Gellert
relation gender
type sex
['Social Democratic Party of Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Cornelius_Gellert property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1133803
P20
Q515
USER
Which city is the place of death of Cornelius Gellert ?
(Q1133803,P20,c(Q515))
action filter_type
action find
entity Q1133803
relation P20
type Q515
['Q1133803', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1133803 property:P20 ?z . ?z rdf:type ontology:Q515 }
Cornelius Gellert
action filter_type
action find
entity Cornelius Gellert
relation place of death
type city
['Cornelius Gellert', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Cornelius_Gellert property:place_of_death ?z . ?z rdf:type ontology:city }
[]
city
Q2865
SYSTEM
Kassel
Q2865
(Q1133803,P20,c(Q515))
action filter_type
action find
entity Q1133803
relation P20
type Q515
[ANSWER] is the place of death of Cornelius Gellert
['Q1133803', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1133803 property:P20 ?z . ?z rdf:type ontology:Q515 }
Kassel
Kassel is the place of death of Cornelius Gellert
Kassel
action filter_type
action find
entity Cornelius Gellert
relation place of death
type city
['Cornelius Gellert', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Cornelius_Gellert property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q1324773 Q1133803
P20
Q515
USER
And also Hedwig Grimm
AND((Q1133803,P20,c(Q515)), (Q1324773,P20,c(Q515)))
action filter_type
action intersection
action find
entity Q1133803
relation P20
action find
entity Q1324773
relation P20
type Q515
{'AND': [['Q1133803', 'P20', {'concept': 'Q515'}], ['Q1324773', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?c WHERE { resource:Q1133803 property:P20 ?c . resource:Q1324773 property:P20 ?c . ?c rdf:type ontology:Q515 }
Hedwig Grimm Cornelius Gellert
action filter_type
action intersection
action find
entity Cornelius Gellert
relation place of death
action find
entity Hedwig Grimm
relation place of death
type city
{'AND': [['Cornelius Gellert', 'place of death', {'concept': 'city'}], ['Hedwig Grimm', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?c WHERE { resource:Cornelius_Gellert property:place_of_death ?c . resource:Hedwig_Grimm property:place_of_death ?c . ?c rdf:type ontology:city }
[]
city
Q2865
SYSTEM
Kassel
Q2865
AND((Q1133803,P20,c(Q515)), (Q1324773,P20,c(Q515)))
action filter_type
action intersection
action find
entity Q1133803
relation P20
action find
entity Q1324773
relation P20
type Q515
[ANSWER]
{'AND': [['Q1133803', 'P20', {'concept': 'Q515'}], ['Q1324773', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?c WHERE { resource:Q1133803 property:P20 ?c . resource:Q1324773 property:P20 ?c . ?c rdf:type ontology:Q515 }
Kassel
Kassel
action filter_type
action intersection
action find
entity Cornelius Gellert
relation place of death
action find
entity Hedwig Grimm
relation place of death
type city
{'AND': [['Cornelius Gellert', 'place of death', {'concept': 'city'}], ['Hedwig Grimm', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?c WHERE { resource:Cornelius_Gellert property:place_of_death ?c . resource:Hedwig_Grimm property:place_of_death ?c . ?c rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q1048835 Q56061
USER
How many political territories or administrative territories have that city as their administrative centre ?
(c(Q1048835),P36,Q2865) (c(Q56061),P36,Q2865) (c(Q1048835),P36,Q2865) (c(Q56061),P36,Q2865)
action count
action union
action filter_type
action find_reverse
entity Q2865
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q2865
relation P36
type Q56061
[{'concept': 'Q1048835'}, 'P36', 'Q2865'] [{'concept': 'Q56061'}, 'P36', 'Q2865'] [{'concept': 'Q1048835'}, 'P36', 'Q2865'] [{'concept': 'Q56061'}, 'P36', 'Q2865']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?w rdf:type ?j }
action count
action union
action filter_type
action find_reverse
entity Kassel
relation capital
type political territorial entity
action filter_type
action find_reverse
entity Kassel
relation capital
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Kassel'] [{'concept': 'administrative territorial entity'}, 'capital', 'Kassel'] [{'concept': 'political territorial entity'}, 'capital', 'Kassel'] [{'concept': 'administrative territorial entity'}, 'capital', 'Kassel']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?w rdf:type ?j }
[]
political territorial entity administrative territorial entity
SYSTEM
4
Q7890 Q168651 Q7928 Q695322
(c(Q1048835),P36,Q2865) (c(Q56061),P36,Q2865) (c(Q1048835),P36,Q2865) (c(Q56061),P36,Q2865)
action count
action union
action filter_type
action find_reverse
entity Q2865
relation P36
type Q1048835
action filter_type
action find_reverse
entity Q2865
relation P36
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P36', 'Q2865'] [{'concept': 'Q56061'}, 'P36', 'Q2865'] [{'concept': 'Q1048835'}, 'P36', 'Q2865'] [{'concept': 'Q56061'}, 'P36', 'Q2865']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?w rdf:type ?j }
Kassel Landgraviate of Hesse-Kassel Kassel  Government Region Landgraviate of Hesse
4
action count
action union
action filter_type
action find_reverse
entity Kassel
relation capital
type political territorial entity
action filter_type
action find_reverse
entity Kassel
relation capital
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Kassel'] [{'concept': 'administrative territorial entity'}, 'capital', 'Kassel'] [{'concept': 'political territorial entity'}, 'capital', 'Kassel'] [{'concept': 'administrative territorial entity'}, 'capital', 'Kassel']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?w rdf:type ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2865
P206
Q355304
USER
Which watercourses are situated close to Kassel ?
(Q2865,P206,c(Q355304))
action filter_type
action find
entity Q2865
relation P206
type Q355304
['Q2865', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { resource:Q2865 property:P206 ?t . ?t rdf:type ontology:Q355304 }
Kassel
action filter_type
action find
entity Kassel
relation located next to body of water
type watercourse
['Kassel', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { resource:Kassel property:located_next_to_body_of_water ?t . ?t rdf:type ontology:watercourse }
[]
watercourse
Q6434 Q402209 Q896097
SYSTEM
Fulda, Ahne, Losse
Q402209 Q896097 Q826497 Q895952 Q316834 Q1550842 Q6434 Q1498757 Q269772
(Q2865,P206,c(Q355304))
action filter_type
action find
entity Q2865
relation P206
type Q355304
[ANSWERS] are situated close to Kassel
['Q2865', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { resource:Q2865 property:P206 ?t . ?t rdf:type ontology:Q355304 }
Ahne Losse Jungfernbach Nieste Drusel Grunnelbach Fulda Geilebach Wahlebach
Fulda, Ahne and Losse are situated close to Kassel
Fulda Ahne Losse
action filter_type
action find
entity Kassel
relation located next to body of water
type watercourse
['Kassel', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { resource:Kassel property:located_next_to_body_of_water ?t . ?t rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2865
P159
Q62447
USER
Which aerodrome has its head office location at that city ?
(c(Q62447),P159,Q6434) (c(Q62447),P159,Q402209) (c(Q62447),P159,Q896097)
action filter_type
action find_reverse
entity Q2865
relation P159
type Q62447
[{'concept': 'Q62447'}, 'P159', 'Q6434'] [{'concept': 'Q62447'}, 'P159', 'Q402209'] [{'concept': 'Q62447'}, 'P159', 'Q896097']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q2865 . ?q rdf:type ontology:Q62447 }
Kassel
action filter_type
action find_reverse
entity Kassel
relation headquarters location
type aerodrome
[{'concept': 'aerodrome'}, 'headquarters location', 'Fulda'] [{'concept': 'aerodrome'}, 'headquarters location', 'Ahne'] [{'concept': 'aerodrome'}, 'headquarters location', 'Losse']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Kassel . ?q rdf:type ontology:aerodrome }
[]
aerodrome
Q529143
SYSTEM
Kassel Airport
Q529143
(c(Q62447),P159,Q6434) (c(Q62447),P159,Q402209) (c(Q62447),P159,Q896097)
action filter_type
action find_reverse
entity Q2865
relation P159
type Q62447
Airport [ANSWER] has its head office location at that city
[{'concept': 'Q62447'}, 'P159', 'Q6434'] [{'concept': 'Q62447'}, 'P159', 'Q402209'] [{'concept': 'Q62447'}, 'P159', 'Q896097']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q2865 . ?q rdf:type ontology:Q62447 }
Kassel Airport
Airport Kassel Airport has its head office location at that city
Kassel Airport
action filter_type
action find_reverse
entity Kassel
relation headquarters location
type aerodrome
[{'concept': 'aerodrome'}, 'headquarters location', 'Fulda'] [{'concept': 'aerodrome'}, 'headquarters location', 'Ahne'] [{'concept': 'aerodrome'}, 'headquarters location', 'Losse']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Kassel . ?q rdf:type ontology:aerodrome }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q23936619
P1444
Q62447 Q3839081
USER
How many disasters end their journey at lesser number of aerodromes than 2016 Turøy helicopter crash ?
(c(Q3839081),P1444,c(Q62447))
action count
action less
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q23936619
relation P1444
type Q62447
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e property:P1444 ?y . ?e rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q62447 } GROUP BY ?e } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:Q62447 . resource:Q23936619 property:P1444 ?u } } }
2016 Turøy helicopter crash
action count
action less
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity 2016 Turøy helicopter crash
relation destination point
type aerodrome
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e property:destination_point ?y . ?e rdf:type ontology:disaster . ?y rdf:type ontology:aerodrome } GROUP BY ?e } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:aerodrome . resource:2016_Turøy_helicopter_crash property:destination_point ?u } } }
[]
aerodrome disaster
SYSTEM
18
Q4055787 Q16986203 Q1573486 Q463237 Q15908324 Q406535 Q2054084 Q2062178 Q185380 Q2003519 Q18396768 Q21282782 Q4115786 Q384845 Q638603 Q11971365 Q406609 Q435605
(c(Q3839081),P1444,c(Q62447))
action count
action less
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q23936619
relation P1444
type Q62447
[ANSWER]
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e property:P1444 ?y . ?e rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q62447 } GROUP BY ?e } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:Q62447 . resource:Q23936619 property:P1444 ?u } } }
Cyprus Airways Flight 284 Inex-Adria Aviopromet Flight 450 LOT Flight 7 American Airlines Flight 77 Malaysia Airlines Flight 370 Air France Flight 4590 LOT Polish Airlines Flight 16 Kegworth air disaster Air France Flight 447 Air Canada Flight 797 2014 Virgin Galactic crash Metrojet Flight 9268 TWA Flight 903 American Airlines Flight 587 United Airlines Flight 93 Førdesveten plane crash Air Transat Flight 236 British Airways Flight 9
18
action count
action less
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity 2016 Turøy helicopter crash
relation destination point
type aerodrome
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?d ) WHERE { ?e property:destination_point ?y . ?e rdf:type ontology:disaster . ?y rdf:type ontology:aerodrome } GROUP BY ?e } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:aerodrome . resource:2016_Turøy_helicopter_crash property:destination_point ?u } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20243354 Q1133803
P27
Q1048835
USER
Which political territories do Cornelius Gellert or Norbert Wagner belong to ?
OR((Q1133803,P27,c(Q1048835)), (Q20243354,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1133803
relation P27
action find
entity Q20243354
relation P27
type Q1048835
{'OR': [['Q1133803', 'P27', {'concept': 'Q1048835'}], ['Q20243354', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1133803 property:P27 ?l } UNION { resource:Q20243354 property:P27 ?l } } . ?l rdf:type ontology:Q1048835 }
Norbert Wagner Cornelius Gellert
action filter_type
action union
action find
entity Cornelius Gellert
relation country of citizenship
action find
entity Norbert Wagner
relation country of citizenship
type political territorial entity
{'OR': [['Cornelius Gellert', 'country of citizenship', {'concept': 'political territorial entity'}], ['Norbert Wagner', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Cornelius_Gellert property:country_of_citizenship ?l } UNION { resource:Norbert_Wagner property:country_of_citizenship ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q1133803,P27,c(Q1048835)), (Q20243354,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1133803
relation P27
action find
entity Q20243354
relation P27
type Q1048835
Cornelius Gellert or Norbert Wagner belong to Nazi [ANSWER]
{'OR': [['Q1133803', 'P27', {'concept': 'Q1048835'}], ['Q20243354', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1133803 property:P27 ?l } UNION { resource:Q20243354 property:P27 ?l } } . ?l rdf:type ontology:Q1048835 }
Germany
Cornelius Gellert or Norbert Wagner belong to Nazi Germany
Germany
action filter_type
action union
action find
entity Cornelius Gellert
relation country of citizenship
action find
entity Norbert Wagner
relation country of citizenship
type political territorial entity
{'OR': [['Cornelius Gellert', 'country of citizenship', {'concept': 'political territorial entity'}], ['Norbert Wagner', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Cornelius_Gellert property:country_of_citizenship ?l } UNION { resource:Norbert_Wagner property:country_of_citizenship ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q582995 Q1133803
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Cornelius Gellert or are adjacent to Lanjarón ?
OR((Q1133803,P27,c(Q1048835)), (Q582995,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1133803
relation P27
action find
entity Q582995
relation P47
type Q1048835
{'OR': [['Q1133803', 'P27', {'concept': 'Q1048835'}], ['Q582995', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1133803 property:P27 ?g } UNION { resource:Q582995 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Lanjarón Cornelius Gellert
action filter_type
action union
action find
entity Cornelius Gellert
relation country of citizenship
action find
entity Lanjarón
relation shares border with
type political territorial entity
{'OR': [['Cornelius Gellert', 'country of citizenship', {'concept': 'political territorial entity'}], ['Lanjarón', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Cornelius_Gellert property:country_of_citizenship ?g } UNION { resource:Lanjarón property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q615823 Q559839 Q605273 Q293130 Q555114 Q606160 Q555140 Q611298 Q183 Q339160
SYSTEM
Some of them are Soportújar, Dúrcal, Pampaneira, Órgiva, Cáñar, Nigüelas, Capileira, El Pinar, Germany, Lecrín
Q555140 Q606160 Q559313 Q559839 Q183 Q605273 Q615823 Q293130 Q555114 Q339160 Q619690 Q554265 Q611298
OR((Q1133803,P27,c(Q1048835)), (Q582995,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1133803
relation P27
action find
entity Q582995
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Cornelius Gellert or are adjacent to Lanjarón
{'OR': [['Q1133803', 'P27', {'concept': 'Q1048835'}], ['Q582995', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1133803 property:P27 ?g } UNION { resource:Q582995 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Capileira Nigüelas Dílar Dúrcal Germany Pampaneira Soportújar Órgiva Cáñar Lecrín Vélez de Benaudalla Bubión El Pinar
Soportújar, Dúrcal, Pampaneira, Órgiva, Cáñar, Nigüelas, Capileira, El Pinar, Germany and Lecrín are the countries of citizenship of Cornelius Gellert or are adjacent to Lanjarón
Soportújar Dúrcal Pampaneira Órgiva Cáñar Nigüelas Capileira El Pinar Germany Lecrín
action filter_type
action union
action find
entity Cornelius Gellert
relation country of citizenship
action find
entity Lanjarón
relation shares border with
type political territorial entity
{'OR': [['Cornelius Gellert', 'country of citizenship', {'concept': 'political territorial entity'}], ['Lanjarón', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Cornelius_Gellert property:country_of_citizenship ?g } UNION { resource:Lanjarón property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q615823 Q559839 Q605273 Q293130 Q555114 Q606160 Q555140 Q611298 Q183 Q339160
P1313
Q12737077
USER
Which occupations are fulfilled by those political territories ?
(Q615823,P1313,c(Q12737077)) (Q559839,P1313,c(Q12737077)) (Q605273,P1313,c(Q12737077)) (Q293130,P1313,c(Q12737077)) (Q555114,P1313,c(Q12737077)) (Q606160,P1313,c(Q12737077)) (Q555140,P1313,c(Q12737077)) (Q611298,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077)) (Q339160,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
['Q615823', 'P1313', {'concept': 'Q12737077'}] ['Q559839', 'P1313', {'concept': 'Q12737077'}] ['Q605273', 'P1313', {'concept': 'Q12737077'}] ['Q293130', 'P1313', {'concept': 'Q12737077'}] ['Q555114', 'P1313', {'concept': 'Q12737077'}] ['Q606160', 'P1313', {'concept': 'Q12737077'}] ['Q555140', 'P1313', {'concept': 'Q12737077'}] ['Q611298', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q339160', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . ?p property:P1313 ?u . VALUES ( ?p ) { ( resource:Q555140 ) ( resource:Q606160 ) ( resource:Q559313 ) } }
Soportújar Dúrcal Pampaneira Órgiva Cáñar Nigüelas Capileira El Pinar Germany Lecrín
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Soportújar', 'office held by head of government', {'concept': 'occupation'}] ['Dúrcal', 'office held by head of government', {'concept': 'occupation'}] ['Pampaneira', 'office held by head of government', {'concept': 'occupation'}] ['Órgiva', 'office held by head of government', {'concept': 'occupation'}] ['Cáñar', 'office held by head of government', {'concept': 'occupation'}] ['Nigüelas', 'office held by head of government', {'concept': 'occupation'}] ['Capileira', 'office held by head of government', {'concept': 'occupation'}] ['El Pinar', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Lecrín', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . ?p property:office_held_by_head_of_government ?u . VALUES ( ?p ) { ( resource:Capileira ) ( resource:Nigüelas ) ( resource:Dílar ) } }
[]
occupation
Q4970706 Q26699146 Q26698658
SYSTEM
Federal Chancellor of Germany, mayor of Soportújar, mayor of Dúrcal
Q26699146 Q26698658 Q26699006 Q26697899 Q26698618 Q26699023 Q26698621 Q26699096 Q4970706 Q26697976
(Q615823,P1313,c(Q12737077)) (Q559839,P1313,c(Q12737077)) (Q605273,P1313,c(Q12737077)) (Q293130,P1313,c(Q12737077)) (Q555114,P1313,c(Q12737077)) (Q606160,P1313,c(Q12737077)) (Q555140,P1313,c(Q12737077)) (Q611298,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077)) (Q339160,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
[ANSWERS] are fulfilled by those political territories
['Q615823', 'P1313', {'concept': 'Q12737077'}] ['Q559839', 'P1313', {'concept': 'Q12737077'}] ['Q605273', 'P1313', {'concept': 'Q12737077'}] ['Q293130', 'P1313', {'concept': 'Q12737077'}] ['Q555114', 'P1313', {'concept': 'Q12737077'}] ['Q606160', 'P1313', {'concept': 'Q12737077'}] ['Q555140', 'P1313', {'concept': 'Q12737077'}] ['Q611298', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q339160', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . ?p property:P1313 ?u . VALUES ( ?p ) { ( resource:Q555140 ) ( resource:Q606160 ) ( resource:Q559313 ) } }
mayor of Soportújar mayor of Dúrcal mayor of Pampaneira mayor of Órgiva mayor of Cáñar mayor of Nigüelas mayor of Capileira mayor of El Pinar Federal Chancellor of Germany mayor of Lecrín
Federal Chancellor of Germany, mayor of Soportújar and mayor of Dúrcal are fulfilled by those political territories
Federal Chancellor of Germany mayor of Soportújar mayor of Dúrcal
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Soportújar', 'office held by head of government', {'concept': 'occupation'}] ['Dúrcal', 'office held by head of government', {'concept': 'occupation'}] ['Pampaneira', 'office held by head of government', {'concept': 'occupation'}] ['Órgiva', 'office held by head of government', {'concept': 'occupation'}] ['Cáñar', 'office held by head of government', {'concept': 'occupation'}] ['Nigüelas', 'office held by head of government', {'concept': 'occupation'}] ['Capileira', 'office held by head of government', {'concept': 'occupation'}] ['El Pinar', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Lecrín', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . ?p property:office_held_by_head_of_government ?u . VALUES ( ?p ) { ( resource:Capileira ) ( resource:Nigüelas ) ( resource:Dílar ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4970706 Q26699146 Q26698658
P1001
Q1048835
USER
Which political territories come under the supervision of Federal Chancellor of Germany, mayor of Soportújar and mayor of Dúrcal ?
(Q4970706,P1001,c(Q1048835)) (Q26699146,P1001,c(Q1048835)) (Q26698658,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q4970706
relation P1001
type Q1048835
action filter_type
action find
entity Q26699146
relation P1001
type Q1048835
action filter_type
action find
entity Q26698658
relation P1001
type Q1048835
['Q4970706', 'P1001', {'concept': 'Q1048835'}] ['Q26699146', 'P1001', {'concept': 'Q1048835'}] ['Q26698658', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?y property:P1001 ?e . VALUES ( ?y ) { ( resource:Q4970706 ) ( resource:Q26699146 ) } }
Federal Chancellor of Germany mayor of Soportújar mayor of Dúrcal
action union
action filter_type
action find
entity Federal Chancellor of Germany
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity mayor of Soportújar
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity mayor of Dúrcal
relation applies to jurisdiction
type political territorial entity
['Federal Chancellor of Germany', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['mayor of Soportújar', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['mayor of Dúrcal', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?y property:applies_to_jurisdiction ?e . VALUES ( ?y ) { ( resource:Federal_Chancellor_of_Germany ) ( resource:mayor_of_Soportújar ) } }
[]
political territorial entity
Q183 Q615823 Q559839
SYSTEM
Germany, Soportújar, Dúrcal
Q183 Q615823 Q559839
(Q4970706,P1001,c(Q1048835)) (Q26699146,P1001,c(Q1048835)) (Q26698658,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q4970706
relation P1001
type Q1048835
action filter_type
action find
entity Q26699146
relation P1001
type Q1048835
action filter_type
action find
entity Q26698658
relation P1001
type Q1048835
[ANSWERS] come under the supervision of Federal Chancellor of Germany, mayor of Soportújar and mayor of Dúrcal
['Q4970706', 'P1001', {'concept': 'Q1048835'}] ['Q26699146', 'P1001', {'concept': 'Q1048835'}] ['Q26698658', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?y property:P1001 ?e . VALUES ( ?y ) { ( resource:Q4970706 ) ( resource:Q26699146 ) } }
Germany Soportújar Dúrcal
Germany, Soportújar and Dúrcal come under the supervision of Federal Chancellor of Germany, mayor of Soportújar and mayor of Dúrcal
Germany Soportújar Dúrcal
action union
action filter_type
action find
entity Federal Chancellor of Germany
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity mayor of Soportújar
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity mayor of Dúrcal
relation applies to jurisdiction
type political territorial entity
['Federal Chancellor of Germany', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['mayor of Soportújar', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['mayor of Dúrcal', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?y property:applies_to_jurisdiction ?e . VALUES ( ?y ) { ( resource:Federal_Chancellor_of_Germany ) ( resource:mayor_of_Soportújar ) } }
[]