Simple Question (Direct)
Simple Question
Q361101
P106
Q12737077
USER
What is the job of Ajsel Kujović ?
(Q361101,P106,c(Q12737077))
action filter_type
action find
entity Q361101
relation P106
type Q12737077
['Q361101', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q361101 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Ajsel Kujović
action filter_type
action find
entity Ajsel Kujović
relation occupation
type occupation
['Ajsel Kujović', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ajsel_Kujović property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q361101,P106,c(Q12737077))
action filter_type
action find
entity Q361101
relation P106
type Q12737077
The job of Ajsel Kujović is an [ANSWER]
['Q361101', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q361101 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
The job of Ajsel Kujović is an association football player
association football player
action filter_type
action find
entity Ajsel Kujović
relation occupation
type occupation
['Ajsel Kujović', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ajsel_Kujović property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361101
P7
Q502895
USER
Who is that one a sibling of ?
(Q937857,P7,c(Q502895))
action filter_type
action find
entity Q361101
relation P7
type Q502895
['Q937857', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q361101 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Ajsel Kujović
action filter_type
action find
entity Ajsel Kujović
relation brother
type common name
['association football player', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Ajsel_Kujović property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q550939
SYSTEM
Emir Kujović
Q550939
(Q937857,P7,c(Q502895))
action filter_type
action find
entity Q361101
relation P7
type Q502895
That one a sibling of is President [ANSWER]
['Q937857', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q361101 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Emir Kujović
That one a sibling of is President Emir Kujović
Emir Kujović
action filter_type
action find
entity Ajsel Kujović
relation brother
type common name
['association football player', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Ajsel_Kujović property:brother ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q550939 Q34
P27
Q15617994
USER
Is Sweden the native country of Emir Kujović ?
(Q550939,P27,Q34)
action is_in
entity Q34
action find
entity Q550939
relation P27
['Q550939', 'P27', 'Q34']
ASK WHERE { resource:Q550939 property:P27 resource:Q34 }
Emir Kujović Sweden
action is_in
entity Sweden
action find
entity Emir Kujović
relation country of citizenship
['Emir Kujović', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Emir_Kujović property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q550939,P27,Q34)
action is_in
entity Q34
action find
entity Q550939
relation P27
[ANSWER]
['Q550939', 'P27', 'Q34']
ASK WHERE { resource:Q550939 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Emir Kujović
relation country of citizenship
['Emir Kujović', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Emir_Kujović property:country_of_citizenship resource:Sweden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 3179 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3179
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?j >= 3179 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?r } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3179
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?j >= 3179 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?r } }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3179
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?j >= 3179 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?r } }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3179
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?j >= 3179 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q781 Q34
P530
Q1048835
USER
Which political territories have diplomatic relationships with Sweden and Antigua and Barbuda ?
AND((Q34,P530,c(Q1048835)), (Q781,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q34
relation P530
action find
entity Q781
relation P530
type Q1048835
{'AND': [['Q34', 'P530', {'concept': 'Q1048835'}], ['Q781', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { resource:Q34 property:P530 ?s . resource:Q781 property:P530 ?s . ?s rdf:type ontology:Q1048835 }
Antigua and Barbuda Sweden
action filter_type
action intersection
action find
entity Sweden
relation diplomatic relation
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
{'AND': [['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Antigua and Barbuda', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Sweden property:diplomatic_relation ?s . resource:Antigua_and_Barbuda property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q34,P530,c(Q1048835)), (Q781,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q34
relation P530
action find
entity Q781
relation P530
type Q1048835
[ANSWER] have diplomatic relationships with Sweden and Antigua and Barbuda
{'AND': [['Q34', 'P530', {'concept': 'Q1048835'}], ['Q781', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { resource:Q34 property:P530 ?s . resource:Q781 property:P530 ?s . ?s rdf:type ontology:Q1048835 }
Australia
Australia have diplomatic relationships with Sweden and Antigua and Barbuda
Australia
action filter_type
action intersection
action find
entity Sweden
relation diplomatic relation
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
{'AND': [['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Antigua and Barbuda', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Sweden property:diplomatic_relation ?s . resource:Antigua_and_Barbuda property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q550939
P641
Q349
USER
What was the sport that Emir Kujović was a part of ?
(Q550939,P641,c(Q349))
action filter_type
action find
entity Q550939
relation P641
type Q349
['Q550939', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q550939 property:P641 ?l . ?l rdf:type ontology:Q349 }
Emir Kujović
action filter_type
action find
entity Emir Kujović
relation sport
type sport
['Emir Kujović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Emir_Kujović property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q550939,P641,c(Q349))
action filter_type
action find
entity Q550939
relation P641
type Q349
The sport that Emir Kujović was a part of was [ANSWER]
['Q550939', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q550939 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
The sport that Emir Kujović was a part of was association football
association football
action filter_type
action find
entity Emir Kujović
relation sport
type sport
['Emir Kujović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Emir_Kujović property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q550939
P710
Q6979593
USER
Which national association football team did that person participate in ?
(c(Q6979593),P710,Q2736)
action filter_type
action find_reverse
entity Q550939
relation P710
type Q6979593
[{'concept': 'Q6979593'}, 'P710', 'Q2736']
SELECT DISTINCT ?k WHERE { ?k property:P710 resource:Q550939 . ?k rdf:type ontology:Q6979593 }
Emir Kujović
action filter_type
action find_reverse
entity Emir Kujović
relation participant
type national association football team
[{'concept': 'national association football team'}, 'participant', 'association football']
SELECT DISTINCT ?k WHERE { ?k property:participant resource:Emir_Kujović . ?k rdf:type ontology:national_association_football_team }
[]
national association football team
Q22002180
SYSTEM
Sweden at the UEFA Euro 2016
Q22002180
(c(Q6979593),P710,Q2736)
action filter_type
action find_reverse
entity Q550939
relation P710
type Q6979593
That person participated in [ANSWER]
[{'concept': 'Q6979593'}, 'P710', 'Q2736']
SELECT DISTINCT ?k WHERE { ?k property:P710 resource:Q550939 . ?k rdf:type ontology:Q6979593 }
Sweden at the UEFA Euro 2016
That person participated in Sweden at the UEFA Euro 2016
Sweden at the UEFA Euro 2016
action filter_type
action find_reverse
entity Emir Kujović
relation participant
type national association football team
[{'concept': 'national association football team'}, 'participant', 'association football']
SELECT DISTINCT ?k WHERE { ?k property:participant resource:Emir_Kujović . ?k rdf:type ontology:national_association_football_team }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q22002180 Q152067 Q4125587
P710
Q502895
USER
Did Oscar Hiljemark and Victor Jörgen Nilsson Lindelöf participate in Q22002180 ?
(Q22002180,P710,Q152067) (Q22002180,P710,Q4125587)
action is_in
entity Q22002180
action intersection
action find_reverse
entity Q152067
relation P710
action find_reverse
entity Q4125587
relation P710
['Q22002180', 'P710', 'Q152067'] ['Q22002180', 'P710', 'Q4125587']
ASK WHERE { resource:Q22002180 property:P710 resource:Q152067 . resource:Q22002180 property:P710 resource:Q4125587 }
Sweden at the UEFA Euro 2016 Oscar Hiljemark Victor Jörgen Nilsson Lindelöf
action is_in
entity Sweden at the UEFA Euro 2016
action intersection
action find_reverse
entity Oscar Hiljemark
relation participant
action find_reverse
entity Victor Jörgen Nilsson Lindelöf
relation participant
['Sweden at the UEFA Euro 2016', 'participant', 'Oscar Hiljemark'] ['Sweden at the UEFA Euro 2016', 'participant', 'Victor Jörgen Nilsson Lindelöf']
ASK WHERE { resource:Sweden_at_the_UEFA_Euro_2016 property:participant resource:Oscar_Hiljemark . resource:Sweden_at_the_UEFA_Euro_2016 property:participant resource:Victor_Jörgen_Nilsson_Lindelöf }
[]
common name
SYSTEM
YES
(Q22002180,P710,Q152067) (Q22002180,P710,Q4125587)
action is_in
entity Q22002180
action intersection
action find_reverse
entity Q152067
relation P710
action find_reverse
entity Q4125587
relation P710
[ANSWER]
['Q22002180', 'P710', 'Q152067'] ['Q22002180', 'P710', 'Q4125587']
ASK WHERE { resource:Q22002180 property:P710 resource:Q152067 . resource:Q22002180 property:P710 resource:Q4125587 }
Yes
action is_in
entity Sweden at the UEFA Euro 2016
action intersection
action find_reverse
entity Oscar Hiljemark
relation participant
action find_reverse
entity Victor Jörgen Nilsson Lindelöf
relation participant
['Sweden at the UEFA Euro 2016', 'participant', 'Oscar Hiljemark'] ['Sweden at the UEFA Euro 2016', 'participant', 'Victor Jörgen Nilsson Lindelöf']
ASK WHERE { resource:Sweden_at_the_UEFA_Euro_2016 property:participant resource:Oscar_Hiljemark . resource:Sweden_at_the_UEFA_Euro_2016 property:participant resource:Victor_Jörgen_Nilsson_Lindelöf }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22002180
P710
Q502895
USER
How many people were the participants of Sweden at the UEFA Euro 2016 ?
(Q22002180,P710,c(Q502895))
action count
action filter_type
action find
entity Q22002180
relation P710
type Q502895
['Q22002180', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q22002180 property:P710 ?b . ?b rdf:type ontology:Q502895 }
Sweden at the UEFA Euro 2016
action count
action filter_type
action find
entity Sweden at the UEFA Euro 2016
relation participant
type common name
['Sweden at the UEFA Euro 2016', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Sweden_at_the_UEFA_Euro_2016 property:participant ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
23
Q372276 Q550939 Q4806248 Q1355390 Q5371234 Q6799321 Q83638 Q46896 Q311910 Q371652 Q1355014 Q152067 Q312935 Q214124 Q1365667 Q4125587 Q431669 Q3369754 Q16632843 Q316932 Q313037 Q178270 Q205773
(Q22002180,P710,c(Q502895))
action count
action filter_type
action find
entity Q22002180
relation P710
type Q502895
[ANSWER]
['Q22002180', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q22002180 property:P710 ?b . ?b rdf:type ontology:Q502895 }
John Guidetti Emir Kujović Ludwig Augustinsson Pontus Jansson Emil Forsberg Robin Olsen Sebastian Larsson Zlatan Ibrahimović Marcus Berg Albin Ekdal Erkan Zengin Oscar Hiljemark Martin Olsson Kim Källström Jimmy Durmaz Victor Jörgen Nilsson Lindelöf Oscar Lewicki Erik Johansson Patrik Carlgren Mikael Lustig Pontus Wernbloom Andreas Granqvist Andreas Isaksson
23
action count
action filter_type
action find
entity Sweden at the UEFA Euro 2016
relation participant
type common name
['Sweden at the UEFA Euro 2016', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Sweden_at_the_UEFA_Euro_2016 property:participant ?b . ?b rdf:type ontology:common_name }
[]