Simple Question (Direct)
Simple Question
Q3659350
P106
Q12737077
USER
What do Carlo Fontana do for a living ?
(Q3659350,P106,c(Q12737077))
action filter_type
action find
entity Q3659350
relation P106
type Q12737077
['Q3659350', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3659350 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Carlo Fontana
action filter_type
action find
entity Carlo Fontana
relation occupation
type occupation
['Carlo Fontana', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Carlo_Fontana property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q1930187 Q947873
SYSTEM
journalist, television presenter
Q1930187 Q947873
(Q3659350,P106,c(Q12737077))
action filter_type
action find
entity Q3659350
relation P106
type Q12737077
Carlo Fontana do for a living [ANSWERS]
['Q3659350', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3659350 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
journalist television presenter
Carlo Fontana do for a living journalist and television presenter
journalist television presenter
action filter_type
action find
entity Carlo Fontana
relation occupation
type occupation
['Carlo Fontana', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Carlo_Fontana property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1930187 Q947873
P101
Q502895
USER
Which people have field of work as those occupations ?
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q947873)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q947873']
SELECT DISTINCT ?w WHERE { ?w property:P101 ?x . VALUES ( ?x ) { ( resource:Q1930187 ) ( resource:Q947873 ) } . ?w rdf:type ontology:Q502895 }
journalist television presenter
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'television presenter']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work ?x . VALUES ( ?x ) { ( resource:journalist ) ( resource:television_presenter ) } . ?w rdf:type ontology:common_name }
[]
common name
Q15114765 Q709844 Q12336296
SYSTEM
Erich Preuß, Finn Gustavsen, Sofie Linde Lauridsen
Q15114765 Q709844 Q12336296
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q947873)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have field of work as those occupations
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q947873']
SELECT DISTINCT ?w WHERE { ?w property:P101 ?x . VALUES ( ?x ) { ( resource:Q1930187 ) ( resource:Q947873 ) } . ?w rdf:type ontology:Q502895 }
Erich Preuß Finn Gustavsen Sofie Linde Lauridsen
Erich Preuß, Finn Gustavsen and Sofie Linde Lauridsen have field of work as those occupations
Erich Preuß Finn Gustavsen Sofie Linde Lauridsen
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'television presenter']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work ?x . VALUES ( ?x ) { ( resource:journalist ) ( resource:television_presenter ) } . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3659350
P1412
Q34770
USER
Which language can Carlo Fontana read ?
(Q3659350,P1412,c(Q34770))
action filter_type
action find
entity Q3659350
relation P1412
type Q34770
['Q3659350', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q3659350 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Carlo Fontana
action filter_type
action find
entity Carlo Fontana
relation languages spoken, written or signed
type language
['Carlo Fontana', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Carlo_Fontana property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3659350,P1412,c(Q34770))
action filter_type
action find
entity Q3659350
relation P1412
type Q34770
Carlo Fontana can read in [ANSWER]
['Q3659350', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q3659350 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Italian
Carlo Fontana can read in Italian
Italian
action filter_type
action find
entity Carlo Fontana
relation languages spoken, written or signed
type language
['Carlo Fontana', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Carlo_Fontana property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8001899
Q34770
USER
And what about Wilfred Wellock?
(Q8001899,P1412,c(Q34770))
action filter_type
action find
entity Q8001899
relation P1412
type Q34770
['Q8001899', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q8001899 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Wilfred Wellock
action filter_type
action find
entity Wilfred Wellock
relation languages spoken, written or signed
type language
['Wilfred Wellock', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Wilfred_Wellock property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q8001899,P1412,c(Q34770))
action filter_type
action find
entity Q8001899
relation P1412
type Q34770
[ANSWER]
['Q8001899', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q8001899 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Wilfred Wellock
relation languages spoken, written or signed
type language
['Wilfred Wellock', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Wilfred_Wellock property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q7082043
P361
Q5962346
USER
Is that language a component of Okinawan languages ?
(Q1860,P361,Q7082043)
action is_in
entity Q7082043
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q7082043']
ASK WHERE { resource:Q1860 property:P361 resource:Q7082043 }
English Okinawan languages
action is_in
entity Okinawan languages
action find
entity English
relation part of
['English', 'part of', 'Okinawan languages']
ASK WHERE { resource:English property:part_of resource:Okinawan_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q7082043)
action is_in
entity Q7082043
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q7082043']
ASK WHERE { resource:Q1860 property:P361 resource:Q7082043 }
No
action is_in
entity Okinawan languages
action find
entity English
relation part of
['English', 'part of', 'Okinawan languages']
ASK WHERE { resource:English property:part_of resource:Okinawan_languages }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q386724
USER
Which occupations were the main subjects of atmost 1 articles and works 's work ?
(c(Q191067)|c(Q386724),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 Q386724
value 1
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q191067 ) ( ontology:Q386724 ) } } GROUP BY ?s } . FILTER ( ?z <= 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 work
value 1
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:article ) ( ontology:work ) } } GROUP BY ?s } . FILTER ( ?z <= 1 ) }
[]
occupation article work
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 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(Q386724),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 Q386724
value 1
[ANSWERS] were the main subjects of atmost 1 articles and works 's work
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q191067 ) ( ontology:Q386724 ) } } GROUP BY ?s } . FILTER ( ?z <= 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 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 the main subjects of atmost 1 articles and works 's work
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 work
value 1
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:article ) ( ontology:work ) } } GROUP BY ?s } . FILTER ( ?z <= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q316070
P40
Q502895
USER
Which person is a child of that occupation ?
(Q316070,P40,c(Q502895))
action filter_type
action find
entity Q316070
relation P40
type Q502895
['Q316070', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q316070 property:P40 ?l }
Fletcher Christian
action filter_type
action find
entity Fletcher Christian
relation child
type common name
['Fletcher Christian', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Fletcher_Christian property:child ?l }
[]
common name
Clarification for simple ques.
Q131512
SYSTEM
Did you mean farmer ?
Q316070 Q131512 Q182436
(Q316070,P40,c(Q502895)) (Q131512,P40,c(Q502895)) (Q182436,P40,c(Q502895))
[ANSWER]
['Q316070', 'P40', {'concept': 'Q502895'}] ['Q131512', 'P40', {'concept': 'Q502895'}] ['Q182436', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q316070 property:P40 ?l }
Fletcher Christian farmer librarian
Did you mean farmer ?
farmer
['Fletcher Christian', 'child', {'concept': 'common name'}] ['farmer', 'child', {'concept': 'common name'}] ['librarian', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Fletcher_Christian property:child ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Fletcher Christian. Could you tell me the answer for that?
(Q316070,P40,c(Q502895))
Q316070
['Q316070', 'P40', {'concept': 'Q502895'}]
['Fletcher Christian', 'child', {'concept': 'common name'}]
[]
Q2336911
SYSTEM
Thursday October Christian I
Q2336911
(Q316070,P40,c(Q502895))
action filter_type
action find
entity Q316070
relation P40
type Q502895
The [ANSWER] is a child of that occupation
['Q316070', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q316070 property:P40 ?l }
Thursday October Christian I
The Thursday October Christian I is a child of that occupation
Thursday October Christian I
action filter_type
action find
entity Fletcher Christian
relation child
type common name
['Fletcher Christian', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Fletcher_Christian property:child ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2336911
P40
Q12737077
USER
Who has that person as a child ?
(c(Q12737077),P40,Q2336911)
action filter_type
action find_reverse
entity Q2336911
relation P40
type Q12737077
[{'concept': 'Q12737077'}, 'P40', 'Q2336911']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q2336911 . ?v rdf:type ontology:Q12737077 }
Thursday October Christian I
action filter_type
action find_reverse
entity Thursday October Christian I
relation child
type occupation
[{'concept': 'occupation'}, 'child', 'Thursday October Christian I']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Thursday_October_Christian_I . ?v rdf:type ontology:occupation }
[]
occupation
Q316070
SYSTEM
Fletcher Christian
Q316070
(c(Q12737077),P40,Q2336911)
action filter_type
action find_reverse
entity Q2336911
relation P40
type Q12737077
[ANSWER] has that person as a child
[{'concept': 'Q12737077'}, 'P40', 'Q2336911']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q2336911 . ?v rdf:type ontology:Q12737077 }
Fletcher Christian
Fletcher Christian has that person as a child
Fletcher Christian
action filter_type
action find_reverse
entity Thursday October Christian I
relation child
type occupation
[{'concept': 'occupation'}, 'child', 'Thursday October Christian I']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Thursday_October_Christian_I . ?v rdf:type ontology:occupation }
[]