Simple Question (Direct)
Simple Question
Q6712402
P39
Q12737077
USER
Which occupations were the positions for which M. Appadurai were appointed ?
(Q6712402,P39,c(Q12737077))
action filter_type
action find
entity Q6712402
relation P39
type Q12737077
['Q6712402', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6712402 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
M. Appadurai
action filter_type
action find
entity M. Appadurai
relation position held
type occupation
['M. Appadurai', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:M._Appadurai property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q16556694 Q24558764
SYSTEM
member of the Lok Sabha, Member of the Tamil Nadu Legislative Assembly
Q16556694 Q24558764
(Q6712402,P39,c(Q12737077))
action filter_type
action find
entity Q6712402
relation P39
type Q12737077
As [ANSWERS] were the positions for which M. Appadurai were appointed
['Q6712402', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6712402 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
member of the Lok Sabha Member of the Tamil Nadu Legislative Assembly
As member of the Lok Sabha and Member of the Tamil Nadu Legislative Assembly were the positions for which M. Appadurai were appointed
member of the Lok Sabha Member of the Tamil Nadu Legislative Assembly
action filter_type
action find
entity M. Appadurai
relation position held
type occupation
['M. Appadurai', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:M._Appadurai property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24558764
P361
Q11204
USER
Which legislature is that occupation a component of ?
(Q24558764,P361,c(Q11204))
action filter_type
action find
entity Q24558764
relation P361
type Q11204
['Q24558764', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?g WHERE { resource:Q24558764 property:P361 ?g . ?g rdf:type ontology:Q11204 }
Member of the Tamil Nadu Legislative Assembly
action filter_type
action find
entity Member of the Tamil Nadu Legislative Assembly
relation part of
type legislature
['Member of the Tamil Nadu Legislative Assembly', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:part_of ?g . ?g rdf:type ontology:legislature }
[]
legislature
Clarification for simple ques.
Q24558764
SYSTEM
Did you mean Member of the Tamil Nadu Legislative Assembly ?
Q16556694 Q24558764
(Q16556694,P361,c(Q11204)) (Q24558764,P361,c(Q11204))
[ANSWER]
['Q16556694', 'P361', {'concept': 'Q11204'}] ['Q24558764', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?g WHERE { resource:Q24558764 property:P361 ?g . ?g rdf:type ontology:Q11204 }
member of the Lok Sabha Member of the Tamil Nadu Legislative Assembly
Did you mean Member of the Tamil Nadu Legislative Assembly ?
Member of the Tamil Nadu Legislative Assembly
['member of the Lok Sabha', 'part of', {'concept': 'legislature'}] ['Member of the Tamil Nadu Legislative Assembly', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:part_of ?g . ?g rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
USER
Yes
(Q24558764,P361,c(Q11204))
['Q24558764', 'P361', {'concept': 'Q11204'}]
['Member of the Tamil Nadu Legislative Assembly', 'part of', {'concept': 'legislature'}]
[]
Q7681292
SYSTEM
Tamil Nadu Legislative Assembly
Q7681292
(Q24558764,P361,c(Q11204))
action filter_type
action find
entity Q24558764
relation P361
type Q11204
[ANSWER] is that occupation a component of
['Q24558764', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?g WHERE { resource:Q24558764 property:P361 ?g . ?g rdf:type ontology:Q11204 }
Tamil Nadu Legislative Assembly
Tamil Nadu Legislative Assembly is that occupation a component of
Tamil Nadu Legislative Assembly
action filter_type
action find
entity Member of the Tamil Nadu Legislative Assembly
relation part of
type legislature
['Member of the Tamil Nadu Legislative Assembly', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:part_of ?g . ?g rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7681292
P361
Q12737077
USER
Which occupation is a component of that legislature ?
(c(Q12737077),P361,Q7681292)
action filter_type
action find_reverse
entity Q7681292
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q7681292']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q7681292 . ?r rdf:type ontology:Q12737077 }
Tamil Nadu Legislative Assembly
action filter_type
action find_reverse
entity Tamil Nadu Legislative Assembly
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Tamil Nadu Legislative Assembly']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Tamil_Nadu_Legislative_Assembly . ?r rdf:type ontology:occupation }
[]
occupation
Q24558764
SYSTEM
Member of the Tamil Nadu Legislative Assembly
Q24558764
(c(Q12737077),P361,Q7681292)
action filter_type
action find_reverse
entity Q7681292
relation P361
type Q12737077
Constituency [ANSWER] is a component of that legislature
[{'concept': 'Q12737077'}, 'P361', 'Q7681292']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q7681292 . ?r rdf:type ontology:Q12737077 }
Member of the Tamil Nadu Legislative Assembly
Constituency Member of the Tamil Nadu Legislative Assembly is a component of that legislature
Member of the Tamil Nadu Legislative Assembly
action filter_type
action find_reverse
entity Tamil Nadu Legislative Assembly
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Tamil Nadu Legislative Assembly']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Tamil_Nadu_Legislative_Assembly . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q24558764 Q14705793 Q4703450
P17
Q15617994
USER
Is Member of the Tamil Nadu Legislative Assembly present in New Hanover Township School District and Al Ahmadi District ?
(Q24558764,P17,Q14705793) (Q24558764,P17,Q4703450)
action is_in
entity Q24558764
action intersection
action find_reverse
entity Q14705793
relation P17
action find_reverse
entity Q4703450
relation P17
['Q24558764', 'P17', 'Q14705793'] ['Q24558764', 'P17', 'Q4703450']
ASK WHERE { resource:Q24558764 property:P17 resource:Q14705793 . resource:Q24558764 property:P17 resource:Q4703450 }
Member of the Tamil Nadu Legislative Assembly New Hanover Township School District Al Ahmadi District
action is_in
entity Member of the Tamil Nadu Legislative Assembly
action intersection
action find_reverse
entity New Hanover Township School District
relation country
action find_reverse
entity Al Ahmadi District
relation country
['Member of the Tamil Nadu Legislative Assembly', 'country', 'New Hanover Township School District'] ['Member of the Tamil Nadu Legislative Assembly', 'country', 'Al Ahmadi District']
ASK WHERE { resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:country resource:New_Hanover_Township_School_District . resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:country resource:Al_Ahmadi_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q24558764,P17,Q14705793) (Q24558764,P17,Q4703450)
action is_in
entity Q24558764
action intersection
action find_reverse
entity Q14705793
relation P17
action find_reverse
entity Q4703450
relation P17
[ANSWER]
['Q24558764', 'P17', 'Q14705793'] ['Q24558764', 'P17', 'Q4703450']
ASK WHERE { resource:Q24558764 property:P17 resource:Q14705793 . resource:Q24558764 property:P17 resource:Q4703450 }
No
action is_in
entity Member of the Tamil Nadu Legislative Assembly
action intersection
action find_reverse
entity New Hanover Township School District
relation country
action find_reverse
entity Al Ahmadi District
relation country
['Member of the Tamil Nadu Legislative Assembly', 'country', 'New Hanover Township School District'] ['Member of the Tamil Nadu Legislative Assembly', 'country', 'Al Ahmadi District']
ASK WHERE { resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:country resource:New_Hanover_Township_School_District . resource:Member_of_the_Tamil_Nadu_Legislative_Assembly property:country resource:Al_Ahmadi_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16556694 Q6307
P17
Q15617994
USER
Is member of the Lok Sabha present in Bad Gottleuba-Berggießhübel ?
(Q16556694,P17,Q6307)
action is_in
entity Q6307
action find
entity Q16556694
relation P17
['Q16556694', 'P17', 'Q6307']
ASK WHERE { resource:Q16556694 property:P17 resource:Q6307 }
member of the Lok Sabha Bad Gottleuba-Berggießhübel
action is_in
entity Bad Gottleuba-Berggießhübel
action find
entity member of the Lok Sabha
relation country
['member of the Lok Sabha', 'country', 'Bad Gottleuba-Berggießhübel']
ASK WHERE { resource:member_of_the_Lok_Sabha property:country resource:Bad_Gottleuba-Berggießhübel }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16556694,P17,Q6307)
action is_in
entity Q6307
action find
entity Q16556694
relation P17
[ANSWER]
['Q16556694', 'P17', 'Q6307']
ASK WHERE { resource:Q16556694 property:P17 resource:Q6307 }
No
action is_in
entity Bad Gottleuba-Berggießhübel
action find
entity member of the Lok Sabha
relation country
['member of the Lok Sabha', 'country', 'Bad Gottleuba-Berggießhübel']
ASK WHERE { resource:member_of_the_Lok_Sabha property:country resource:Bad_Gottleuba-Berggießhübel }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16003532
P921
Q12737077 Q191067 Q838948
USER
Which occupations were the main subjects of lesser number of articles and works of art 's work than middle school student ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q16003532
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q191067 } UNION { ?x property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P921 resource:Q16003532 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q191067 } } } } }
middle school student
action less
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 of art
action count
action filter_multi_types
action find_reverse
entity middle school student
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:main_subject ?c . ?c rdf:type ontology:occupation . ?x rdf:type ontology:article } UNION { ?x property:main_subject ?c . ?c rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:main_subject resource:middle_school_student . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:article } } } } }
[]
occupation article work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q16003532
relation P921
type Q191067
type Q838948
[ANSWERS] were the main subjects of lesser number of articles and works of art 's work than middle school student
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q191067 } UNION { ?x property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P921 resource:Q16003532 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q191067 } } } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist 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 classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl 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 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 comedian 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 Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of lesser number of articles and works of art 's work than middle school student
Fletcher Christian farmer librarian
action less
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 of art
action count
action filter_multi_types
action find_reverse
entity middle school student
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:main_subject ?c . ?c rdf:type ontology:occupation . ?x rdf:type ontology:article } UNION { ?x property:main_subject ?c . ?c rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:main_subject resource:middle_school_student . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:article } } } } }
[]