Simple Question (Direct)
Simple Question
Q1626914
P734
Q82799
USER
Which name is associated with Greg Smith ?
(Q1626914,P734,c(Q82799))
action filter_type
action find
entity Q1626914
relation P734
type Q82799
['Q1626914', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q1626914 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation family name
type name
['Greg Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Greg_Smith property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q1626914,P734,c(Q82799))
action filter_type
action find
entity Q1626914
relation P734
type Q82799
Is [ANSWER] is associated with Greg [ANSWER]
['Q1626914', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q1626914 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Smith
Is Smith is associated with Greg Smith
Smith
action filter_type
action find
entity Greg Smith
relation family name
type name
['Greg Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Greg_Smith property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1626914
P248
Q1209283
USER
Which electronic media is that person acknowledged in ?
(Q1158446,P248,c(Q1209283))
action filter_type
action find
entity Q1626914
relation P248
type Q1209283
['Q1158446', 'P248', {'concept': 'Q1209283'}]
SELECT DISTINCT ?c WHERE { resource:Q1626914 property:P248 ?c . ?c rdf:type ontology:Q1209283 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation stated in
type electronic media
['Smith', 'stated in', {'concept': 'electronic media'}]
SELECT DISTINCT ?c WHERE { resource:Greg_Smith property:stated_in ?c . ?c rdf:type ontology:electronic_media }
[]
electronic media
Q35127
SYSTEM
website
Q35127
(Q1158446,P248,c(Q1209283))
action filter_type
action find
entity Q1626914
relation P248
type Q1209283
That person is acknowledged on [ANSWER]
['Q1158446', 'P248', {'concept': 'Q1209283'}]
SELECT DISTINCT ?c WHERE { resource:Q1626914 property:P248 ?c . ?c rdf:type ontology:Q1209283 }
website
That person is acknowledged on website
website
action filter_type
action find
entity Greg Smith
relation stated in
type electronic media
['Smith', 'stated in', {'concept': 'electronic media'}]
SELECT DISTINCT ?c WHERE { resource:Greg_Smith property:stated_in ?c . ?c rdf:type ontology:electronic_media }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2092297
P180
Q82799 Q386724 Q838948
USER
How many names are depicted in around the same number of works and works of art as eagle ?
(c(Q386724)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:P180 ?n . ?n rdf:type ontology:Q82799 . ?p rdf:type ontology:Q838948 } UNION { ?p property:P180 ?n . ?n rdf:type ontology:Q82799 . ?p rdf:type ontology:Q386724 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:Q386724 } UNION { ?i rdf:type ontology:Q838948 } } . ?i property:P180 resource:Q2092297 } } . FILTER ( ?s = ?c ) }
eagle
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:depicts ?n . ?n rdf:type ontology:name . ?p rdf:type ontology:work_of_art } UNION { ?p property:depicts ?n . ?n rdf:type ontology:name . ?p rdf:type ontology:work } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:work } UNION { ?i rdf:type ontology:work_of_art } } . ?i property:depicts resource:eagle } } . FILTER ( ?s = ?c ) }
[]
name work work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q386724)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q386724
type Q838948
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:P180 ?n . ?n rdf:type ontology:Q82799 . ?p rdf:type ontology:Q838948 } UNION { ?p property:P180 ?n . ?n rdf:type ontology:Q82799 . ?p rdf:type ontology:Q386724 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:Q386724 } UNION { ?i rdf:type ontology:Q838948 } } . ?i property:P180 resource:Q2092297 } } . FILTER ( ?s = ?c ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:depicts ?n . ?n rdf:type ontology:name . ?p rdf:type ontology:work_of_art } UNION { ?p property:depicts ?n . ?n rdf:type ontology:name . ?p rdf:type ontology:work } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { { ?i rdf:type ontology:work } UNION { ?i rdf:type ontology:work_of_art } } . ?i property:depicts resource:eagle } } . FILTER ( ?s = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q36940
P180
Q82799 Q386724 Q838948
USER
And what about sugarcane?
(c(Q386724)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q36940
relation P180
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?m rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P180 resource:Q36940 . { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } } } } . FILTER ( ?b = ?k ) }
sugarcane
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity sugarcane
relation depicts
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?q ) { ( ontology:work ) ( ontology:work_of_art ) } . ?m rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:depicts resource:sugarcane . { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:work ) ( ontology:work_of_art ) } } } } . FILTER ( ?b = ?k ) }
[]
name work work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q386724)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q36940
relation P180
type Q386724
type Q838948
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?m rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P180 resource:Q36940 . { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } } } } . FILTER ( ?b = ?k ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity sugarcane
relation depicts
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?q ) { ( ontology:work ) ( ontology:work_of_art ) } . ?m rdf:type ?q } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:depicts resource:sugarcane . { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:work ) ( ontology:work_of_art ) } } } } . FILTER ( ?b = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1626914
P54
Q12973014
USER
Which sports teams are Greg Smith a member of ?
(Q1626914,P54,c(Q12973014))
action filter_type
action find
entity Q1626914
relation P54
type Q12973014
['Q1626914', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q1626914 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation member of sports team
type sports team
['Greg Smith', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Greg_Smith property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
sports team
Q167253 Q169637 Q161345
SYSTEM
Portland Trail Blazers, Milwaukee Bucks, Houston Rockets
Q167253 Q169637 Q161345
(Q1626914,P54,c(Q12973014))
action filter_type
action find
entity Q1626914
relation P54
type Q12973014
The [ANSWERS] are Greg Smith a member of
['Q1626914', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q1626914 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Portland Trail Blazers Milwaukee Bucks Houston Rockets
The Portland Trail Blazers, Milwaukee Bucks and Houston Rockets are Greg Smith a member of
Portland Trail Blazers Milwaukee Bucks Houston Rockets
action filter_type
action find
entity Greg Smith
relation member of sports team
type sports team
['Greg Smith', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Greg_Smith property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1626914
P106
Q12737077
USER
What does that person do for a living ?
(Q167253,P106,c(Q12737077)) (Q169637,P106,c(Q12737077)) (Q161345,P106,c(Q12737077))
action filter_type
action find
entity Q1626914
relation P106
type Q12737077
['Q167253', 'P106', {'concept': 'Q12737077'}] ['Q169637', 'P106', {'concept': 'Q12737077'}] ['Q161345', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1626914 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation occupation
type occupation
['Portland Trail Blazers', 'occupation', {'concept': 'occupation'}] ['Milwaukee Bucks', 'occupation', {'concept': 'occupation'}] ['Houston Rockets', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Greg_Smith property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q167253,P106,c(Q12737077)) (Q169637,P106,c(Q12737077)) (Q161345,P106,c(Q12737077))
action filter_type
action find
entity Q1626914
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q167253', 'P106', {'concept': 'Q12737077'}] ['Q169637', 'P106', {'concept': 'Q12737077'}] ['Q161345', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1626914 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
basketball player
That person does a basketball player for a living
basketball player
action filter_type
action find
entity Greg Smith
relation occupation
type occupation
['Portland Trail Blazers', 'occupation', {'concept': 'occupation'}] ['Milwaukee Bucks', 'occupation', {'concept': 'occupation'}] ['Houston Rockets', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Greg_Smith property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161345
P108
Q502895
USER
Who works for Houston Rockets ?
(c(Q502895),P108,Q161345)
action filter_type
action find_reverse
entity Q161345
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q161345']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q161345 . ?o rdf:type ontology:Q502895 }
Houston Rockets
action filter_type
action find_reverse
entity Houston Rockets
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Houston Rockets']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Houston_Rockets . ?o rdf:type ontology:common_name }
[]
common name
Q5226214
SYSTEM
Daryl Morey
Q5226214
(c(Q502895),P108,Q161345)
action filter_type
action find_reverse
entity Q161345
relation P108
type Q502895
[ANSWER] works for Houston Rockets
[{'concept': 'Q502895'}, 'P108', 'Q161345']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q161345 . ?o rdf:type ontology:Q502895 }
Daryl Morey
Daryl Morey works for Houston Rockets
Daryl Morey
action filter_type
action find_reverse
entity Houston Rockets
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Houston Rockets']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Houston_Rockets . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161345
P118
Q48204
USER
Which voluntary association does Houston Rockets participate in ?
(Q161345,P118,c(Q48204))
action filter_type
action find
entity Q161345
relation P118
type Q48204
['Q161345', 'P118', {'concept': 'Q48204'}]
SELECT DISTINCT ?b WHERE { resource:Q161345 property:P118 ?b . ?b rdf:type ontology:Q48204 }
Houston Rockets
action filter_type
action find
entity Houston Rockets
relation league
type voluntary association
['Houston Rockets', 'league', {'concept': 'voluntary association'}]
SELECT DISTINCT ?b WHERE { resource:Houston_Rockets property:league ?b . ?b rdf:type ontology:voluntary_association }
[]
voluntary association
Q155223
SYSTEM
National Basketball Association
Q155223
(Q161345,P118,c(Q48204))
action filter_type
action find
entity Q161345
relation P118
type Q48204
Houston Rockets participates in [ANSWER]
['Q161345', 'P118', {'concept': 'Q48204'}]
SELECT DISTINCT ?b WHERE { resource:Q161345 property:P118 ?b . ?b rdf:type ontology:Q48204 }
National Basketball Association
Houston Rockets participates in National Basketball Association
National Basketball Association
action filter_type
action find
entity Houston Rockets
relation league
type voluntary association
['Houston Rockets', 'league', {'concept': 'voluntary association'}]
SELECT DISTINCT ?b WHERE { resource:Houston_Rockets property:league ?b . ?b rdf:type ontology:voluntary_association }
[]