Simple Question (Direct)
Simple Question
Q3136393
P641
Q349
USER
Which sport did Patrick Oboya participate in ?
(Q3136393,P641,c(Q349))
action filter_type
action find
entity Q3136393
relation P641
type Q349
['Q3136393', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q3136393 property:P641 ?l }
Patrick Oboya
action filter_type
action find
entity Patrick Oboya
relation sport
type sport
['Patrick Oboya', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Patrick_Oboya property:sport ?l }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3136393,P641,c(Q349))
action filter_type
action find
entity Q3136393
relation P641
type Q349
Patrick Oboya participated in [ANSWER]
['Q3136393', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q3136393 property:P641 ?l }
association football
Patrick Oboya participated in association football
association football
action filter_type
action find
entity Patrick Oboya
relation sport
type sport
['Patrick Oboya', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Patrick_Oboya property:sport ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3136393
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q3136393
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3136393 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Patrick Oboya
action filter_type
action find
entity Patrick Oboya
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Patrick_Oboya property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q114
SYSTEM
Kenya
Q114
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q3136393
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3136393 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Kenya
The Kenya is that person a civilian of
Kenya
action filter_type
action find
entity Patrick Oboya
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Patrick_Oboya property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5442226 Q3136393
P27
Q15617994
USER
Or Felix Halfon?
OR((Q3136393,P27,c(Q15617994)), (Q5442226,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3136393
relation P27
action find
entity Q5442226
relation P27
type Q15617994
{'OR': [['Q3136393', 'P27', {'concept': 'Q15617994'}], ['Q5442226', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3136393 property:P27 ?x } UNION { resource:Q5442226 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Felix Halfon Patrick Oboya
action filter_type
action union
action find
entity Patrick Oboya
relation country of citizenship
action find
entity Felix Halfon
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Patrick Oboya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Felix Halfon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Patrick_Oboya property:country_of_citizenship ?x } UNION { resource:Felix_Halfon property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q114 Q801
SYSTEM
Kenya, Israel
Q114 Q801
OR((Q3136393,P27,c(Q15617994)), (Q5442226,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3136393
relation P27
action find
entity Q5442226
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q3136393', 'P27', {'concept': 'Q15617994'}], ['Q5442226', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3136393 property:P27 ?x } UNION { resource:Q5442226 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Kenya Israel
Kenya Israel
action filter_type
action union
action find
entity Patrick Oboya
relation country of citizenship
action find
entity Felix Halfon
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Patrick Oboya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Felix Halfon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Patrick_Oboya property:country_of_citizenship ?x } UNION { resource:Felix_Halfon property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5442226
P27
Q15617994
USER
How many administrative territories are Felix Halfon a civilian of ?
(Q5442226,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5442226
relation P27
type Q15617994
['Q5442226', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q5442226 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Felix Halfon
action count
action filter_type
action find
entity Felix Halfon
relation country of citizenship
type designation for an administrative territorial entity
['Felix Halfon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Felix_Halfon property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q801
(Q5442226,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5442226
relation P27
type Q15617994
[ANSWER]
['Q5442226', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q5442226 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Israel
1
action count
action filter_type
action find
entity Felix Halfon
relation country of citizenship
type designation for an administrative territorial entity
['Felix Halfon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Felix_Halfon property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3174295
P27
Q15617994
USER
And what about Jean Reynouard?
(Q3174295,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3174295
relation P27
type Q15617994
['Q3174295', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q3174295 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Jean Reynouard
action count
action filter_type
action find
entity Jean Reynouard
relation country of citizenship
type designation for an administrative territorial entity
['Jean Reynouard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Jean_Reynouard property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q3174295,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3174295
relation P27
type Q15617994
[ANSWER]
['Q3174295', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q3174295 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Jean Reynouard
relation country of citizenship
type designation for an administrative territorial entity
['Jean Reynouard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Jean_Reynouard property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2419863
Q15617994
USER
And how about Saul van Stapele?
(Q2419863,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2419863
relation P27
type Q15617994
['Q2419863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q2419863 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Saul van Stapele
action count
action filter_type
action find
entity Saul van Stapele
relation country of citizenship
type designation for an administrative territorial entity
['Saul van Stapele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Saul_van_Stapele property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2419863,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2419863
relation P27
type Q15617994
[ANSWER]
['Q2419863', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q2419863 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Saul van Stapele
relation country of citizenship
type designation for an administrative territorial entity
['Saul van Stapele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Saul_van_Stapele property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q40
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with lesser number of administrative territories than Austria ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?f ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q40 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?g ) }
Austria
action count
action less
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 Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?f ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Austria property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?g ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
9
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?f ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q40 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?g ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
9
action count
action less
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 Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?f ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Austria property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q664
P530
Q1048835 Q15617994
USER
And also tell me about New Zealand?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?g < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q664 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?g ) WHERE { ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?c property:P530 ?a } GROUP BY ?c } }
New Zealand
action count
action less
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?g < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:New_Zealand property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?g ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?a } GROUP BY ?c } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?g < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q664 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?g ) WHERE { ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 . ?c property:P530 ?a } GROUP BY ?c } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
action count
action less
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { FILTER ( ?g < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:New_Zealand property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?g ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?a } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193481
P118
Q623109
USER
What does AC Sparta Prague play in ?
(Q193481,P118,c(Q623109))
action filter_type
action find
entity Q193481
relation P118
type Q623109
['Q193481', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?m WHERE { resource:Q193481 property:P118 ?m . ?m rdf:type ontology:Q623109 }
AC Sparta Prague
action filter_type
action find
entity AC Sparta Prague
relation league
type sports league
['AC Sparta Prague', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?m WHERE { resource:AC_Sparta_Prague property:league ?m . ?m rdf:type ontology:sports_league }
[]
sports league
Q217016
SYSTEM
Czech First League
Q217016
(Q193481,P118,c(Q623109))
action filter_type
action find
entity Q193481
relation P118
type Q623109
AC Sparta Prague plays in [ANSWER]
['Q193481', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?m WHERE { resource:Q193481 property:P118 ?m . ?m rdf:type ontology:Q623109 }
Czech First League
AC Sparta Prague plays in Czech First League
Czech First League
action filter_type
action find
entity AC Sparta Prague
relation league
type sports league
['AC Sparta Prague', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?m WHERE { resource:AC_Sparta_Prague property:league ?m . ?m rdf:type ontology:sports_league }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217016
P361
Q13406554
USER
What is a part of that sports league ?
(c(Q13406554),P361,Q217016)
action filter_type
action find_reverse
entity Q217016
relation P361
type Q13406554
[{'concept': 'Q13406554'}, 'P361', 'Q217016']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q217016 . ?l rdf:type ontology:Q13406554 }
Czech First League
action filter_type
action find_reverse
entity Czech First League
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', 'Czech First League']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:Czech_First_League . ?l rdf:type ontology:sport_competition }
[]
sport competition
Q1493024
SYSTEM
2011–12 Gambrinus liga
Q1493024
(c(Q13406554),P361,Q217016)
action filter_type
action find_reverse
entity Q217016
relation P361
type Q13406554
A part of that sports league is the [ANSWER]
[{'concept': 'Q13406554'}, 'P361', 'Q217016']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q217016 . ?l rdf:type ontology:Q13406554 }
2011–12 Gambrinus liga
A part of that sports league is the 2011–12 Gambrinus liga
2011–12 Gambrinus liga
action filter_type
action find_reverse
entity Czech First League
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', 'Czech First League']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:Czech_First_League . ?l rdf:type ontology:sport_competition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q114
P840
Q234460
USER
Which text has its setting located at Kenya ?
(c(Q234460),P840,Q114)
action filter_type
action find_reverse
entity Q114
relation P840
type Q234460
[{'concept': 'Q234460'}, 'P840', 'Q114']
SELECT DISTINCT ?f WHERE { ?f property:P840 resource:Q114 . ?f rdf:type ontology:Q234460 }
Kenya
action filter_type
action find_reverse
entity Kenya
relation narrative location
type text
[{'concept': 'text'}, 'narrative location', 'Kenya']
SELECT DISTINCT ?f WHERE { ?f property:narrative_location resource:Kenya . ?f rdf:type ontology:text }
[]
text
Q1756234
SYSTEM
Out of Africa
Q1756234
(c(Q234460),P840,Q114)
action filter_type
action find_reverse
entity Q114
relation P840
type Q234460
[ANSWER] has its setting located at Kenya
[{'concept': 'Q234460'}, 'P840', 'Q114']
SELECT DISTINCT ?f WHERE { ?f property:P840 resource:Q114 . ?f rdf:type ontology:Q234460 }
Out of Africa
Out of Africa has its setting located at Kenya
Out of Africa
action filter_type
action find_reverse
entity Kenya
relation narrative location
type text
[{'concept': 'text'}, 'narrative location', 'Kenya']
SELECT DISTINCT ?f WHERE { ?f property:narrative_location resource:Kenya . ?f rdf:type ontology:text }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P126
Q486972
USER
Which human settlement is maintained by Israel ?
(c(Q486972),P126,Q801)
action filter_type
action find_reverse
entity Q801
relation P126
type Q486972
[{'concept': 'Q486972'}, 'P126', 'Q801']
SELECT DISTINCT ?d WHERE { ?d property:P126 resource:Q801 . ?d rdf:type ontology:Q486972 }
Israel
action filter_type
action find_reverse
entity Israel
relation maintained by
type human settlement
[{'concept': 'human settlement'}, 'maintained by', 'Israel']
SELECT DISTINCT ?d WHERE { ?d property:maintained_by resource:Israel . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q1555352
SYSTEM
Gush Katif
Q1555352
(c(Q486972),P126,Q801)
action filter_type
action find_reverse
entity Q801
relation P126
type Q486972
[ANSWER] is maintained by Israel
[{'concept': 'Q486972'}, 'P126', 'Q801']
SELECT DISTINCT ?d WHERE { ?d property:P126 resource:Q801 . ?d rdf:type ontology:Q486972 }
Gush Katif
Gush Katif is maintained by Israel
Gush Katif
action filter_type
action find_reverse
entity Israel
relation maintained by
type human settlement
[{'concept': 'human settlement'}, 'maintained by', 'Israel']
SELECT DISTINCT ?d WHERE { ?d property:maintained_by resource:Israel . ?d rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11064 Q114
P47
Q15617994
USER
Which administrative territories are bordered by Kenya or Erwitte ?
OR((Q114,P47,c(Q15617994)), (Q11064,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q114
relation P47
action find
entity Q11064
relation P47
type Q15617994
{'OR': [['Q114', 'P47', {'concept': 'Q15617994'}], ['Q11064', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?r ) { ( resource:Q114 ) ( resource:Q11064 ) } . ?r property:P47 ?a } . ?a rdf:type ontology:Q15617994 }
Erwitte Kenya
action filter_type
action union
action find
entity Kenya
relation shares border with
action find
entity Erwitte
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Kenya', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Erwitte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?r ) { ( resource:Kenya ) ( resource:Erwitte ) } . ?r property:shares_border_with ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q3943 Q11102 Q1045 Q115 Q924 Q958 Q1049
SYSTEM
Uganda, Lippstadt, Geseke, Somalia, Ethiopia, Tanzania, South Sudan, Sudan
Q1036 Q3943 Q11102 Q1045 Q115 Q924 Q958 Q1049
OR((Q114,P47,c(Q15617994)), (Q11064,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q114
relation P47
action find
entity Q11064
relation P47
type Q15617994
And [ANSWERS] are bordered by Kenya or Erwitte
{'OR': [['Q114', 'P47', {'concept': 'Q15617994'}], ['Q11064', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?r ) { ( resource:Q114 ) ( resource:Q11064 ) } . ?r property:P47 ?a } . ?a rdf:type ontology:Q15617994 }
Uganda Lippstadt Geseke Somalia Ethiopia Tanzania South Sudan Sudan
And Uganda, Lippstadt, Geseke, Somalia, Ethiopia, Tanzania, South Sudan and Sudan are bordered by Kenya or Erwitte
Uganda Lippstadt Geseke Somalia Ethiopia Tanzania South Sudan Sudan
action filter_type
action union
action find
entity Kenya
relation shares border with
action find
entity Erwitte
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Kenya', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Erwitte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?r ) { ( resource:Kenya ) ( resource:Erwitte ) } . ?r property:shares_border_with ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]