Simple Question (Direct)
Simple Question
Q4015862
P106
Q12737077
USER
What is the job of Vladimirs Draguns ?
(Q4015862,P106,c(Q12737077))
action filter_type
action find
entity Q4015862
relation P106
type Q12737077
['Q4015862', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q4015862 property:P106 ?o }
Vladimirs Draguns
action filter_type
action find
entity Vladimirs Draguns
relation occupation
type occupation
['Vladimirs Draguns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Vladimirs_Draguns property:occupation ?o }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4015862,P106,c(Q12737077))
action filter_type
action find
entity Q4015862
relation P106
type Q12737077
The job of Vladimirs Draguns is an [ANSWER]
['Q4015862', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q4015862 property:P106 ?o }
association football player
The job of Vladimirs Draguns is an association football player
association football player
action filter_type
action find
entity Vladimirs Draguns
relation occupation
type occupation
['Vladimirs Draguns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Vladimirs_Draguns property:occupation ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Who is associated with the field of occupation that one ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q937857 property:P425 ?a . ?a rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:association_football_player property:field_of_this_occupation ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] is associated with the field of occupation that one
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q937857 property:P425 ?a . ?a rdf:type ontology:Q349 }
association football
Association football is associated with the field of occupation that one
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:association_football_player property:field_of_this_occupation ?a . ?a rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q362955 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation or did Vitālijs Astafjevs participate in ?
OR((Q937857,P425,c(Q349)), (Q362955,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q362955
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q362955', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q937857 property:P425 ?e } UNION { resource:Q362955 property:P641 ?e } } . ?e rdf:type ontology:Q349 }
Vitālijs Astafjevs association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Vitālijs Astafjevs
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Vitālijs Astafjevs', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?e WHERE { { { resource:association_football_player property:field_of_this_occupation ?e } UNION { resource:Vitālijs_Astafjevs property:sport ?e } } . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q362955,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q362955
relation P641
type Q349
As [ANSWER] have [ANSWER] player as thier associated field of occupation or did Vitālijs Astafjevs participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q362955', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q937857 property:P425 ?e } UNION { resource:Q362955 property:P641 ?e } } . ?e rdf:type ontology:Q349 }
association football
As association football have association football player as thier associated field of occupation or did Vitālijs Astafjevs participate in
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Vitālijs Astafjevs
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Vitālijs Astafjevs', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?e WHERE { { { resource:association_football_player property:field_of_this_occupation ?e } UNION { resource:Vitālijs_Astafjevs property:sport ?e } } . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362955
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q362955
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q362955 property:P21 ?v . ?v rdf:type ontology:Q290 }
Vitālijs Astafjevs
action filter_type
action find
entity Vitālijs Astafjevs
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Vitālijs_Astafjevs property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q362955
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q362955 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Vitālijs Astafjevs
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Vitālijs_Astafjevs property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362955
P54
Q1194951
USER
Which national sports team is Vitālijs Astafjevs a member of ?
(Q362955,P54,c(Q1194951))
action filter_type
action find
entity Q362955
relation P54
type Q1194951
['Q362955', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q362955 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Vitālijs Astafjevs
action filter_type
action find
entity Vitālijs Astafjevs
relation member of sports team
type national sports team
['Vitālijs Astafjevs', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Vitālijs_Astafjevs property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q189322
SYSTEM
Latvia national football team
Q189322
(Q362955,P54,c(Q1194951))
action filter_type
action find
entity Q362955
relation P54
type Q1194951
The [ANSWER] is Vitālijs Astafjevs a member of
['Q362955', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q362955 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Latvia national football team
The Latvia national football team is Vitālijs Astafjevs a member of
Latvia national football team
action filter_type
action find
entity Vitālijs Astafjevs
relation member of sports team
type national sports team
['Vitālijs Astafjevs', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Vitālijs_Astafjevs property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q1194951 Q15275719
USER
How many recurring events did around 29 national sports teams participate in ?
(c(Q15275719),P1923,c(Q1194951))
action count
action approx
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 29
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?e rdf:type ontology:Q15275719 . ?v rdf:type ontology:Q1194951 . ?e property:P1923 ?v } GROUP BY ?e } . FILTER ( ?q = 29 ) }
action count
action approx
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 29
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?e rdf:type ontology:recurring_event . ?v rdf:type ontology:national_sports_team . ?e property:participating_teams ?v } GROUP BY ?e } . FILTER ( ?q = 29 ) }
[]
national sports team recurring event
SYSTEM
9
Q176883 Q37285 Q46938 Q46934 Q132529 Q101751 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action count
action approx
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 29
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?e rdf:type ontology:Q15275719 . ?v rdf:type ontology:Q1194951 . ?e property:P1923 ?v } GROUP BY ?e } . FILTER ( ?q = 29 ) }
2010 FIFA World Cup 2006 FIFA World Cup 1986 FIFA World Cup 1982 FIFA World Cup 1990 FIFA World Cup 1994 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
9
action count
action approx
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 29
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?q ) WHERE { ?e rdf:type ontology:recurring_event . ?v rdf:type ontology:national_sports_team . ?e property:participating_teams ?v } GROUP BY ?e } . FILTER ( ?q = 29 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q340169
USER
Which occupations are depicted in exactly 2 game equipment or medias ?
(c(Q17638008)|c(Q340169),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q17638008 } UNION { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q340169 } } GROUP BY ?y } . FILTER ( ?k = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:game_equipment } UNION { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:media } } GROUP BY ?y } . FILTER ( ?k = 2 ) }
[]
occupation game equipment media
Q4991371 Q639669
SYSTEM
soldier, musician
Q4991371 Q639669
(c(Q17638008)|c(Q340169),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWERS] are depicted in exactly 2 game equipment or medias
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q17638008 } UNION { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q340169 } } GROUP BY ?y } . FILTER ( ?k = 2 ) }
soldier musician
Soldier and musician are depicted in exactly 2 game equipment or medias
soldier musician
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:game_equipment } UNION { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:media } } GROUP BY ?y } . FILTER ( ?k = 2 ) }
[]