Simple Question (Direct)
Simple Question
Q3026898
P106
Q12737077
USER
Which occupation is the profession of Didier Anger ?
(Q3026898,P106,c(Q12737077))
action filter_type
action find
entity Q3026898
relation P106
type Q12737077
['Q3026898', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3026898 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Didier Anger
action filter_type
action find
entity Didier Anger
relation occupation
type occupation
['Didier Anger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Didier_Anger property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3026898,P106,c(Q12737077))
action filter_type
action find
entity Q3026898
relation P106
type Q12737077
As [ANSWER] is the profession of Didier Anger
['Q3026898', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3026898 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
As politician is the profession of Didier Anger
politician
action filter_type
action find
entity Didier Anger
relation occupation
type occupation
['Didier Anger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Didier_Anger property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3026898
P39
Q12737077
USER
Which occupations were the positions occupied by Didier Anger ?
(Q3026898,P39,c(Q12737077))
action filter_type
action find
entity Q3026898
relation P39
type Q12737077
['Q3026898', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3026898 property:P39 ?w }
Didier Anger
action filter_type
action find
entity Didier Anger
relation position held
type occupation
['Didier Anger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Didier_Anger property:position_held ?w }
[]
occupation
Q16886136 Q27169
SYSTEM
conseiller régional, member of the European Parliament
Q16886136 Q27169
(Q3026898,P39,c(Q12737077))
action filter_type
action find
entity Q3026898
relation P39
type Q12737077
The [ANSWERS] were the positions occupied by Didier Anger
['Q3026898', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3026898 property:P39 ?w }
conseiller régional member of the European Parliament
The conseiller régional and member of the European Parliament were the positions occupied by Didier Anger
conseiller régional member of the European Parliament
action filter_type
action find
entity Didier Anger
relation position held
type occupation
['Didier Anger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Didier_Anger property:position_held ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2320015
Q12737077
USER
And how about Harry Wijnschenk?
(Q2320015,P39,c(Q12737077))
action filter_type
action find
entity Q2320015
relation P39
type Q12737077
['Q2320015', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2320015 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Harry Wijnschenk
action filter_type
action find
entity Harry Wijnschenk
relation position held
type occupation
['Harry Wijnschenk', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Harry_Wijnschenk property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q18887908
SYSTEM
member of the House of Representatives of the Netherlands
Q18887908
(Q2320015,P39,c(Q12737077))
action filter_type
action find
entity Q2320015
relation P39
type Q12737077
[ANSWER]
['Q2320015', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2320015 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
member of the House of Representatives of the Netherlands
member of the House of Representatives of the Netherlands
action filter_type
action find
entity Harry Wijnschenk
relation position held
type occupation
['Harry Wijnschenk', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Harry_Wijnschenk property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18887908 Q41078 Q29999
P1001
Q15617994
USER
Does member of the House of Representatives of the Netherlands have control over the jurisdiction of Ponte Nizza and Kingdom of the Netherlands ?
(Q18887908,P1001,Q41078) (Q18887908,P1001,Q29999)
action is_in
entity Q18887908
action intersection
action find_reverse
entity Q41078
relation P1001
action find_reverse
entity Q29999
relation P1001
['Q18887908', 'P1001', 'Q41078'] ['Q18887908', 'P1001', 'Q29999']
ASK WHERE { resource:Q18887908 property:P1001 resource:Q41078 . resource:Q18887908 property:P1001 resource:Q29999 }
member of the House of Representatives of the Netherlands Ponte Nizza Kingdom of the Netherlands
action is_in
entity member of the House of Representatives of the Netherlands
action intersection
action find_reverse
entity Ponte Nizza
relation applies to jurisdiction
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
['member of the House of Representatives of the Netherlands', 'applies to jurisdiction', 'Ponte Nizza'] ['member of the House of Representatives of the Netherlands', 'applies to jurisdiction', 'Kingdom of the Netherlands']
ASK WHERE { resource:member_of_the_House_of_Representatives_of_the_Netherlands property:applies_to_jurisdiction resource:Ponte_Nizza . resource:member_of_the_House_of_Representatives_of_the_Netherlands property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18887908,P1001,Q41078) (Q18887908,P1001,Q29999)
action is_in
entity Q18887908
action intersection
action find_reverse
entity Q41078
relation P1001
action find_reverse
entity Q29999
relation P1001
[ANSWER]
['Q18887908', 'P1001', 'Q41078'] ['Q18887908', 'P1001', 'Q29999']
ASK WHERE { resource:Q18887908 property:P1001 resource:Q41078 . resource:Q18887908 property:P1001 resource:Q29999 }
NO and YES respectively
action is_in
entity member of the House of Representatives of the Netherlands
action intersection
action find_reverse
entity Ponte Nizza
relation applies to jurisdiction
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
['member of the House of Representatives of the Netherlands', 'applies to jurisdiction', 'Ponte Nizza'] ['member of the House of Representatives of the Netherlands', 'applies to jurisdiction', 'Kingdom of the Netherlands']
ASK WHERE { resource:member_of_the_House_of_Representatives_of_the_Netherlands property:applies_to_jurisdiction resource:Ponte_Nizza . resource:member_of_the_House_of_Representatives_of_the_Netherlands property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18887908
P17
Q15617994
USER
Which administrative territory is that occupation a part of ?
action filter_type
action find
entity Q18887908
relation P17
type Q15617994
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q18887908 property:P17 ?e }
member of the House of Representatives of the Netherlands
action filter_type
action find
entity member of the House of Representatives of the Netherlands
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_House_of_Representatives_of_the_Netherlands property:country ?e }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
action filter_type
action find
entity Q18887908
relation P17
type Q15617994
The [ANSWER] is that occupation a part of
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q18887908 property:P17 ?e }
Kingdom of the Netherlands
The Kingdom of the Netherlands is that occupation a part of
Kingdom of the Netherlands
action filter_type
action find
entity member of the House of Representatives of the Netherlands
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_House_of_Representatives_of_the_Netherlands property:country ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11631
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were the main subjects of greater number of works of art and collectables 's work than astronaut ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q11631
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P921 resource:Q11631 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q2342494 } } } } . FILTER ( ?c > ?d ) }
astronaut
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity astronaut
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:main_subject resource:astronaut . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:collectable } } } } . FILTER ( ?c > ?d ) }
[]
occupation work of art collectable
Q16746569 Q33231 Q39631
SYSTEM
high school student, photographer, physician
Q39631 Q33999 Q9402 Q164236 Q16746569 Q33231
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q11631
relation P921
type Q838948
type Q2342494
The [ANSWERS] were the main subjects of greater number of works of art and collectables 's work than astronaut
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P921 resource:Q11631 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q2342494 } } } } . FILTER ( ?c > ?d ) }
physician actor ninja war correspondent high school student photographer
The high school student, photographer and physician were the main subjects of greater number of works of art and collectables 's work than astronaut
high school student photographer physician
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity astronaut
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:main_subject resource:astronaut . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:collectable } } } } . FILTER ( ?c > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3809586
P921
Q12737077 Q838948 Q2342494
USER
And what about Wikipedian in Residence?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q3809586
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?d WHERE { { ?g property:P921 ?d . ?g rdf:type ontology:Q838948 . ?d rdf:type ontology:Q12737077 } UNION { ?g property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q2342494 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P921 resource:Q3809586 . { { ?b rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q838948 } } } } . FILTER ( ?f > ?r ) }
Wikipedian in Residence
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity Wikipedian in Residence
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?d WHERE { { ?g property:main_subject ?d . ?g rdf:type ontology:work_of_art . ?d rdf:type ontology:occupation } UNION { ?g property:main_subject ?d . ?d rdf:type ontology:occupation . ?g rdf:type ontology:collectable } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:main_subject resource:Wikipedian_in_Residence . { { ?b rdf:type ontology:collectable } UNION { ?b rdf:type ontology:work_of_art } } } } . FILTER ( ?f > ?r ) }
[]
occupation work of art collectable
Q42973 Q18145518 Q18220900
SYSTEM
architect, Member of the New Zealand House of Representatives, Member of the South Australian House of Assembly
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q1930187 Q937857 Q9402 Q2961580 Q43845 Q101539 Q29182 Q131524 Q205375 Q164236 Q14373094 Q18220900 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q49757 Q2095549 Q1238570 Q2259532 Q1674312 Q16003532
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q3809586
relation P921
type Q838948
type Q2342494
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?d WHERE { { ?g property:P921 ?d . ?g rdf:type ontology:Q838948 . ?d rdf:type ontology:Q12737077 } UNION { ?g property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q2342494 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P921 resource:Q3809586 . { { ?b rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q838948 } } } } . FILTER ( ?f > ?r ) }
industrialist business magnate physician lumberjack astronaut actor writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect journalist association football player ninja taxi driver businessperson flight attendant bishop entrepreneur inventor war correspondent rugby league player Member of the South Australian House of Assembly nanny high school student elementary school student comedian photographer poet aviator political scientist cleric rag-and-bone man middle school student
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity Wikipedian in Residence
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?d WHERE { { ?g property:main_subject ?d . ?g rdf:type ontology:work_of_art . ?d rdf:type ontology:occupation } UNION { ?g property:main_subject ?d . ?d rdf:type ontology:occupation . ?g rdf:type ontology:collectable } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:main_subject resource:Wikipedian_in_Residence . { { ?b rdf:type ontology:collectable } UNION { ?b rdf:type ontology:work_of_art } } } } . FILTER ( ?f > ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18145518
P1001
Q1048835
USER
How many political territories are judicially linked to Member of the New Zealand House of Representatives ?
(Q18145518,P1001,c(Q1048835))
action count
action filter_type
action find
entity Q18145518
relation P1001
type Q1048835
['Q18145518', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q18145518 property:P1001 ?i . ?i rdf:type ontology:Q1048835 }
Member of the New Zealand House of Representatives
action count
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the New Zealand House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:applies_to_jurisdiction ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q664
(Q18145518,P1001,c(Q1048835))
action count
action filter_type
action find
entity Q18145518
relation P1001
type Q1048835
[ANSWER]
['Q18145518', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q18145518 property:P1001 ?i . ?i rdf:type ontology:Q1048835 }
New Zealand
1
action count
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the New Zealand House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:applies_to_jurisdiction ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18145518
P361
Q2145277
USER
What is that occupation a component of ?
action filter_type
action find
entity Q18145518
relation P361
type Q2145277
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2145277 . resource:Q18145518 property:P361 ?p }
Member of the New Zealand House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation part of
type House of Representatives
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:House_of_Representatives . resource:Member_of_the_New_Zealand_House_of_Representatives property:part_of ?p }
[]
House of Representatives
Q2034424
SYSTEM
House of Representatives
Q2034424
action filter_type
action find
entity Q18145518
relation P361
type Q2145277
That occupation a component of is the [ANSWER]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2145277 . resource:Q18145518 property:P361 ?p }
House of Representatives
That occupation a component of is the House of Representatives
House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation part of
type House of Representatives
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:House_of_Representatives . resource:Member_of_the_New_Zealand_House_of_Representatives property:part_of ?p }
[]