Simple Question (Direct)
Simple Question
Q15968935
P21
Q290
USER
Which sex does Jean Clogenson possess ?
(Q15968935,P21,c(Q290))
action filter_type
action find
entity Q15968935
relation P21
type Q290
['Q15968935', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q15968935 property:P21 ?l . ?l rdf:type ontology:Q290 }
Jean Clogenson
action filter_type
action find
entity Jean Clogenson
relation gender
type sex
['Jean Clogenson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jean_Clogenson property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15968935,P21,c(Q290))
action filter_type
action find
entity Q15968935
relation P21
type Q290
Jean Clogenson possesses 1 [ANSWER]
['Q15968935', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q15968935 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Jean Clogenson possesses 1 male
male
action filter_type
action find
entity Jean Clogenson
relation gender
type sex
['Jean Clogenson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jean_Clogenson property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15968935
P106
Q12737077
USER
What is the profession of Jean Clogenson ?
(Q15968935,P106,c(Q12737077))
action filter_type
action find
entity Q15968935
relation P106
type Q12737077
['Q15968935', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15968935 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Jean Clogenson
action filter_type
action find
entity Jean Clogenson
relation occupation
type occupation
['Jean Clogenson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Clogenson property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q15968935,P106,c(Q12737077))
action filter_type
action find
entity Q15968935
relation P106
type Q12737077
The profession of Jean Clogenson is a [ANSWER]
['Q15968935', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15968935 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
The profession of Jean Clogenson is a politician
politician
action filter_type
action find
entity Jean Clogenson
relation occupation
type occupation
['Jean Clogenson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Clogenson property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P921
Q12737077 Q2342494 Q732577
USER
Which occupations were the main subjects of lesser number of collectables and publications 's work than that occupation ?
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { { ?b rdf:type ontology:Q732577 } UNION { ?b rdf:type ontology:Q2342494 } } . ?b property:P921 resource:Q82955 } } . FILTER ( ?f < ?m ) . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { { ?k property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P921 ?y . ?k rdf:type ontology:Q732577 . ?y rdf:type ontology:Q12737077 } } GROUP BY ?y } }
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { { ?b rdf:type ontology:publication } UNION { ?b rdf:type ontology:collectable } } . ?b property:main_subject resource:politician } } . FILTER ( ?f < ?m ) . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { { ?k property:main_subject ?y . ?y rdf:type ontology:occupation . ?k rdf:type ontology:collectable } UNION { ?k property:main_subject ?y . ?k rdf:type ontology:publication . ?y rdf:type ontology:occupation } } GROUP BY ?y } }
[]
occupation collectable publication
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q2342494
type Q732577
[ANSWERS] were the main subjects of lesser number of collectables and publications 's work than that occupation
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { { ?b rdf:type ontology:Q732577 } UNION { ?b rdf:type ontology:Q2342494 } } . ?b property:P921 resource:Q82955 } } . FILTER ( ?f < ?m ) . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { { ?k property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q2342494 } UNION { ?k property:P921 ?y . ?k rdf:type ontology:Q732577 . ?y rdf:type ontology:Q12737077 } } GROUP BY ?y } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Prime Minister of Hungary seiyū clown farmer medallist detective racing driver 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 candidate taxi driver gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist pastor cartoonist judge nanny caricaturist painter American football player legal profession composer rabbi völva conductor comedian photographer peasant missionary United States federal judge musician Nomarch medical examiner police officer aviator statesman librarian 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 lesser number of collectables and publications 's work than that occupation
Fletcher Christian farmer librarian
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { { { ?b rdf:type ontology:publication } UNION { ?b rdf:type ontology:collectable } } . ?b property:main_subject resource:politician } } . FILTER ( ?f < ?m ) . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { { ?k property:main_subject ?y . ?y rdf:type ontology:occupation . ?k rdf:type ontology:collectable } UNION { ?k property:main_subject ?y . ?k rdf:type ontology:publication . ?y rdf:type ontology:occupation } } GROUP BY ?y } }
[]