Simple Question (Direct)
Simple Question
Q3479681
P21
Q290
USER
Which sex does Sergio Rada have ?
(Q3479681,P21,c(Q290))
action filter_type
action find
entity Q3479681
relation P21
type Q290
['Q3479681', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3479681 property:P21 ?k . ?k rdf:type ontology:Q290 }
Sergio Rada
action filter_type
action find
entity Sergio Rada
relation gender
type sex
['Sergio Rada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Sergio_Rada property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3479681,P21,c(Q290))
action filter_type
action find
entity Q3479681
relation P21
type Q290
Sergio Rada has a [ANSWER]
['Q3479681', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3479681 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Sergio Rada has a male
male
action filter_type
action find
entity Sergio Rada
relation gender
type sex
['Sergio Rada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Sergio_Rada property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3479681
P19
Q13220204
USER
Which administrative country subdivision was that person born at ?
(Q6581097,P19,c(Q13220204))
action filter_type
action find
entity Q3479681
relation P19
type Q13220204
['Q6581097', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q3479681 property:P19 ?x . ?x rdf:type ontology:Q13220204 }
Sergio Rada
action filter_type
action find
entity Sergio Rada
relation place of birth
type second-level administrative country subdivision
['male', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Sergio_Rada property:place_of_birth ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2279534
SYSTEM
Campo de la Cruz
Q2279534
(Q6581097,P19,c(Q13220204))
action filter_type
action find
entity Q3479681
relation P19
type Q13220204
Which administrative country subdivision was that person born at
['Q6581097', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q3479681 property:P19 ?x . ?x rdf:type ontology:Q13220204 }
Campo de la Cruz
Which administrative country subdivision was that person born at
Campo de la Cruz
action filter_type
action find
entity Sergio Rada
relation place of birth
type second-level administrative country subdivision
['male', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Sergio_Rada property:place_of_birth ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2279534 Q627576 Q739
P17
Q15617994
USER
Is that administrative country subdivision present in Kötz and Colombia ?
(Q2279534,P17,Q627576) (Q2279534,P17,Q739)
action is_in
entity Q2279534
action intersection
action find_reverse
entity Q627576
relation P17
action find_reverse
entity Q739
relation P17
['Q2279534', 'P17', 'Q627576'] ['Q2279534', 'P17', 'Q739']
ASK WHERE { resource:Q2279534 property:P17 resource:Q627576 . resource:Q2279534 property:P17 resource:Q739 }
Campo de la Cruz Kötz Colombia
action is_in
entity Campo de la Cruz
action intersection
action find_reverse
entity Kötz
relation country
action find_reverse
entity Colombia
relation country
['Campo de la Cruz', 'country', 'Kötz'] ['Campo de la Cruz', 'country', 'Colombia']
ASK WHERE { resource:Campo_de_la_Cruz property:country resource:Kötz . resource:Campo_de_la_Cruz property:country resource:Colombia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2279534,P17,Q627576) (Q2279534,P17,Q739)
action is_in
entity Q2279534
action intersection
action find_reverse
entity Q627576
relation P17
action find_reverse
entity Q739
relation P17
[ANSWER]
['Q2279534', 'P17', 'Q627576'] ['Q2279534', 'P17', 'Q739']
ASK WHERE { resource:Q2279534 property:P17 resource:Q627576 . resource:Q2279534 property:P17 resource:Q739 }
NO and YES respectively
action is_in
entity Campo de la Cruz
action intersection
action find_reverse
entity Kötz
relation country
action find_reverse
entity Colombia
relation country
['Campo de la Cruz', 'country', 'Kötz'] ['Campo de la Cruz', 'country', 'Colombia']
ASK WHERE { resource:Campo_de_la_Cruz property:country resource:Kötz . resource:Campo_de_la_Cruz property:country resource:Colombia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3479681
P106
Q151885
USER
What does Sergio Rada do for a living ?
(Q3479681,P106,c(Q151885))
action filter_type
action find
entity Q3479681
relation P106
type Q151885
['Q3479681', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q151885 . resource:Q3479681 property:P106 ?d }
Sergio Rada
action filter_type
action find
entity Sergio Rada
relation occupation
type concept
['Sergio Rada', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:concept . resource:Sergio_Rada property:occupation ?d }
[]
concept
Q13381376
SYSTEM
weightlifter
Q13381376
(Q3479681,P106,c(Q151885))
action filter_type
action find
entity Q3479681
relation P106
type Q151885
Sergio Rada does for a living a [ANSWER]
['Q3479681', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q151885 . resource:Q3479681 property:P106 ?d }
weightlifter
Sergio Rada does for a living a weightlifter
weightlifter
action filter_type
action find
entity Sergio Rada
relation occupation
type concept
['Sergio Rada', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:concept . resource:Sergio_Rada property:occupation ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13381376
P425
Q349
USER
Who has that concept as the associated field of occupation ?
(Q13381376,P425,c(Q349))
action filter_type
action find
entity Q13381376
relation P425
type Q349
['Q13381376', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q13381376 property:P425 ?q }
weightlifter
action filter_type
action find
entity weightlifter
relation field of this occupation
type sport
['weightlifter', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:weightlifter property:field_of_this_occupation ?q }
[]
sport
Q83462
SYSTEM
weightlifting
Q83462
(Q13381376,P425,c(Q349))
action filter_type
action find
entity Q13381376
relation P425
type Q349
[ANSWER] has that concept as the associated field of occupation
['Q13381376', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q13381376 property:P425 ?q }
weightlifting
Weightlifting has that concept as the associated field of occupation
weightlifting
action filter_type
action find
entity weightlifter
relation field of this occupation
type sport
['weightlifter', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:weightlifter property:field_of_this_occupation ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P425
Q349 Q151885
USER
How many sports have approximately the same number of concepts as the associated fields of occupation as that sport ?
(c(Q151885),P425,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P425
type Q349
type Q151885
action count
action filter_type
action find
entity Q83462
relation P425
type Q349
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P425 ?x . ?x rdf:type ontology:Q349 . ?q rdf:type ontology:Q151885 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q83462 property:P425 ?v . ?v rdf:type ontology:Q349 } } . FILTER ( ?k = ?b ) }
action count
action approx
action find_reverse_tuple_counts
relation field of this occupation
type sport
type concept
action count
action filter_type
action find
entity weightlifting
relation field of this occupation
type sport
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:field_of_this_occupation ?x . ?x rdf:type ontology:sport . ?q rdf:type ontology:concept } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:weightlifting property:field_of_this_occupation ?v . ?v rdf:type ontology:sport } } . FILTER ( ?k = ?b ) }
[]
sport concept
SYSTEM
17
Q31920 Q5369 Q183018 Q500050 Q102843 Q809831 Q133201 Q1295867 Q7076154 Q83462 Q328716 Q204686 Q12100 Q124100 Q105674 Q215862 Q204632
(c(Q151885),P425,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P425
type Q349
type Q151885
action count
action filter_type
action find
entity Q83462
relation P425
type Q349
[ANSWER]
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P425 ?x . ?x rdf:type ontology:Q349 . ?q rdf:type ontology:Q151885 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q83462 property:P425 ?v . ?v rdf:type ontology:Q349 } } . FILTER ( ?k = ?b ) }
swimming baseball bandy cross country running tug of war BASE jumping squash pesäpallo ocean rowing weightlifting motorcycle sport winter sport fencing bodybuilding running motocross Gaelic football
17
action count
action approx
action find_reverse_tuple_counts
relation field of this occupation
type sport
type concept
action count
action filter_type
action find
entity weightlifting
relation field of this occupation
type sport
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:field_of_this_occupation ?x . ?x rdf:type ontology:sport . ?q rdf:type ontology:concept } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:weightlifting property:field_of_this_occupation ?v . ?v rdf:type ontology:sport } } . FILTER ( ?k = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3479681
P641
Q349
USER
Which sport was Sergio Rada a part of ?
(Q3479681,P641,c(Q349))
action filter_type
action find
entity Q3479681
relation P641
type Q349
['Q3479681', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q3479681 property:P641 ?b . ?b rdf:type ontology:Q349 }
Sergio Rada
action filter_type
action find
entity Sergio Rada
relation sport
type sport
['Sergio Rada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Sergio_Rada property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q83462
SYSTEM
weightlifting
Q83462
(Q3479681,P641,c(Q349))
action filter_type
action find
entity Q3479681
relation P641
type Q349
Sergio Rada was a [ANSWER]
['Q3479681', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q3479681 property:P641 ?b . ?b rdf:type ontology:Q349 }
weightlifting
Sergio Rada was a weightlifting
weightlifting
action filter_type
action find
entity Sergio Rada
relation sport
type sport
['Sergio Rada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Sergio_Rada property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3553675
Q349
USER
And how about Valeriy Shomin?
(Q3553675,P641,c(Q349))
action filter_type
action find
entity Q3553675
relation P641
type Q349
['Q3553675', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q3553675 property:P641 ?w }
Valeriy Shomin
action filter_type
action find
entity Valeriy Shomin
relation sport
type sport
['Valeriy Shomin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:Valeriy_Shomin property:sport ?w }
[]
sport
Q206989
SYSTEM
shooting sport
Q206989
(Q3553675,P641,c(Q349))
action filter_type
action find
entity Q3553675
relation P641
type Q349
[ANSWER]
['Q3553675', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q3553675 property:P641 ?w }
shooting sport
shooting sport
action filter_type
action find
entity Valeriy Shomin
relation sport
type sport
['Valeriy Shomin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:Valeriy_Shomin property:sport ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P366
Q349 Q2235308
USER
Which sports represent the main use of around the same number of ship types as that sport ?
(c(Q2235308),P366,c(Q349))
action approx
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_type
action find
entity Q206989
relation P366
type Q349
[{'concept': 'Q2235308'}, 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?x ) WHERE { ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q2235308 . ?m property:P366 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q206989 property:P366 ?w . ?w rdf:type ontology:Q349 } } . FILTER ( ?x = ?q ) }
action approx
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_type
action find
entity shooting sport
relation use
type sport
[{'concept': 'ship type'}, 'use', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?x ) WHERE { ?z rdf:type ontology:sport . ?m rdf:type ontology:ship_type . ?m property:use ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:shooting_sport property:use ?w . ?w rdf:type ontology:sport } } . FILTER ( ?x = ?q ) }
[]
sport ship type
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q2235308),P366,c(Q349))
action approx
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_type
action find
entity Q206989
relation P366
type Q349
[ANSWERS] represent the main use of around the same number of ship types as that sport
[{'concept': 'Q2235308'}, 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?x ) WHERE { ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q2235308 . ?m property:P366 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q206989 property:P366 ?w . ?w rdf:type ontology:Q349 } } . FILTER ( ?x = ?q ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football tennis ice hockey climbing harness racing American football badminton
Floorball, handball and bandy represent the main use of around the same number of ship types as that sport
floorball handball bandy
action approx
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_type
action find
entity shooting sport
relation use
type sport
[{'concept': 'ship type'}, 'use', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?x ) WHERE { ?z rdf:type ontology:sport . ?m rdf:type ontology:ship_type . ?m property:use ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:shooting_sport property:use ?w . ?w rdf:type ontology:sport } } . FILTER ( ?x = ?q ) }
[]