Simple Question (Direct)
Simple Question
Q651132
P27
Q1048835
USER
Which political territory is the country of citizenship of Jörg Albertz ?
(Q651132,P27,c(Q1048835))
action filter_type
action find
entity Q651132
relation P27
type Q1048835
['Q651132', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q651132 property:P27 ?k }
Jörg Albertz
action filter_type
action find
entity Jörg Albertz
relation country of citizenship
type political territorial entity
['Jörg Albertz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Jörg_Albertz property:country_of_citizenship ?k }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q651132,P27,c(Q1048835))
action filter_type
action find
entity Q651132
relation P27
type Q1048835
Of [ANSWER] is the country of citizenship of Jörg Albertz
['Q651132', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . resource:Q651132 property:P27 ?k }
Germany
Of Germany is the country of citizenship of Jörg Albertz
Germany
action filter_type
action find
entity Jörg Albertz
relation country of citizenship
type political territorial entity
['Jörg Albertz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Jörg_Albertz property:country_of_citizenship ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q651132
P54
Q1194951
USER
Which national sports team is Jörg Albertz a member of ?
(Q651132,P54,c(Q1194951))
action filter_type
action find
entity Q651132
relation P54
type Q1194951
['Q651132', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q651132 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Jörg Albertz
action filter_type
action find
entity Jörg Albertz
relation member of sports team
type national sports team
['Jörg Albertz', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Jörg_Albertz property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q43310
SYSTEM
Germany national football team
Q43310
(Q651132,P54,c(Q1194951))
action filter_type
action find
entity Q651132
relation P54
type Q1194951
The [ANSWER] is Jörg Albertz a member of
['Q651132', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q651132 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Germany national football team
The Germany national football team is Jörg Albertz a member of
Germany national football team
action filter_type
action find
entity Jörg Albertz
relation member of sports team
type national sports team
['Jörg Albertz', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Jörg_Albertz property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3162944
Q1194951
USER
And also tell me about Jason Hernandez?
(Q3162944,P54,c(Q1194951))
action filter_type
action find
entity Q3162944
relation P54
type Q1194951
['Q3162944', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q3162944 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Jason Hernandez
action filter_type
action find
entity Jason Hernandez
relation member of sports team
type national sports team
['Jason Hernandez', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Jason_Hernandez property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q477452
SYSTEM
Puerto Rico national football team
Q477452
(Q3162944,P54,c(Q1194951))
action filter_type
action find
entity Q3162944
relation P54
type Q1194951
[ANSWER]
['Q3162944', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q3162944 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Puerto Rico national football team
Puerto Rico national football team
action filter_type
action find
entity Jason Hernandez
relation member of sports team
type national sports team
['Jason Hernandez', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Jason_Hernandez property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q477452 Q2736
P641
Q349
USER
Did that national sports team participate in association football ?
(Q477452,P641,Q2736)
action is_in
entity Q2736
action find
entity Q477452
relation P641
['Q477452', 'P641', 'Q2736']
ASK WHERE { resource:Q477452 property:P641 resource:Q2736 }
Puerto Rico national football team association football
action is_in
entity association football
action find
entity Puerto Rico national football team
relation sport
['Puerto Rico national football team', 'sport', 'association football']
ASK WHERE { resource:Puerto_Rico_national_football_team property:sport resource:association_football }
[]
sport
SYSTEM
YES
(Q477452,P641,Q2736)
action is_in
entity Q2736
action find
entity Q477452
relation P641
[ANSWER]
['Q477452', 'P641', 'Q2736']
ASK WHERE { resource:Q477452 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Puerto Rico national football team
relation sport
['Puerto Rico national football team', 'sport', 'association football']
ASK WHERE { resource:Puerto_Rico_national_football_team property:sport resource:association_football }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1000
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relationships with approximately the same number of political territories as Gabon ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?x ) WHERE { ?y property:P530 ?u . ?y rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q1000 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?x = ?l ) }
Gabon
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?x ) WHERE { ?y property:diplomatic_relation ?u . ?y rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Gabon property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?x = ?l ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?x ) WHERE { ?y property:P530 ?u . ?y rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q1000 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?x = ?l ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?x ) WHERE { ?y property:diplomatic_relation ?u . ?y rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Gabon property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?x = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q1048835
USER
And what about Jamaica?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?a ) WHERE { ?f property:P530 ?z . ?f rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1048835 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q766 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?a = ?t ) }
Jamaica
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?a ) WHERE { ?f property:diplomatic_relation ?z . ?f rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Jamaica property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?a = ?t ) }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?a ) WHERE { ?f property:P530 ?z . ?f rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1048835 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q766 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?a = ?t ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?a ) WHERE { ?f property:diplomatic_relation ?z . ?f rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Jamaica property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?a = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2768
P127
Q483110
USER
Which stadium is under posessision of Torino Football Club ?
(c(Q483110),P127,Q2768)
action filter_type
action find_reverse
entity Q2768
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q2768']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q2768 . ?l rdf:type ontology:Q483110 }
Torino Football Club
action filter_type
action find_reverse
entity Torino Football Club
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Torino Football Club']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Torino_Football_Club . ?l rdf:type ontology:stadium }
[]
stadium
Q786449
SYSTEM
Stadio Filadelfia
Q786449
(c(Q483110),P127,Q2768)
action filter_type
action find_reverse
entity Q2768
relation P127
type Q483110
[ANSWER] is under posessision of Torino Football Club
[{'concept': 'Q483110'}, 'P127', 'Q2768']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q2768 . ?l rdf:type ontology:Q483110 }
Stadio Filadelfia
Stadio Filadelfia is under posessision of Torino Football Club
Stadio Filadelfia
action filter_type
action find_reverse
entity Torino Football Club
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Torino Football Club']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Torino_Football_Club . ?l rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2768
P466
Q483110
USER
Which stadia are inhabited by Torino Football Club ?
(c(Q483110),P466,Q2768)
action filter_type
action find_reverse
entity Q2768
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q2768']
SELECT DISTINCT ?s WHERE { ?s property:P466 resource:Q2768 . ?s rdf:type ontology:Q483110 }
Torino Football Club
action filter_type
action find_reverse
entity Torino Football Club
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Torino Football Club']
SELECT DISTINCT ?s WHERE { ?s property:occupant resource:Torino_Football_Club . ?s rdf:type ontology:stadium }
[]
stadium
Q786449 Q215493
SYSTEM
Stadio Filadelfia, Stadio delle Alpi
Q786449 Q215493
(c(Q483110),P466,Q2768)
action filter_type
action find_reverse
entity Q2768
relation P466
type Q483110
[ANSWERS] are inhabited by Torino Football Club
[{'concept': 'Q483110'}, 'P466', 'Q2768']
SELECT DISTINCT ?s WHERE { ?s property:P466 resource:Q2768 . ?s rdf:type ontology:Q483110 }
Stadio Filadelfia Stadio delle Alpi
Stadio Filadelfia and Stadio delle Alpi are inhabited by Torino Football Club
Stadio Filadelfia Stadio delle Alpi
action filter_type
action find_reverse
entity Torino Football Club
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Torino Football Club']
SELECT DISTINCT ?s WHERE { ?s property:occupant resource:Torino_Football_Club . ?s rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786449
P17
Q15617994
USER
Which administrative territory does Stadio Filadelfia belong to ?
(Q786449,P17,c(Q15617994))
action filter_type
action find
entity Q786449
relation P17
type Q15617994
['Q786449', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q786449 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Stadio Filadelfia
action filter_type
action find
entity Stadio Filadelfia
relation country
type designation for an administrative territorial entity
['Stadio Filadelfia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Stadio_Filadelfia property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q786449,P17,c(Q15617994))
action filter_type
action find
entity Q786449
relation P17
type Q15617994
Stadio Filadelfia belongs to [ANSWER]
['Q786449', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q786449 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Italy
Stadio Filadelfia belongs to Italy
Italy
action filter_type
action find
entity Stadio Filadelfia
relation country
type designation for an administrative territorial entity
['Stadio Filadelfia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Stadio_Filadelfia property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14933209
Q15617994
USER
And also tell me about Laksa?
(Q14933209,P17,c(Q15617994))
action filter_type
action find
entity Q14933209
relation P17
type Q15617994
['Q14933209', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q14933209 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Laksa
action filter_type
action find
entity Laksa
relation country
type designation for an administrative territorial entity
['Laksa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Laksa property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q14933209,P17,c(Q15617994))
action filter_type
action find
entity Q14933209
relation P17
type Q15617994
[ANSWER]
['Q14933209', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q14933209 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Indonesia
Indonesia
action filter_type
action find
entity Laksa
relation country
type designation for an administrative territorial entity
['Laksa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Laksa property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q252 Q4333202 Q1653519
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Vyshneve and Castel de Cabra ?
(Q252,P530,Q4333202) (Q252,P530,Q1653519)
action is_in
entity Q252
action intersection
action find_reverse
entity Q4333202
relation P530
action find_reverse
entity Q1653519
relation P530
['Q252', 'P530', 'Q4333202'] ['Q252', 'P530', 'Q1653519']
ASK WHERE { resource:Q252 property:P530 resource:Q4333202 . resource:Q252 property:P530 resource:Q1653519 }
Indonesia Vyshneve Castel de Cabra
action is_in
entity Indonesia
action intersection
action find_reverse
entity Vyshneve
relation diplomatic relation
action find_reverse
entity Castel de Cabra
relation diplomatic relation
['Indonesia', 'diplomatic relation', 'Vyshneve'] ['Indonesia', 'diplomatic relation', 'Castel de Cabra']
ASK WHERE { resource:Indonesia property:diplomatic_relation resource:Vyshneve . resource:Indonesia property:diplomatic_relation resource:Castel_de_Cabra }
[]
political territorial entity
SYSTEM
NO
(Q252,P530,Q4333202) (Q252,P530,Q1653519)
action is_in
entity Q252
action intersection
action find_reverse
entity Q4333202
relation P530
action find_reverse
entity Q1653519
relation P530
[ANSWER]
['Q252', 'P530', 'Q4333202'] ['Q252', 'P530', 'Q1653519']
ASK WHERE { resource:Q252 property:P530 resource:Q4333202 . resource:Q252 property:P530 resource:Q1653519 }
No
action is_in
entity Indonesia
action intersection
action find_reverse
entity Vyshneve
relation diplomatic relation
action find_reverse
entity Castel de Cabra
relation diplomatic relation
['Indonesia', 'diplomatic relation', 'Vyshneve'] ['Indonesia', 'diplomatic relation', 'Castel de Cabra']
ASK WHERE { resource:Indonesia property:diplomatic_relation resource:Vyshneve . resource:Indonesia property:diplomatic_relation resource:Castel_de_Cabra }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q252
P163
Q14660
USER
Which flag is associated with that administrative territory ?
action filter_type
action find
entity Q252
relation P163
type Q14660
SELECT DISTINCT ?l WHERE { resource:Q252 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Indonesia
action filter_type
action find
entity Indonesia
relation flag
type flag
SELECT DISTINCT ?l WHERE { resource:Indonesia property:flag ?l . ?l rdf:type ontology:flag }
[]
flag
Q101472
SYSTEM
Flag of Indonesia
Q101472
action filter_type
action find
entity Q252
relation P163
type Q14660
Indonesia [ANSWER] is associated with that administrative territory
SELECT DISTINCT ?l WHERE { resource:Q252 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Flag of Indonesia
Indonesia Flag of Indonesia is associated with that administrative territory
Flag of Indonesia
action filter_type
action find
entity Indonesia
relation flag
type flag
SELECT DISTINCT ?l WHERE { resource:Indonesia property:flag ?l . ?l rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q252
P276
Q1190554
USER
Which event is situated at that administrative territory ?
(c(Q1190554),P276,Q101472)
action filter_type
action find_reverse
entity Q252
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q101472']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q252 . ?g rdf:type ontology:Q1190554 }
Indonesia
action filter_type
action find_reverse
entity Indonesia
relation location
type event
[{'concept': 'event'}, 'location', 'Flag of Indonesia']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Indonesia . ?g rdf:type ontology:event }
[]
event
Q20972187
SYSTEM
2015 Southeast Asian haze
Q20972187
(c(Q1190554),P276,Q101472)
action filter_type
action find_reverse
entity Q252
relation P276
type Q1190554
[ANSWER] is situated at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q101472']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q252 . ?g rdf:type ontology:Q1190554 }
2015 Southeast Asian haze
2015 Southeast Asian haze is situated at that administrative territory
2015 Southeast Asian haze
action filter_type
action find_reverse
entity Indonesia
relation location
type event
[{'concept': 'event'}, 'location', 'Flag of Indonesia']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Indonesia . ?g rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q669216 Q786449
P641
Q349
USER
Which sports did Stadio Filadelfia or Artyom Yenin participate in ?
OR((Q786449,P641,c(Q349)), (Q669216,P641,c(Q349)))
action filter_type
action union
action find
entity Q786449
relation P641
action find
entity Q669216
relation P641
type Q349
{'OR': [['Q786449', 'P641', {'concept': 'Q349'}], ['Q669216', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q786449 property:P641 ?f } UNION { resource:Q669216 property:P641 ?f } } . ?f rdf:type ontology:Q349 }
Artyom Yenin Stadio Filadelfia
action filter_type
action union
action find
entity Stadio Filadelfia
relation sport
action find
entity Artyom Yenin
relation sport
type sport
{'OR': [['Stadio Filadelfia', 'sport', {'concept': 'sport'}], ['Artyom Yenin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Stadio_Filadelfia property:sport ?f } UNION { resource:Artyom_Yenin property:sport ?f } } . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q786449,P641,c(Q349)), (Q669216,P641,c(Q349)))
action filter_type
action union
action find
entity Q786449
relation P641
action find
entity Q669216
relation P641
type Q349
Stadio Filadelfia or Artyom Yenin participated in [ANSWER]
{'OR': [['Q786449', 'P641', {'concept': 'Q349'}], ['Q669216', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q786449 property:P641 ?f } UNION { resource:Q669216 property:P641 ?f } } . ?f rdf:type ontology:Q349 }
association football
Stadio Filadelfia or Artyom Yenin participated in association football
association football
action filter_type
action union
action find
entity Stadio Filadelfia
relation sport
action find
entity Artyom Yenin
relation sport
type sport
{'OR': [['Stadio Filadelfia', 'sport', {'concept': 'sport'}], ['Artyom Yenin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Stadio_Filadelfia property:sport ?f } UNION { resource:Artyom_Yenin property:sport ?f } } . ?f rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q15617994 Q7725634 Q2088357
USER
Which administrative territories did min number of literary works and musical ensembles originate ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?v ) WHERE { { ?a property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2088357 } UNION { ?a property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q7725634 } } GROUP BY ?x } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?u } } }
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?v ) WHERE { { ?a property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:musical_ensemble } UNION { ?a property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:literary_work } } GROUP BY ?x } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?u } } }
[]
designation for an administrative territorial entity literary work musical ensemble
Q1011 Q805 Q423
SYSTEM
Cape Verde, Yemen, North Korea
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q1460 Q657 Q792 Q796 Q954 Q889 Q958 Q986 Q242 Q244 Q811 Q153136 Q423 Q983 Q851 Q733 Q854 Q819 Q730 Q1013 Q159626 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1029 Q736 Q225 Q223 Q222 Q221 Q1036 Q1030 Q965 Q967 Q962 Q115 Q117 Q917 Q1007 Q1006 Q1005 Q1009 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q858 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q863
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
Min number of literary works and musical ensembles originated from [ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?v ) WHERE { { ?a property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2088357 } UNION { ?a property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q7725634 } } GROUP BY ?x } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?u } } }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Sicily Chad El Salvador Iraq Zimbabwe Afghanistan South Sudan Eritrea Belize Barbados Nicaragua Habsburg Empire North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Laos Suriname Lesotho Württemberg San Marino Somalia Sierra Leone Brunei Sudan Mauritania Mozambique Ecuador Bosnia and Herzegovina Greenland Albania Republic of Macedonia Uganda Namibia Burkina Faso Burundi Benin Ethiopia Ghana Bhutan Guinea-Bissau Guinea Gambia Cameroon Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Tajikistan
Min number of literary works and musical ensembles originated from Cape Verde, Yemen and North Korea
Cape Verde Yemen North Korea
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?v ) WHERE { { ?a property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:musical_ensemble } UNION { ?a property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:literary_work } } GROUP BY ?x } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?u } } }
[]