Simple Question (Direct)
Simple Question
Q15858413
P937
Q56061
USER
What is the work location of Harry Kissin ?
(Q15858413,P937,c(Q56061))
action filter_type
action find
entity Q15858413
relation P937
type Q56061
['Q15858413', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q15858413 property:P937 ?q }
Harry Kissin
action filter_type
action find
entity Harry Kissin
relation work location
type administrative territorial entity
['Harry Kissin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Harry_Kissin property:work_location ?q }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q15858413,P937,c(Q56061))
action filter_type
action find
entity Q15858413
relation P937
type Q56061
The work location of Harry Kissin is in [ANSWER]
['Q15858413', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q15858413 property:P937 ?q }
London
The work location of Harry Kissin is in London
London
action filter_type
action find
entity Harry Kissin
relation work location
type administrative territorial entity
['Harry Kissin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Harry_Kissin property:work_location ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15858413
P106
Q12737077
USER
What are the job of Harry Kissin ?
(Q15858413,P106,c(Q12737077))
action filter_type
action find
entity Q15858413
relation P106
type Q12737077
['Q15858413', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q15858413 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Harry Kissin
action filter_type
action find
entity Harry Kissin
relation occupation
type occupation
['Harry Kissin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Harry_Kissin property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q806798 Q131524
SYSTEM
banker, entrepreneur
Q806798 Q131524
(Q15858413,P106,c(Q12737077))
action filter_type
action find
entity Q15858413
relation P106
type Q12737077
The job of Harry Kissin are a [ANSWERS]
['Q15858413', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q15858413 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
banker entrepreneur
The job of Harry Kissin are a banker and entrepreneur
banker entrepreneur
action filter_type
action find
entity Harry Kissin
relation occupation
type occupation
['Harry Kissin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Harry_Kissin property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q544334
Q12737077
USER
And how about Lloyd Miller?
(Q544334,P106,c(Q12737077))
action filter_type
action find
entity Q544334
relation P106
type Q12737077
['Q544334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q544334 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Lloyd Miller
action filter_type
action find
entity Lloyd Miller
relation occupation
type occupation
['Lloyd Miller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lloyd_Miller property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q15981151 Q12800682
SYSTEM
jazz musician, saxophonist
Q15981151 Q12800682
(Q544334,P106,c(Q12737077))
action filter_type
action find
entity Q544334
relation P106
type Q12737077
[ANSWERS]
['Q544334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q544334 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
jazz musician saxophonist
jazz musician saxophonist
action filter_type
action find
entity Lloyd Miller
relation occupation
type occupation
['Lloyd Miller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lloyd_Miller property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1200045
P106
Q502895
USER
Do Derek Humble have those occupations as his/her means of employment ?
(Q1200045,P106,Q15981151) (Q1200045,P106,Q12800682)
action is_in
entity prev_answer
action find
entity Q1200045
relation P106
['Q1200045', 'P106', 'Q15981151'] ['Q1200045', 'P106', 'Q12800682']
ASK WHERE { resource:Q1200045 property:P106 ?q . VALUES ( ?q ) { ( resource:Q15981151 ) ( resource:Q12800682 ) } }
Derek Humble
action is_in
entity prev_answer
action find
entity Derek Humble
relation occupation
['Derek Humble', 'occupation', 'jazz musician'] ['Derek Humble', 'occupation', 'saxophonist']
ASK WHERE { resource:Derek_Humble property:occupation ?q . VALUES ( ?q ) { ( resource:jazz_musician ) ( resource:saxophonist ) } }
[]
common name
SYSTEM
YES
(Q1200045,P106,Q15981151) (Q1200045,P106,Q12800682)
action is_in
entity prev_answer
action find
entity Q1200045
relation P106
[ANSWER]
['Q1200045', 'P106', 'Q15981151'] ['Q1200045', 'P106', 'Q12800682']
ASK WHERE { resource:Q1200045 property:P106 ?q . VALUES ( ?q ) { ( resource:Q15981151 ) ( resource:Q12800682 ) } }
Yes
action is_in
entity prev_answer
action find
entity Derek Humble
relation occupation
['Derek Humble', 'occupation', 'jazz musician'] ['Derek Humble', 'occupation', 'saxophonist']
ASK WHERE { resource:Derek_Humble property:occupation ?q . VALUES ( ?q ) { ( resource:jazz_musician ) ( resource:saxophonist ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q84 Q1865 Q3616
P190
Q515
USER
Is London sister town of Kuala Lumpur and Tehran ?
(Q84,P190,Q1865) (Q84,P190,Q3616)
action is_in
entity Q84
action intersection
action find_reverse
entity Q1865
relation P190
action find_reverse
entity Q3616
relation P190
['Q84', 'P190', 'Q1865'] ['Q84', 'P190', 'Q3616']
ASK WHERE { resource:Q84 property:P190 resource:Q1865 . resource:Q84 property:P190 resource:Q3616 }
London Kuala Lumpur Tehran
action is_in
entity London
action intersection
action find_reverse
entity Kuala Lumpur
relation sister city
action find_reverse
entity Tehran
relation sister city
['London', 'sister city', 'Kuala Lumpur'] ['London', 'sister city', 'Tehran']
ASK WHERE { resource:London property:sister_city resource:Kuala_Lumpur . resource:London property:sister_city resource:Tehran }
[]
city
SYSTEM
YES
(Q84,P190,Q1865) (Q84,P190,Q3616)
action is_in
entity Q84
action intersection
action find_reverse
entity Q1865
relation P190
action find_reverse
entity Q3616
relation P190
[ANSWER]
['Q84', 'P190', 'Q1865'] ['Q84', 'P190', 'Q3616']
ASK WHERE { resource:Q84 property:P190 resource:Q1865 . resource:Q84 property:P190 resource:Q3616 }
Yes
action is_in
entity London
action intersection
action find_reverse
entity Kuala Lumpur
relation sister city
action find_reverse
entity Tehran
relation sister city
['London', 'sister city', 'Kuala Lumpur'] ['London', 'sister city', 'Tehran']
ASK WHERE { resource:London property:sister_city resource:Kuala_Lumpur . resource:London property:sister_city resource:Tehran }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1114448
P921
Q12737077 Q191067 Q2342494
USER
Which occupations were approximately the same number of articles and collectables mainly about as cartoonist ?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1114448
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q191067 } UNION { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P921 resource:Q1114448 . { { ?c rdf:type ontology:Q191067 } UNION { ?c rdf:type ontology:Q2342494 } } } } . FILTER ( ?j = ?g ) }
cartoonist
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity cartoonist
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:article } UNION { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:collectable } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:main_subject resource:cartoonist . { { ?c rdf:type ontology:article } UNION { ?c rdf:type ontology:collectable } } } } . FILTER ( ?j = ?g ) }
[]
occupation article collectable
Q131512 Q16707842 Q9045502
SYSTEM
farmer, Member of Parliament in the United Kingdom, member of the Parliament of Norway
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1114448
relation P921
type Q191067
type Q2342494
[ANSWERS] were approximately the same number of articles and collectables mainly about as cartoonist
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q191067 } UNION { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P921 resource:Q1114448 . { { ?c rdf:type ontology:Q191067 } UNION { ?c rdf:type ontology:Q2342494 } } } } . FILTER ( ?j = ?g ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Farmer, Member of Parliament in the United Kingdom and member of the Parliament of Norway were approximately the same number of articles and collectables mainly about as cartoonist
farmer Member of Parliament in the United Kingdom member of the Parliament of Norway
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity cartoonist
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:article } UNION { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:collectable } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:main_subject resource:cartoonist . { { ?c rdf:type ontology:article } UNION { ?c rdf:type ontology:collectable } } } } . FILTER ( ?j = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15958185
P921
Q12737077 Q191067 Q2342494
USER
And also tell me about racecar driver?
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q15958185
relation P921
type Q191067
type Q2342494
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?w WHERE { { ?n property:P921 ?w . ?w rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q191067 } UNION { ?n rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q12737077 . ?n property:P921 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P921 resource:Q15958185 . { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?q = ?l ) }
racecar driver
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity racecar driver
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?w WHERE { { ?n property:main_subject ?w . ?w rdf:type ontology:occupation . ?n rdf:type ontology:article } UNION { ?n rdf:type ontology:collectable . ?w rdf:type ontology:occupation . ?n property:main_subject ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:main_subject resource:racecar_driver . { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:article ) ( ontology:collectable ) } } } } . FILTER ( ?q = ?l ) }
[]
occupation article collectable
Q131512 Q16707842 Q9045502
SYSTEM
farmer, Member of Parliament in the United Kingdom, member of the Parliament of Norway
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q15958185
relation P921
type Q191067
type Q2342494
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?w WHERE { { ?n property:P921 ?w . ?w rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q191067 } UNION { ?n rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q12737077 . ?n property:P921 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P921 resource:Q15958185 . { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?q = ?l ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
farmer Member of Parliament in the United Kingdom member of the Parliament of Norway
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity racecar driver
relation main subject
type article
type collectable
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?w WHERE { { ?n property:main_subject ?w . ?w rdf:type ontology:occupation . ?n rdf:type ontology:article } UNION { ?n rdf:type ontology:collectable . ?w rdf:type ontology:occupation . ?n property:main_subject ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:main_subject resource:racecar_driver . { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:article ) ( ontology:collectable ) } } } } . FILTER ( ?q = ?l ) }
[]