Simple Question (Direct)
Simple Question
Q3753178
P641
Q349
USER
Which sport was Fridrikh Maryutin a part of ?
(Q3753178,P641,c(Q349))
action filter_type
action find
entity Q3753178
relation P641
type Q349
['Q3753178', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q3753178 property:P641 ?q }
Fridrikh Maryutin
action filter_type
action find
entity Fridrikh Maryutin
relation sport
type sport
['Fridrikh Maryutin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Fridrikh_Maryutin property:sport ?q }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3753178,P641,c(Q349))
action filter_type
action find
entity Q3753178
relation P641
type Q349
The [ANSWER] was Fridrikh Maryutin a part of
['Q3753178', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q3753178 property:P641 ?q }
association football
The association football was Fridrikh Maryutin a part of
association football
action filter_type
action find
entity Fridrikh Maryutin
relation sport
type sport
['Fridrikh Maryutin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Fridrikh_Maryutin property:sport ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3753178
P106
Q12737077
USER
Which occupations have Fridrikh Maryutin as his/her 's career ?
(Q3753178,P106,c(Q12737077))
action filter_type
action find
entity Q3753178
relation P106
type Q12737077
['Q3753178', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3753178 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Fridrikh Maryutin
action filter_type
action find
entity Fridrikh Maryutin
relation occupation
type occupation
['Fridrikh Maryutin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Fridrikh_Maryutin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q3753178,P106,c(Q12737077))
action filter_type
action find
entity Q3753178
relation P106
type Q12737077
[ANSWERS] have Fridrikh Maryutin as his/her 's career
['Q3753178', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3753178 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football manager association football player
Association football manager and association football player have Fridrikh Maryutin as his/her 's career
association football manager association football player
action filter_type
action find
entity Fridrikh Maryutin
relation occupation
type occupation
['Fridrikh Maryutin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Fridrikh_Maryutin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1734
P366
Q349 Q8205328 Q41176
USER
How many sports represent the main use of more number of artefacts and buildings than volleyball ?
(c(Q8205328)|c(Q41176),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P366
type Q8205328
type Q41176
[[{'concept': 'Q8205328'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:Q8205328 ) ( ontology:Q41176 ) } . ?r rdf:type ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P366 resource:Q1734 . { { ?s rdf:type ontology:Q8205328 } UNION { ?s rdf:type ontology:Q41176 } } } } . FILTER ( ?m > ?q ) }
volleyball
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity volleyball
relation use
type artefact
type building
[[{'concept': 'artefact'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:artefact ) ( ontology:building ) } . ?r rdf:type ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:use resource:volleyball . { { ?s rdf:type ontology:artefact } UNION { ?s rdf:type ontology:building } } } } . FILTER ( ?m > ?q ) }
[]
sport artefact building
SYSTEM
3
Q14300548 Q108429 Q41466
(c(Q8205328)|c(Q41176),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P366
type Q8205328
type Q41176
[ANSWER]
[[{'concept': 'Q8205328'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:Q8205328 ) ( ontology:Q41176 ) } . ?r rdf:type ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P366 resource:Q1734 . { { ?s rdf:type ontology:Q8205328 } UNION { ?s rdf:type ontology:Q41176 } } } } . FILTER ( ?m > ?q ) }
skating archery ice hockey
3
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity volleyball
relation use
type artefact
type building
[[{'concept': 'artefact'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:artefact ) ( ontology:building ) } . ?r rdf:type ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:use resource:volleyball . { { ?s rdf:type ontology:artefact } UNION { ?s rdf:type ontology:building } } } } . FILTER ( ?m > ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3753178
P54
Q1194951
USER
Which national sports team is Fridrikh Maryutin a member of ?
(Q3753178,P54,c(Q1194951))
action filter_type
action find
entity Q3753178
relation P54
type Q1194951
['Q3753178', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q3753178 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Fridrikh Maryutin
action filter_type
action find
entity Fridrikh Maryutin
relation member of sports team
type national sports team
['Fridrikh Maryutin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Fridrikh_Maryutin property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
national sports team
Q189275
SYSTEM
Soviet Union national football team
Q189275
(Q3753178,P54,c(Q1194951))
action filter_type
action find
entity Q3753178
relation P54
type Q1194951
The [ANSWER] is Fridrikh Maryutin a member of
['Q3753178', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q3753178 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Soviet Union national football team
The Soviet Union national football team is Fridrikh Maryutin a member of
Soviet Union national football team
action filter_type
action find
entity Fridrikh Maryutin
relation member of sports team
type national sports team
['Fridrikh Maryutin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Fridrikh_Maryutin property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3753178
P21
Q290
USER
What is the sex of Fridrikh Maryutin ?
(Q3753178,P21,c(Q290))
action filter_type
action find
entity Q3753178
relation P21
type Q290
['Q3753178', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3753178 property:P21 ?p . ?p rdf:type ontology:Q290 }
Fridrikh Maryutin
action filter_type
action find
entity Fridrikh Maryutin
relation gender
type sex
['Fridrikh Maryutin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Fridrikh_Maryutin property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3753178,P21,c(Q290))
action filter_type
action find
entity Q3753178
relation P21
type Q290
The sex of Fridrikh Maryutin is the [ANSWER]
['Q3753178', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3753178 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Fridrikh Maryutin is the male
male
action filter_type
action find
entity Fridrikh Maryutin
relation gender
type sex
['Fridrikh Maryutin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Fridrikh_Maryutin property:gender ?p . ?p rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q191827
P748
Q1752346 Q178706 Q12737077
USER
How many occupations are appointed by greater number of assemblies or institutions than Taoiseach ?
(c(Q12737077),P748,c(Q1752346)|c(Q178706))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q191827
relation P748
type Q1752346
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Q191827 property:P748 ?e . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1752346 ) ( ontology:Q178706 ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1752346 ) ( ontology:Q178706 ) } } GROUP BY ?b } }
Taoiseach
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Taoiseach
relation appointed by
type assembly
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Taoiseach property:appointed_by ?e . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:assembly ) ( ontology:institution ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:assembly ) ( ontology:institution ) } } GROUP BY ?b } }
[]
assembly institution occupation
SYSTEM
16
Q740126 Q15305714 Q842386 Q19056310 Q890030 Q1161813 Q796593 Q7574264 Q8882 Q3409203 Q327948 Q1370482 Q634291 Q735587 Q81066 Q628102
(c(Q12737077),P748,c(Q1752346)|c(Q178706))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q191827
relation P748
type Q1752346
type Q178706
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Q191827 property:P748 ?e . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1752346 ) ( ontology:Q178706 ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1752346 ) ( ontology:Q178706 ) } } GROUP BY ?b } }
President of the European Parliament Prime Minister of Libya Prime Minister of Russia President of Botswana State President of South Africa President of the United Nations General Assembly President of Malta Speaker of the Hellenic Parliament President of the European Commission President of Greece President of Israel President of Cuba High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General President of Nauru
16
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Taoiseach
relation appointed by
type assembly
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Taoiseach property:appointed_by ?e . { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:assembly ) ( ontology:institution ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:assembly ) ( ontology:institution ) } } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3753178
P27
Q7275
USER
Which state is the native country of Fridrikh Maryutin ?
(Q3753178,P27,c(Q7275))
action filter_type
action find
entity Q3753178
relation P27
type Q7275
['Q3753178', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q3753178 property:P27 ?g . ?g rdf:type ontology:Q7275 }
Fridrikh Maryutin
action filter_type
action find
entity Fridrikh Maryutin
relation country of citizenship
type state
['Fridrikh Maryutin', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:Fridrikh_Maryutin property:country_of_citizenship ?g . ?g rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q3753178,P27,c(Q7275))
action filter_type
action find
entity Q3753178
relation P27
type Q7275
The [ANSWER] is the native country of Fridrikh Maryutin
['Q3753178', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q3753178 property:P27 ?g . ?g rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Fridrikh Maryutin
Soviet Union
action filter_type
action find
entity Fridrikh Maryutin
relation country of citizenship
type state
['Fridrikh Maryutin', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:Fridrikh_Maryutin property:country_of_citizenship ?g . ?g rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3753178
P19
Q56061
USER
Which administrative territory is the birthplace of Fridrikh Maryutin ?
(Q3753178,P19,c(Q56061))
action filter_type
action find
entity Q3753178
relation P19
type Q56061
['Q3753178', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3753178 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Fridrikh Maryutin
action filter_type
action find
entity Fridrikh Maryutin
relation place of birth
type administrative territorial entity
['Fridrikh Maryutin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Fridrikh_Maryutin property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3927
SYSTEM
Astrakhan
Q3927
(Q3753178,P19,c(Q56061))
action filter_type
action find
entity Q3753178
relation P19
type Q56061
[ANSWER] is the birthplace of Fridrikh Maryutin
['Q3753178', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3753178 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Astrakhan
Astrakhan is the birthplace of Fridrikh Maryutin
Astrakhan
action filter_type
action find
entity Fridrikh Maryutin
relation place of birth
type administrative territorial entity
['Fridrikh Maryutin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Fridrikh_Maryutin property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5667264
Q56061
USER
And how about Alfonso Urbina?
(Q5667264,P19,c(Q56061))
action filter_type
action find
entity Q5667264
relation P19
type Q56061
['Q5667264', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5667264 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Alfonso Urbina
action filter_type
action find
entity Alfonso Urbina
relation place of birth
type administrative territorial entity
['Alfonso Urbina', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alfonso_Urbina property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q184345
SYSTEM
Viña del Mar
Q184345
(Q5667264,P19,c(Q56061))
action filter_type
action find
entity Q5667264
relation P19
type Q56061
[ANSWER]
['Q5667264', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5667264 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Viña del Mar
Viña del Mar
action filter_type
action find
entity Alfonso Urbina
relation place of birth
type administrative territorial entity
['Alfonso Urbina', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alfonso_Urbina property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q184345 Q298
P17
Q15617994
USER
Does that administrative territory belong to Chile ?
(Q184345,P17,Q298)
action is_in
entity Q298
action find
entity Q184345
relation P17
['Q184345', 'P17', 'Q298']
ASK WHERE { resource:Q184345 property:P17 resource:Q298 }
Viña del Mar Chile
action is_in
entity Chile
action find
entity Viña del Mar
relation country
['Viña del Mar', 'country', 'Chile']
ASK WHERE { resource:Viña_del_Mar property:country resource:Chile }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184345,P17,Q298)
action is_in
entity Q298
action find
entity Q184345
relation P17
[ANSWER]
['Q184345', 'P17', 'Q298']
ASK WHERE { resource:Q184345 property:P17 resource:Q298 }
Yes
action is_in
entity Chile
action find
entity Viña del Mar
relation country
['Viña del Mar', 'country', 'Chile']
ASK WHERE { resource:Viña_del_Mar property:country resource:Chile }
[]