Simple Question (Direct)
Simple Question
Q3194088
P39
Q12737077
USER
Which occupation was a position occupied by Kathleen Weil ?
(Q3194088,P39,c(Q12737077))
action filter_type
action find
entity Q3194088
relation P39
type Q12737077
['Q3194088', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3194088 property:P39 ?j }
Kathleen Weil
action filter_type
action find
entity Kathleen Weil
relation position held
type occupation
['Kathleen Weil', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Kathleen_Weil property:position_held ?j }
[]
occupation
Q3305338
SYSTEM
Member of the National Assembly
Q3305338
(Q3194088,P39,c(Q12737077))
action filter_type
action find
entity Q3194088
relation P39
type Q12737077
[ANSWER] was a position occupied by Kathleen Weil
['Q3194088', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q3194088 property:P39 ?j }
Member of the National Assembly
Member of the National Assembly was a position occupied by Kathleen Weil
Member of the National Assembly
action filter_type
action find
entity Kathleen Weil
relation position held
type occupation
['Kathleen Weil', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Kathleen_Weil property:position_held ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3194088
P106
Q12737077
USER
What is the profession of Kathleen Weil ?
(Q3194088,P106,c(Q12737077))
action filter_type
action find
entity Q3194088
relation P106
type Q12737077
['Q3194088', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3194088 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Kathleen Weil
action filter_type
action find
entity Kathleen Weil
relation occupation
type occupation
['Kathleen Weil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Kathleen_Weil property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3194088,P106,c(Q12737077))
action filter_type
action find
entity Q3194088
relation P106
type Q12737077
The profession of Kathleen Weil is a [ANSWER]
['Q3194088', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3194088 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
The profession of Kathleen Weil is a politician
politician
action filter_type
action find
entity Kathleen Weil
relation occupation
type occupation
['Kathleen Weil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Kathleen_Weil property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3194088
Q28640
USER
And which profession?
(Q3194088,P106,c(Q28640))
action filter_type
action find
entity Q3194088
relation P106
type Q28640
['Q3194088', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { resource:Q3194088 property:P106 ?g . ?g rdf:type ontology:Q28640 }
Kathleen Weil
action filter_type
action find
entity Kathleen Weil
relation occupation
type profession
['Kathleen Weil', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { resource:Kathleen_Weil property:occupation ?g . ?g rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q3194088,P106,c(Q28640))
action filter_type
action find
entity Q3194088
relation P106
type Q28640
[ANSWER]
['Q3194088', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { resource:Q3194088 property:P106 ?g . ?g rdf:type ontology:Q28640 }
lawyer
lawyer
action filter_type
action find
entity Kathleen Weil
relation occupation
type profession
['Kathleen Weil', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { resource:Kathleen_Weil property:occupation ?g . ?g rdf:type ontology:profession }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q152002
P921
Q12737077 Q386724 Q732577
USER
How many occupations were discussed in approximately the same number of works or publications as pastor ?
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P921
type Q386724
type Q732577
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q386724 } UNION { ?m property:P921 ?o . ?m rdf:type ontology:Q732577 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P921 resource:Q152002 . { VALUES ( ?k ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?a rdf:type ?k } } } . FILTER ( ?f = ?d ) }
pastor
action count
action approx
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 publication
action count
action filter_multi_types
action find_reverse
entity pastor
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:main_subject ?o . ?o rdf:type ontology:occupation . ?m rdf:type ontology:work } UNION { ?m property:main_subject ?o . ?m rdf:type ontology:publication . ?o rdf:type ontology:occupation } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:main_subject resource:pastor . { VALUES ( ?k ) { ( ontology:work ) ( ontology:publication ) } . ?a rdf:type ?k } } } . FILTER ( ?f = ?d ) }
[]
occupation work publication
SYSTEM
95
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 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 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P921
type Q386724
type Q732577
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q386724 } UNION { ?m property:P921 ?o . ?m rdf:type ontology:Q732577 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P921 resource:Q152002 . { VALUES ( ?k ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?a rdf:type ?k } } } . FILTER ( ?f = ?d ) }
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 Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist 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 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 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 Member of Parliament in the United Kingdom
95
action count
action approx
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 publication
action count
action filter_multi_types
action find_reverse
entity pastor
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?f ) WHERE { { ?m property:main_subject ?o . ?o rdf:type ontology:occupation . ?m rdf:type ontology:work } UNION { ?m property:main_subject ?o . ?m rdf:type ontology:publication . ?o rdf:type ontology:occupation } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:main_subject resource:pastor . { VALUES ( ?k ) { ( ontology:work ) ( ontology:publication ) } . ?a rdf:type ?k } } } . FILTER ( ?f = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7358
P921
Q12737077 Q386724 Q732577
USER
And how about clown?
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q7358
relation P921
type Q386724
type Q732577
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P921 resource:Q7358 . { { ?v rdf:type ontology:Q386724 } UNION { ?v rdf:type ontology:Q732577 } } } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } } GROUP BY ?j } }
clown
action count
action approx
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 publication
action count
action filter_multi_types
action find_reverse
entity clown
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:main_subject resource:clown . { { ?v rdf:type ontology:work } UNION { ?v rdf:type ontology:publication } } } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:work ) ( ontology:publication ) } } GROUP BY ?j } }
[]
occupation work publication
SYSTEM
95
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 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 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q7358
relation P921
type Q386724
type Q732577
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P921 resource:Q7358 . { { ?v rdf:type ontology:Q386724 } UNION { ?v rdf:type ontology:Q732577 } } } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } } GROUP BY ?j } }
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 Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist 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 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 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 Member of Parliament in the United Kingdom
95
action count
action approx
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 publication
action count
action filter_multi_types
action find_reverse
entity clown
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { FILTER ( ?i = ?x ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:main_subject resource:clown . { { ?v rdf:type ontology:work } UNION { ?v rdf:type ontology:publication } } } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:work ) ( ontology:publication ) } } GROUP BY ?j } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q28640 Q1269299 Q4830453
USER
Which professions serve as a subsidiary of atleast 1 business organizations and business enterprises ?
(c(Q1269299)|c(Q4830453),P355,c(Q28640))
action atleast
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
value 1
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?w property:P355 ?a . ?a rdf:type ontology:Q28640 . ?w rdf:type ontology:Q1269299 } UNION { ?w property:P355 ?a . ?w rdf:type ontology:Q4830453 . ?a rdf:type ontology:Q28640 } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
value 1
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?w property:subsidiary ?a . ?a rdf:type ontology:profession . ?w rdf:type ontology:type_of_business_entity } UNION { ?w property:subsidiary ?a . ?w rdf:type ontology:business_enterprise . ?a rdf:type ontology:profession } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
[]
profession type of business entity business enterprise
Q1129295 Q122741 Q73801
SYSTEM
Mojang, Sega, Microsoft Studios
Q1403157 Q1129295 Q122741 Q73801 Q2740414 Q15018011 Q1692707 Q959672 Q3052263
(c(Q1269299)|c(Q4830453),P355,c(Q28640))
action atleast
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
value 1
[ANSWERS] serve as a subsidiary of atleast 1 business organizations and business enterprises
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?w property:P355 ?a . ?a rdf:type ontology:Q28640 . ?w rdf:type ontology:Q1269299 } UNION { ?w property:P355 ?a . ?w rdf:type ontology:Q4830453 . ?a rdf:type ontology:Q28640 } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
WMS Industries Mojang Sega Microsoft Studios Team Ninja Atari Interactive Square Enix Europe Daybreak Game Company Omega Force
Mojang, Sega and Microsoft Studios serve as a subsidiary of atleast 1 business organizations and business enterprises
Mojang Sega Microsoft Studios
action atleast
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
value 1
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?w property:subsidiary ?a . ?a rdf:type ontology:profession . ?w rdf:type ontology:type_of_business_entity } UNION { ?w property:subsidiary ?a . ?w rdf:type ontology:business_enterprise . ?a rdf:type ontology:profession } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
[]