Simple Question (Direct)
Simple Question
Q1559020
P20
Q20667921
USER
Where did Gérard Paul Deshayes die ?
(Q1559020,P20,c(Q20667921))
action filter_type
action find
entity Q1559020
relation P20
type Q20667921
['Q1559020', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q1559020 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Gérard Paul Deshayes
action filter_type
action find
entity Gérard Paul Deshayes
relation place of death
type type of french administrative division
['Gérard Paul Deshayes', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Gérard_Paul_Deshayes property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q675687
SYSTEM
Boran-sur-Oise
Q675687
(Q1559020,P20,c(Q20667921))
action filter_type
action find
entity Q1559020
relation P20
type Q20667921
Gérard Paul Deshayes died in [ANSWER]
['Q1559020', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q1559020 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Boran-sur-Oise
Gérard Paul Deshayes died in Boran-sur-Oise
Boran-sur-Oise
action filter_type
action find
entity Gérard Paul Deshayes
relation place of death
type type of french administrative division
['Gérard Paul Deshayes', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Gérard_Paul_Deshayes property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1559020
P106
Q12737077
USER
What are the job of Gérard Paul Deshayes ?
(Q1559020,P106,c(Q12737077))
action filter_type
action find
entity Q1559020
relation P106
type Q12737077
['Q1559020', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1559020 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Gérard Paul Deshayes
action filter_type
action find
entity Gérard Paul Deshayes
relation occupation
type occupation
['Gérard Paul Deshayes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Gérard_Paul_Deshayes property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1662561 Q16271261 Q520549
SYSTEM
paleontologist, malacologist, geologist
Q1662561 Q16271261 Q520549
(Q1559020,P106,c(Q12737077))
action filter_type
action find
entity Q1559020
relation P106
type Q12737077
The job of Gérard Paul Deshayes are a [ANSWERS]
['Q1559020', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1559020 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
paleontologist malacologist geologist
The job of Gérard Paul Deshayes are a paleontologist, malacologist and geologist
paleontologist malacologist geologist
action filter_type
action find
entity Gérard Paul Deshayes
relation occupation
type occupation
['Gérard Paul Deshayes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Gérard_Paul_Deshayes property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5490172
Q12737077
USER
And what about Frank W. Warner?
(Q5490172,P106,c(Q12737077))
action filter_type
action find
entity Q5490172
relation P106
type Q12737077
['Q5490172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5490172 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Frank W. Warner
action filter_type
action find
entity Frank W. Warner
relation occupation
type occupation
['Frank W. Warner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Frank_W._Warner property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q219477
SYSTEM
missionary
Q219477
(Q5490172,P106,c(Q12737077))
action filter_type
action find
entity Q5490172
relation P106
type Q12737077
[ANSWER]
['Q5490172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5490172 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
missionary
missionary
action filter_type
action find
entity Frank W. Warner
relation occupation
type occupation
['Frank W. Warner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Frank_W._Warner property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q219477 Q18633198 Q4013469
P417
Q502895
USER
Is Ari Lahti and Vincenzo Raciti Romeo a patron saint of Q219477 ?
(Q219477,P417,Q18633198) (Q219477,P417,Q4013469)
action is_in
entity Q219477
action intersection
action find_reverse
entity Q18633198
relation P417
action find_reverse
entity Q4013469
relation P417
['Q219477', 'P417', 'Q18633198'] ['Q219477', 'P417', 'Q4013469']
ASK WHERE { resource:Q219477 property:P417 resource:Q18633198 . resource:Q219477 property:P417 resource:Q4013469 }
missionary Ari Lahti Vincenzo Raciti Romeo
action is_in
entity missionary
action intersection
action find_reverse
entity Ari Lahti
relation patron saint
action find_reverse
entity Vincenzo Raciti Romeo
relation patron saint
['missionary', 'patron saint', 'Ari Lahti'] ['missionary', 'patron saint', 'Vincenzo Raciti Romeo']
ASK WHERE { resource:missionary property:patron_saint resource:Ari_Lahti . resource:missionary property:patron_saint resource:Vincenzo_Raciti_Romeo }
[]
common name
SYSTEM
NO
(Q219477,P417,Q18633198) (Q219477,P417,Q4013469)
action is_in
entity Q219477
action intersection
action find_reverse
entity Q18633198
relation P417
action find_reverse
entity Q4013469
relation P417
[ANSWER]
['Q219477', 'P417', 'Q18633198'] ['Q219477', 'P417', 'Q4013469']
ASK WHERE { resource:Q219477 property:P417 resource:Q18633198 . resource:Q219477 property:P417 resource:Q4013469 }
No
action is_in
entity missionary
action intersection
action find_reverse
entity Ari Lahti
relation patron saint
action find_reverse
entity Vincenzo Raciti Romeo
relation patron saint
['missionary', 'patron saint', 'Ari Lahti'] ['missionary', 'patron saint', 'Vincenzo Raciti Romeo']
ASK WHERE { resource:missionary property:patron_saint resource:Ari_Lahti . resource:missionary property:patron_saint resource:Vincenzo_Raciti_Romeo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q520549 Q1566223 Q1069
P425
Q1914636
USER
Does geologist have Air changes per hour and geology as thier field of occupation ?
(Q520549,P425,Q1566223) (Q520549,P425,Q1069)
action is_in
entity Q520549
action intersection
action find_reverse
entity Q1566223
relation P425
action find_reverse
entity Q1069
relation P425
['Q520549', 'P425', 'Q1566223'] ['Q520549', 'P425', 'Q1069']
ASK WHERE { resource:Q520549 property:P425 resource:Q1566223 . resource:Q520549 property:P425 resource:Q1069 }
geologist Air changes per hour geology
action is_in
entity geologist
action intersection
action find_reverse
entity Air changes per hour
relation field of this occupation
action find_reverse
entity geology
relation field of this occupation
['geologist', 'field of this occupation', 'Air changes per hour'] ['geologist', 'field of this occupation', 'geology']
ASK WHERE { resource:geologist property:field_of_this_occupation resource:Air_changes_per_hour . resource:geologist property:field_of_this_occupation resource:geology }
[]
activity
SYSTEM
NO and YES respectively
(Q520549,P425,Q1566223) (Q520549,P425,Q1069)
action is_in
entity Q520549
action intersection
action find_reverse
entity Q1566223
relation P425
action find_reverse
entity Q1069
relation P425
[ANSWER]
['Q520549', 'P425', 'Q1566223'] ['Q520549', 'P425', 'Q1069']
ASK WHERE { resource:Q520549 property:P425 resource:Q1566223 . resource:Q520549 property:P425 resource:Q1069 }
NO and YES respectively
action is_in
entity geologist
action intersection
action find_reverse
entity Air changes per hour
relation field of this occupation
action find_reverse
entity geology
relation field of this occupation
['geologist', 'field of this occupation', 'Air changes per hour'] ['geologist', 'field of this occupation', 'geology']
ASK WHERE { resource:geologist property:field_of_this_occupation resource:Air_changes_per_hour . resource:geologist property:field_of_this_occupation resource:geology }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q732577
USER
Which occupations were atmost 1 articles or publications mainly about ?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 1
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?q ) WHERE { { ?a rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q191067 . ?b property:P921 ?a } UNION { ?a rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q732577 . ?b property:P921 ?a } } GROUP BY ?a } . FILTER ( ?q <= 1 ) }
action atmost
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 publication
value 1
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?q ) WHERE { { ?a rdf:type ontology:occupation . ?b rdf:type ontology:article . ?b property:main_subject ?a } UNION { ?a rdf:type ontology:occupation . ?b rdf:type ontology:publication . ?b property:main_subject ?a } } GROUP BY ?a } . FILTER ( ?q <= 1 ) }
[]
occupation article publication
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 1
[ANSWERS] were atmost 1 articles or publications mainly about
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?q ) WHERE { { ?a rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q191067 . ?b property:P921 ?a } UNION { ?a rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q732577 . ?b property:P921 ?a } } GROUP BY ?a } . FILTER ( ?q <= 1 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect 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 association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were atmost 1 articles or publications mainly about
Fletcher Christian farmer librarian
action atmost
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 publication
value 1
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?q ) WHERE { { ?a rdf:type ontology:occupation . ?b rdf:type ontology:article . ?b property:main_subject ?a } UNION { ?a rdf:type ontology:occupation . ?b rdf:type ontology:publication . ?b property:main_subject ?a } } GROUP BY ?a } . FILTER ( ?q <= 1 ) }
[]