Simple Question (Direct)
Simple Question
Q3569553
P22
Q502895
USER
Which male person was the parent of Wladimir Yordanoff ?
(Q3569553,P22,c(Q502895))
action filter_type
action find
entity Q3569553
relation P22
type Q502895
['Q3569553', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3569553 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Wladimir Yordanoff
action filter_type
action find
entity Wladimir Yordanoff
relation father
type common name
['Wladimir Yordanoff', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Wladimir_Yordanoff property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3264630
SYSTEM
Luben Yordanoff
Q3264630
(Q3569553,P22,c(Q502895))
action filter_type
action find
entity Q3569553
relation P22
type Q502895
[ANSWER] was the parent of Wladimir Yordanoff
['Q3569553', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3569553 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Luben Yordanoff
Luben Yordanoff was the parent of Wladimir Yordanoff
Luben Yordanoff
action filter_type
action find
entity Wladimir Yordanoff
relation father
type common name
['Wladimir Yordanoff', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Wladimir_Yordanoff property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3264630
P20
Q20667921
USER
Where did that person expire ?
(Q3264630,P20,c(Q20667921))
action filter_type
action find
entity Q3264630
relation P20
type Q20667921
['Q3264630', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3264630 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
Luben Yordanoff
action filter_type
action find
entity Luben Yordanoff
relation place of death
type type of french administrative division
['Luben Yordanoff', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Luben_Yordanoff property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q240752
SYSTEM
Chatou
Q240752
(Q3264630,P20,c(Q20667921))
action filter_type
action find
entity Q3264630
relation P20
type Q20667921
That person expired [ANSWER]
['Q3264630', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3264630 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
Chatou
That person expired Chatou
Chatou
action filter_type
action find
entity Luben Yordanoff
relation place of death
type type of french administrative division
['Luben Yordanoff', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Luben_Yordanoff property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q240752 Q15997733
P19
Q502895
USER
Does Les Anderson have location of birth at that french administrative division ?
(Q15997733,P19,Q240752)
action is_in
entity Q15997733
action find
entity Q240752
relation P19
['Q15997733', 'P19', 'Q240752']
ASK WHERE { resource:Q240752 property:P19 resource:Q15997733 }
Chatou Les Anderson
action is_in
entity Les Anderson
action find
entity Chatou
relation place of birth
['Les Anderson', 'place of birth', 'Chatou']
ASK WHERE { resource:Chatou property:place_of_birth resource:Les_Anderson }
[]
common name
SYSTEM
NO
(Q15997733,P19,Q240752)
action is_in
entity Q15997733
action find
entity Q240752
relation P19
[ANSWER]
['Q15997733', 'P19', 'Q240752']
ASK WHERE { resource:Q240752 property:P19 resource:Q15997733 }
No
action is_in
entity Les Anderson
action find
entity Chatou
relation place of birth
['Les Anderson', 'place of birth', 'Chatou']
ASK WHERE { resource:Chatou property:place_of_birth resource:Les_Anderson }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q2031291 Q811979
USER
Which people are max number of releases or architectural structures dedicated to ?
(c(Q2031291)|c(Q811979),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q2031291
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
[[{'concept': 'Q2031291'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P825 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q811979 } UNION { ?x property:P825 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2031291 } } GROUP BY ?f } } . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2031291 ) ( ontology:Q811979 ) } } GROUP BY ?w } . FILTER ( ?s = ?d ) }
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type release
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
[[{'concept': 'release'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:dedicated_to ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:architectural_structure } UNION { ?x property:dedicated_to ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:release } } GROUP BY ?f } } . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:release ) ( ontology:architectural_structure ) } } GROUP BY ?w } . FILTER ( ?s = ?d ) }
[]
common name release architectural structure
Q392
SYSTEM
Bob Dylan
Q392
(c(Q2031291)|c(Q811979),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q2031291
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
Which people is max number of releases or architectural structures dedicated to
[[{'concept': 'Q2031291'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P825 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q811979 } UNION { ?x property:P825 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q2031291 } } GROUP BY ?f } } . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2031291 ) ( ontology:Q811979 ) } } GROUP BY ?w } . FILTER ( ?s = ?d ) }
Bob Dylan
Which people is max number of releases or architectural structures dedicated to
Bob Dylan
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type release
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
[[{'concept': 'release'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?d ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:dedicated_to ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:architectural_structure } UNION { ?x property:dedicated_to ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:release } } GROUP BY ?f } } . { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:release ) ( ontology:architectural_structure ) } } GROUP BY ?w } . FILTER ( ?s = ?d ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q392 Q21070341 Q457433
P26
Q502895
USER
Does that person have Hal Adelquist and Sara Dylan as spouse ?
(Q392,P26,Q21070341) (Q392,P26,Q457433)
action is_in
entity Q392
action intersection
action find_reverse
entity Q21070341
relation P26
action find_reverse
entity Q457433
relation P26
['Q392', 'P26', 'Q21070341'] ['Q392', 'P26', 'Q457433']
ASK WHERE { resource:Q392 property:P26 resource:Q21070341 . resource:Q392 property:P26 resource:Q457433 }
Bob Dylan Hal Adelquist Sara Dylan
action is_in
entity Bob Dylan
action intersection
action find_reverse
entity Hal Adelquist
relation spouse
action find_reverse
entity Sara Dylan
relation spouse
['Bob Dylan', 'spouse', 'Hal Adelquist'] ['Bob Dylan', 'spouse', 'Sara Dylan']
ASK WHERE { resource:Bob_Dylan property:spouse resource:Hal_Adelquist . resource:Bob_Dylan property:spouse resource:Sara_Dylan }
[]
common name
SYSTEM
NO and YES respectively
(Q392,P26,Q21070341) (Q392,P26,Q457433)
action is_in
entity Q392
action intersection
action find_reverse
entity Q21070341
relation P26
action find_reverse
entity Q457433
relation P26
[ANSWER]
['Q392', 'P26', 'Q21070341'] ['Q392', 'P26', 'Q457433']
ASK WHERE { resource:Q392 property:P26 resource:Q21070341 . resource:Q392 property:P26 resource:Q457433 }
NO and YES respectively
action is_in
entity Bob Dylan
action intersection
action find_reverse
entity Hal Adelquist
relation spouse
action find_reverse
entity Sara Dylan
relation spouse
['Bob Dylan', 'spouse', 'Hal Adelquist'] ['Bob Dylan', 'spouse', 'Sara Dylan']
ASK WHERE { resource:Bob_Dylan property:spouse resource:Hal_Adelquist . resource:Bob_Dylan property:spouse resource:Sara_Dylan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q392
P734
Q82799
USER
Who is associated with Bob Dylan?
action filter_type
action find
entity Q392
relation P734
type Q82799
SELECT DISTINCT ?j WHERE { resource:Q392 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Bob Dylan
action filter_type
action find
entity Bob Dylan
relation family name
type name
SELECT DISTINCT ?j WHERE { resource:Bob_Dylan property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q17053995
SYSTEM
Zimmerman
Q17053995
action filter_type
action find
entity Q392
relation P734
type Q82799
Is [ANSWER] is associated with Bob Dylan
SELECT DISTINCT ?j WHERE { resource:Q392 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Zimmerman
Is Zimmerman is associated with Bob Dylan
Zimmerman
action filter_type
action find
entity Bob Dylan
relation family name
type name
SELECT DISTINCT ?j WHERE { resource:Bob_Dylan property:family_name ?j . ?j rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q392
P161
Q838948
USER
How many works of art have Bob Dylan as actor ?
(c(Q838948),P161,Q392)
action count
action filter_type
action find_reverse
entity Q392
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q392']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P161 resource:Q392 . ?u rdf:type ontology:Q838948 }
Bob Dylan
action count
action filter_type
action find_reverse
entity Bob Dylan
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Bob Dylan']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:cast_member resource:Bob_Dylan . ?u rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
10
Q3520375 Q1169098 Q18754959 Q2392956 Q1090811 Q1765462 Q1242182 Q3978030 Q969428 Q1050541
(c(Q838948),P161,Q392)
action count
action filter_type
action find_reverse
entity Q392
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q392']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P161 resource:Q392 . ?u rdf:type ontology:Q838948 }
The Concert for Bangladesh Pat Garrett and Billy the Kid Steve Jobs Renaldo and Clara Hearts of Fire 65 Revisited Dont Look Back Superstar: The Life and Times of Andy Warhol Masked and Anonymous Catchfire
10
action count
action filter_type
action find_reverse
entity Bob Dylan
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Bob Dylan']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:cast_member resource:Bob_Dylan . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q392
P40
Q502895
USER
Which people are a successors of that one ?
action filter_type
action find
entity Q392
relation P40
type Q502895
SELECT DISTINCT ?k WHERE { resource:Q392 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Bob Dylan
action filter_type
action find
entity Bob Dylan
relation child
type common name
SELECT DISTINCT ?k WHERE { resource:Bob_Dylan property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q555426 Q766818
SYSTEM
Jakob Dylan, Jesse Dylan
Q555426 Q766818
action filter_type
action find
entity Q392
relation P40
type Q502895
[ANSWERS] are a successors of that one
SELECT DISTINCT ?k WHERE { resource:Q392 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Jakob Dylan Jesse Dylan
Jakob Dylan and Jesse Dylan are a successors of that one
Jakob Dylan Jesse Dylan
action filter_type
action find
entity Bob Dylan
relation child
type common name
SELECT DISTINCT ?k WHERE { resource:Bob_Dylan property:child ?k . ?k rdf:type ontology:common_name }
[]