Simple Question (Direct)
Simple Question
Q2947709
P119
Q43229
USER
Where is the place of burial for Joel Thompson located ?
(Q2947709,P119,c(Q43229))
action filter_type
action find
entity Q2947709
relation P119
type Q43229
['Q2947709', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q43229 . resource:Q2947709 property:P119 ?b }
Joel Thompson
action filter_type
action find
entity Joel Thompson
relation place of burial
type organization
['Joel Thompson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:organization . resource:Joel_Thompson property:place_of_burial ?b }
[]
organization
Q239043
SYSTEM
Green-Wood Cemetery
Q239043
(Q2947709,P119,c(Q43229))
action filter_type
action find
entity Q2947709
relation P119
type Q43229
The place of burial for Joel Thompson is located in [ANSWER]
['Q2947709', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q43229 . resource:Q2947709 property:P119 ?b }
Green-Wood Cemetery
The place of burial for Joel Thompson is located in Green-Wood Cemetery
Green-Wood Cemetery
action filter_type
action find
entity Joel Thompson
relation place of burial
type organization
['Joel Thompson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:organization . resource:Joel_Thompson property:place_of_burial ?b }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q239043 Q7085136 Q19558910
P1435
Q2065736
USER
Does that organization have Old Strathcona and place listed on the National Register of Historic Places as its heritage status ?
(Q239043,P1435,Q7085136) (Q239043,P1435,Q19558910)
action is_in
entity Q239043
action intersection
action find_reverse
entity Q7085136
relation P1435
action find_reverse
entity Q19558910
relation P1435
['Q239043', 'P1435', 'Q7085136'] ['Q239043', 'P1435', 'Q19558910']
ASK WHERE { resource:Q239043 property:P1435 resource:Q7085136 . resource:Q239043 property:P1435 resource:Q19558910 }
Green-Wood Cemetery Old Strathcona place listed on the National Register of Historic Places
action is_in
entity Green-Wood Cemetery
action intersection
action find_reverse
entity Old Strathcona
relation heritage status
action find_reverse
entity place listed on the National Register of Historic Places
relation heritage status
['Green-Wood Cemetery', 'heritage status', 'Old Strathcona'] ['Green-Wood Cemetery', 'heritage status', 'place listed on the National Register of Historic Places']
ASK WHERE { resource:Green-Wood_Cemetery property:heritage_status resource:Old_Strathcona . resource:Green-Wood_Cemetery property:heritage_status resource:place_listed_on_the_National_Register_of_Historic_Places }
[]
cultural property
SYSTEM
NO and YES respectively
(Q239043,P1435,Q7085136) (Q239043,P1435,Q19558910)
action is_in
entity Q239043
action intersection
action find_reverse
entity Q7085136
relation P1435
action find_reverse
entity Q19558910
relation P1435
[ANSWER]
['Q239043', 'P1435', 'Q7085136'] ['Q239043', 'P1435', 'Q19558910']
ASK WHERE { resource:Q239043 property:P1435 resource:Q7085136 . resource:Q239043 property:P1435 resource:Q19558910 }
NO and YES respectively
action is_in
entity Green-Wood Cemetery
action intersection
action find_reverse
entity Old Strathcona
relation heritage status
action find_reverse
entity place listed on the National Register of Historic Places
relation heritage status
['Green-Wood Cemetery', 'heritage status', 'Old Strathcona'] ['Green-Wood Cemetery', 'heritage status', 'place listed on the National Register of Historic Places']
ASK WHERE { resource:Green-Wood_Cemetery property:heritage_status resource:Old_Strathcona . resource:Green-Wood_Cemetery property:heritage_status resource:place_listed_on_the_National_Register_of_Historic_Places }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2947709 Q16469335 Q5138018
P20
Q56061
USER
Does Joel Thompson have Fornesighe and Coalpits, County Galway as the location of death ?
(Q2947709,P20,Q16469335) (Q2947709,P20,Q5138018)
action is_in
entity Q2947709
action intersection
action find_reverse
entity Q16469335
relation P20
action find_reverse
entity Q5138018
relation P20
['Q2947709', 'P20', 'Q16469335'] ['Q2947709', 'P20', 'Q5138018']
ASK WHERE { resource:Q2947709 property:P20 resource:Q16469335 . resource:Q2947709 property:P20 resource:Q5138018 }
Joel Thompson Fornesighe Coalpits, County Galway
action is_in
entity Joel Thompson
action intersection
action find_reverse
entity Fornesighe
relation place of death
action find_reverse
entity Coalpits, County Galway
relation place of death
['Joel Thompson', 'place of death', 'Fornesighe'] ['Joel Thompson', 'place of death', 'Coalpits, County Galway']
ASK WHERE { resource:Joel_Thompson property:place_of_death resource:Fornesighe . resource:Joel_Thompson property:place_of_death resource:Coalpits,_County_Galway }
[]
administrative territorial entity
SYSTEM
NO
(Q2947709,P20,Q16469335) (Q2947709,P20,Q5138018)
action is_in
entity Q2947709
action intersection
action find_reverse
entity Q16469335
relation P20
action find_reverse
entity Q5138018
relation P20
[ANSWER]
['Q2947709', 'P20', 'Q16469335'] ['Q2947709', 'P20', 'Q5138018']
ASK WHERE { resource:Q2947709 property:P20 resource:Q16469335 . resource:Q2947709 property:P20 resource:Q5138018 }
No
action is_in
entity Joel Thompson
action intersection
action find_reverse
entity Fornesighe
relation place of death
action find_reverse
entity Coalpits, County Galway
relation place of death
['Joel Thompson', 'place of death', 'Fornesighe'] ['Joel Thompson', 'place of death', 'Coalpits, County Galway']
ASK WHERE { resource:Joel_Thompson property:place_of_death resource:Fornesighe . resource:Joel_Thompson property:place_of_death resource:Coalpits,_County_Galway }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2947709
P39
Q12737077
USER
Which occupation was a position held by that person ?
action filter_type
action find
entity Q2947709
relation P39
type Q12737077
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q2947709 property:P39 ?y }
Joel Thompson
action filter_type
action find
entity Joel Thompson
relation position held
type occupation
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Joel_Thompson property:position_held ?y }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
action filter_type
action find
entity Q2947709
relation P39
type Q12737077
The [ANSWER] was a position held by that person
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q2947709 property:P39 ?y }
United States representative
The United States representative was a position held by that person
United States representative
action filter_type
action find
entity Joel Thompson
relation position held
type occupation
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Joel_Thompson property:position_held ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q29182
P921
Q12737077 Q386724 Q2342494
USER
Which occupations were the main subjects of lesser number of works and collectables 's work than bishop ?
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q29182
relation P921
type Q386724
type Q2342494
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?p WHERE { { ?w property:P921 ?p . ?p rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P921 ?p . ?w rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P921 resource:Q29182 . { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } } } } }
bishop
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity bishop
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?p WHERE { { ?w property:main_subject ?p . ?p rdf:type ontology:occupation . ?w rdf:type ontology:work } UNION { ?w property:main_subject ?p . ?w rdf:type ontology:collectable . ?p rdf:type ontology:occupation } } GROUP BY ?p } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:main_subject resource:bishop . { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:work ) ( ontology:collectable ) } } } } }
[]
occupation work collectable
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 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 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16707842
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q29182
relation P921
type Q386724
type Q2342494
[ANSWERS] were the main subjects of lesser number of works and collectables 's work than bishop
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?p WHERE { { ?w property:P921 ?p . ?p rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P921 ?p . ?w rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P921 resource:Q29182 . { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } } } } }
praetor 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 Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward 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 pastor 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 Nomarch medical examiner police officer aviator statesman librarian rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of lesser number of works and collectables 's work than bishop
Fletcher Christian farmer librarian
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity bishop
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?p WHERE { { ?w property:main_subject ?p . ?p rdf:type ontology:occupation . ?w rdf:type ontology:work } UNION { ?w property:main_subject ?p . ?w rdf:type ontology:collectable . ?p rdf:type ontology:occupation } } GROUP BY ?p } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:main_subject resource:bishop . { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:work ) ( ontology:collectable ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q43845
P921
Q12737077 Q386724 Q2342494
USER
And what about businessperson?
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q43845
relation P921
type Q386724
type Q2342494
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q386724 } } . ?d property:P921 resource:Q43845 } } . FILTER ( ?y < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?h WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } } GROUP BY ?h } }
businessperson
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity businessperson
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:work } } . ?d property:main_subject resource:businessperson } } . FILTER ( ?y < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?h WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:work ) ( ontology:collectable ) } } GROUP BY ?h } }
[]
occupation work collectable
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 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 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16707842
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q43845
relation P921
type Q386724
type Q2342494
[ANSWERS]
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q386724 } } . ?d property:P921 resource:Q43845 } } . FILTER ( ?y < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?h WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } } GROUP BY ?h } }
praetor 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 Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward 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 pastor 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 Nomarch medical examiner police officer aviator statesman librarian rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
Fletcher Christian farmer librarian
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity businessperson
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:work } } . ?d property:main_subject resource:businessperson } } . FILTER ( ?y < ?o ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?h WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:work ) ( ontology:collectable ) } } GROUP BY ?h } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q316070
P21
Q290
USER
Which sex does that occupation possess ?
(Q316070,P21,c(Q290))
action filter_type
action find
entity Q316070
relation P21
type Q290
['Q316070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q316070 property:P21 ?c . ?c rdf:type ontology:Q290 }
Fletcher Christian
action filter_type
action find
entity Fletcher Christian
relation gender
type sex
['Fletcher Christian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Fletcher_Christian property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q182436
SYSTEM
Did you mean librarian ?
Q316070 Q131512 Q182436
(Q316070,P21,c(Q290)) (Q131512,P21,c(Q290)) (Q182436,P21,c(Q290))
[ANSWER]
['Q316070', 'P21', {'concept': 'Q290'}] ['Q131512', 'P21', {'concept': 'Q290'}] ['Q182436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q316070 property:P21 ?c . ?c rdf:type ontology:Q290 }
Fletcher Christian farmer librarian
Did you mean librarian ?
librarian
['Fletcher Christian', 'gender', {'concept': 'sex'}] ['farmer', 'gender', {'concept': 'sex'}] ['librarian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Fletcher_Christian property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Fletcher Christian. Could you tell me the answer for that?
(Q316070,P21,c(Q290))
Q316070
['Q316070', 'P21', {'concept': 'Q290'}]
['Fletcher Christian', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q316070,P21,c(Q290))
action filter_type
action find
entity Q316070
relation P21
type Q290
That occupation possesses un [ANSWER]
['Q316070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q316070 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That occupation possesses un male
male
action filter_type
action find
entity Fletcher Christian
relation gender
type sex
['Fletcher Christian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Fletcher_Christian property:gender ?c . ?c rdf:type ontology:sex }
[]