Simple Question (Direct)
Simple Question
Q3248796
P641
Q349
USER
Which sport did Torrey Smith participate in ?
(Q3248796,P641,c(Q349))
action filter_type
action find
entity Q3248796
relation P641
type Q349
['Q3248796', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3248796 property:P641 ?g . ?g rdf:type ontology:Q349 }
Torrey Smith
action filter_type
action find
entity Torrey Smith
relation sport
type sport
['Torrey Smith', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Torrey_Smith property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q3248796,P641,c(Q349))
action filter_type
action find
entity Q3248796
relation P641
type Q349
Torrey Smith participated in [ANSWER]
['Q3248796', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3248796 property:P641 ?g . ?g rdf:type ontology:Q349 }
American football
Torrey Smith participated in American football
American football
action filter_type
action find
entity Torrey Smith
relation sport
type sport
['Torrey Smith', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Torrey_Smith property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41323
P19
Q502895
USER
Which person has place of birth as that sport ?
(c(Q502895),P19,Q41323)
action filter_type
action find_reverse
entity Q41323
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q41323']
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q41323 . ?b rdf:type ontology:Q502895 }
American football
action filter_type
action find_reverse
entity American football
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'American football']
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:American_football . ?b rdf:type ontology:common_name }
[]
common name
Q6186981
SYSTEM
Jesse Williams
Q6186981
(c(Q502895),P19,Q41323)
action filter_type
action find_reverse
entity Q41323
relation P19
type Q502895
[ANSWER] has place of birth as that sport
[{'concept': 'Q502895'}, 'P19', 'Q41323']
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q41323 . ?b rdf:type ontology:Q502895 }
Jesse Williams
Jesse Williams has place of birth as that sport
Jesse Williams
action filter_type
action find_reverse
entity American football
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'American football']
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:American_football . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6186981 Q2652604 Q408
P27
Q1048835
USER
Is that person a native of Santa Luzia and Australia ?
(Q6186981,P27,Q2652604) (Q6186981,P27,Q408)
action is_in
entity Q6186981
action intersection
action find_reverse
entity Q2652604
relation P27
action find_reverse
entity Q408
relation P27
['Q6186981', 'P27', 'Q2652604'] ['Q6186981', 'P27', 'Q408']
ASK WHERE { resource:Q6186981 property:P27 resource:Q408 . resource:Q6186981 property:P27 resource:Q2652604 }
Jesse Williams Santa Luzia Australia
action is_in
entity Jesse Williams
action intersection
action find_reverse
entity Santa Luzia
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Jesse Williams', 'country of citizenship', 'Santa Luzia'] ['Jesse Williams', 'country of citizenship', 'Australia']
ASK WHERE { resource:Jesse_Williams property:country_of_citizenship resource:Australia . resource:Jesse_Williams property:country_of_citizenship resource:Santa_Luzia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q6186981,P27,Q2652604) (Q6186981,P27,Q408)
action is_in
entity Q6186981
action intersection
action find_reverse
entity Q2652604
relation P27
action find_reverse
entity Q408
relation P27
[ANSWER]
['Q6186981', 'P27', 'Q2652604'] ['Q6186981', 'P27', 'Q408']
ASK WHERE { resource:Q6186981 property:P27 resource:Q408 . resource:Q6186981 property:P27 resource:Q2652604 }
NO and YES respectively
action is_in
entity Jesse Williams
action intersection
action find_reverse
entity Santa Luzia
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Jesse Williams', 'country of citizenship', 'Santa Luzia'] ['Jesse Williams', 'country of citizenship', 'Australia']
ASK WHERE { resource:Jesse_Williams property:country_of_citizenship resource:Australia . resource:Jesse_Williams property:country_of_citizenship resource:Santa_Luzia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6186981
P106
Q12737077
USER
What is the profession of Jesse Williams ?
(Q6186981,P106,c(Q12737077))
action filter_type
action find
entity Q6186981
relation P106
type Q12737077
['Q6186981', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6186981 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Jesse Williams
action filter_type
action find
entity Jesse Williams
relation occupation
type occupation
['Jesse Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jesse_Williams property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q6186981,P106,c(Q12737077))
action filter_type
action find
entity Q6186981
relation P106
type Q12737077
The profession of Jesse Williams is an [ANSWER]
['Q6186981', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6186981 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
American football player
The profession of Jesse Williams is an American football player
American football player
action filter_type
action find
entity Jesse Williams
relation occupation
type occupation
['Jesse Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jesse_Williams property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6186981
P734
Q82799
USER
Who is associated with Jesse Williams ?
(Q6186981,P734,c(Q82799))
action filter_type
action find
entity Q6186981
relation P734
type Q82799
['Q6186981', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q6186981 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Jesse Williams
action filter_type
action find
entity Jesse Williams
relation family name
type name
['Jesse Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Jesse_Williams property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q6186981,P734,c(Q82799))
action filter_type
action find
entity Q6186981
relation P734
type Q82799
[ANSWER] is associated with Jesse [ANSWER]
['Q6186981', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q6186981 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Williams
Williams is associated with Jesse Williams
Williams
action filter_type
action find
entity Jesse Williams
relation family name
type name
['Jesse Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Jesse_Williams property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5810306
Q82799
USER
And what about Fredrik Holm?
(Q5810306,P734,c(Q82799))
action filter_type
action find
entity Q5810306
relation P734
type Q82799
['Q5810306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q5810306 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Fredrik Holm
action filter_type
action find
entity Fredrik Holm
relation family name
type name
['Fredrik Holm', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Fredrik_Holm property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q18515509
SYSTEM
Holm
Q18515509
(Q5810306,P734,c(Q82799))
action filter_type
action find
entity Q5810306
relation P734
type Q82799
[ANSWER]
['Q5810306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q5810306 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Holm
Holm
action filter_type
action find
entity Fredrik Holm
relation family name
type name
['Fredrik Holm', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Fredrik_Holm property:family_name ?q . ?q rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q308841
P180
Q82799 Q15709879 Q1792379
USER
How many names are demonstrated in greater number of artwork series or art genres than snail ?
(c(Q15709879)|c(Q1792379),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q308841
relation P180
type Q15709879
type Q1792379
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { VALUES ( ?b ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } . ?r rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { { ?a rdf:type ontology:Q15709879 } UNION { ?a rdf:type ontology:Q1792379 } } . ?a property:P180 resource:Q308841 } } . FILTER ( ?q > ?c ) }
snail
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity snail
relation depicts
type artwork series
type art genre
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { VALUES ( ?b ) { ( ontology:artwork_series ) ( ontology:art_genre ) } . ?r rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { { ?a rdf:type ontology:artwork_series } UNION { ?a rdf:type ontology:art_genre } } . ?a property:depicts resource:snail } } . FILTER ( ?q > ?c ) }
[]
name artwork series art genre
SYSTEM
6
Q5 Q726 Q144 Q201251 Q1367 Q152
(c(Q15709879)|c(Q1792379),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q308841
relation P180
type Q15709879
type Q1792379
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { VALUES ( ?b ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } . ?r rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { { ?a rdf:type ontology:Q15709879 } UNION { ?a rdf:type ontology:Q1792379 } } . ?a property:P180 resource:Q308841 } } . FILTER ( ?q > ?c ) }
human horse dog peacock monkey fish
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity snail
relation depicts
type artwork series
type art genre
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { VALUES ( ?b ) { ( ontology:artwork_series ) ( ontology:art_genre ) } . ?r rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { { ?a rdf:type ontology:artwork_series } UNION { ?a rdf:type ontology:art_genre } } . ?a property:depicts resource:snail } } . FILTER ( ?q > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11946202
P180
Q82799 Q15709879 Q1792379
USER
And also tell me about butterfly?
(c(Q15709879)|c(Q1792379),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q11946202
relation P180
type Q15709879
type Q1792379
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?q > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } } . ?r property:P180 resource:Q11946202 } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:P180 ?i . ?i rdf:type ontology:Q82799 . ?s rdf:type ontology:Q15709879 } UNION { ?s property:P180 ?i . ?i rdf:type ontology:Q82799 . ?s rdf:type ontology:Q1792379 } } GROUP BY ?i } }
butterfly
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity butterfly
relation depicts
type artwork series
type art genre
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?q > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:art_genre ) } } . ?r property:depicts resource:butterfly } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:depicts ?i . ?i rdf:type ontology:name . ?s rdf:type ontology:artwork_series } UNION { ?s property:depicts ?i . ?i rdf:type ontology:name . ?s rdf:type ontology:art_genre } } GROUP BY ?i } }
[]
name artwork series art genre
SYSTEM
6
Q5 Q726 Q144 Q201251 Q1367 Q152
(c(Q15709879)|c(Q1792379),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q11946202
relation P180
type Q15709879
type Q1792379
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?q > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } } . ?r property:P180 resource:Q11946202 } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:P180 ?i . ?i rdf:type ontology:Q82799 . ?s rdf:type ontology:Q15709879 } UNION { ?s property:P180 ?i . ?i rdf:type ontology:Q82799 . ?s rdf:type ontology:Q1792379 } } GROUP BY ?i } }
human horse dog peacock monkey fish
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity butterfly
relation depicts
type artwork series
type art genre
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?q > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:art_genre ) } } . ?r property:depicts resource:butterfly } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:depicts ?i . ?i rdf:type ontology:name . ?s rdf:type ontology:artwork_series } UNION { ?s property:depicts ?i . ?i rdf:type ontology:name . ?s rdf:type ontology:art_genre } } GROUP BY ?i } }
[]