Simple Question (Direct)
Simple Question
Q1610543
P106
Q12737077
USER
What do Hermann Ammann do for a living ?
(Q1610543,P106,c(Q12737077))
action filter_type
action find
entity Q1610543
relation P106
type Q12737077
['Q1610543', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1610543 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Hermann Ammann
action filter_type
action find
entity Hermann Ammann
relation occupation
type occupation
['Hermann Ammann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Hermann_Ammann property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q14467526 Q1622272
SYSTEM
linguist, university teacher
Q14467526 Q1622272
(Q1610543,P106,c(Q12737077))
action filter_type
action find
entity Q1610543
relation P106
type Q12737077
Hermann Ammann do for a living as [ANSWERS]
['Q1610543', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1610543 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
linguist university teacher
Hermann Ammann do for a living as linguist and university teacher
linguist university teacher
action filter_type
action find
entity Hermann Ammann
relation occupation
type occupation
['Hermann Ammann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Hermann_Ammann property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14467526 Q1622272
P101
Q502895
USER
Which people have field of work as linguist and university teacher ?
(c(Q502895),P101,Q14467526) (c(Q502895),P101,Q1622272)
action union
action filter_type
action find_reverse
entity Q14467526
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q14467526'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?o WHERE { ?o property:P101 ?s . VALUES ( ?s ) { ( resource:Q14467526 ) ( resource:Q1622272 ) } }
linguist university teacher
action union
action filter_type
action find_reverse
entity linguist
relation field of work
type common name
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'linguist'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work ?s . VALUES ( ?s ) { ( resource:linguist ) ( resource:university_teacher ) } }
[]
common name
Q327195 Q21030230
SYSTEM
Edgar de Wahl, Eliška Klimková-Deutschová
Q327195 Q21030230
(c(Q502895),P101,Q14467526) (c(Q502895),P101,Q1622272)
action union
action filter_type
action find_reverse
entity Q14467526
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[ANSWERS] have field of work as linguist and university teacher
[{'concept': 'Q502895'}, 'P101', 'Q14467526'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?o WHERE { ?o property:P101 ?s . VALUES ( ?s ) { ( resource:Q14467526 ) ( resource:Q1622272 ) } }
Edgar de Wahl Eliška Klimková-Deutschová
Edgar de Wahl and Eliška Klimková-Deutschová have field of work as linguist and university teacher
Edgar de Wahl Eliška Klimková-Deutschová
action union
action filter_type
action find_reverse
entity linguist
relation field of work
type common name
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'linguist'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work ?s . VALUES ( ?s ) { ( resource:linguist ) ( resource:university_teacher ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q327195 Q21030230
P101
Q12737077
USER
Which occupations are the area of those people ?
(Q327195,P101,c(Q12737077)) (Q21030230,P101,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P101
type Q12737077
['Q327195', 'P101', {'concept': 'Q12737077'}] ['Q21030230', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . VALUES ( ?s ) { ( resource:Q327195 ) ( resource:Q21030230 ) } . ?s property:P101 ?v }
Edgar de Wahl Eliška Klimková-Deutschová
action filter_type
action find
entity prev_answer
relation field of work
type occupation
['Edgar de Wahl', 'field of work', {'concept': 'occupation'}] ['Eliška Klimková-Deutschová', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . VALUES ( ?s ) { ( resource:Edgar_de_Wahl ) ( resource:Eliška_Klimková-Deutschová ) } . ?s property:field_of_work ?v }
[]
occupation
Q1622272 Q14467526 Q15980158
SYSTEM
university teacher, linguist, non-fiction writer
Q14467526 Q15980158 Q783906 Q1622272
(Q327195,P101,c(Q12737077)) (Q21030230,P101,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P101
type Q12737077
The [ANSWERS] are the area of those people
['Q327195', 'P101', {'concept': 'Q12737077'}] ['Q21030230', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . VALUES ( ?s ) { ( resource:Q327195 ) ( resource:Q21030230 ) } . ?s property:P101 ?v }
linguist non-fiction writer neurologist university teacher
The university teacher, linguist and non-fiction writer are the area of those people
university teacher linguist non-fiction writer
action filter_type
action find
entity prev_answer
relation field of work
type occupation
['Edgar de Wahl', 'field of work', {'concept': 'occupation'}] ['Eliška Klimková-Deutschová', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . VALUES ( ?s ) { ( resource:Edgar_de_Wahl ) ( resource:Eliška_Klimková-Deutschová ) } . ?s property:field_of_work ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21030230
P19
Q515
USER
Which city is the birthplace of Eliška Klimková-Deutschová ?
(Q21030230,P19,c(Q515))
action filter_type
action find
entity Q21030230
relation P19
type Q515
['Q21030230', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q515 . resource:Q21030230 property:P19 ?r }
Eliška Klimková-Deutschová
action filter_type
action find
entity Eliška Klimková-Deutschová
relation place of birth
type city
['Eliška Klimková-Deutschová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:city . resource:Eliška_Klimková-Deutschová property:place_of_birth ?r }
[]
city
Q722732
SYSTEM
Litomyšl
Q722732
(Q21030230,P19,c(Q515))
action filter_type
action find
entity Q21030230
relation P19
type Q515
[ANSWER] is the birthplace of Eliška Klimková-Deutschová
['Q21030230', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q515 . resource:Q21030230 property:P19 ?r }
Litomyšl
Litomyšl is the birthplace of Eliška Klimková-Deutschová
Litomyšl
action filter_type
action find
entity Eliška Klimková-Deutschová
relation place of birth
type city
['Eliška Klimková-Deutschová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:city . resource:Eliška_Klimková-Deutschová property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q722732
P463
Q874405
USER
Which social group had that city as its member ?
(Q722732,P463,c(Q874405))
action filter_type
action find
entity Q722732
relation P463
type Q874405
['Q722732', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?q WHERE { resource:Q722732 property:P463 ?q . ?q rdf:type ontology:Q874405 }
Litomyšl
action filter_type
action find
entity Litomyšl
relation member of
type social group
['Litomyšl', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?q WHERE { resource:Litomyšl property:member_of ?q . ?q rdf:type ontology:social_group }
[]
social group
Q11281703
SYSTEM
Czech Inspiration
Q11281703
(Q722732,P463,c(Q874405))
action filter_type
action find
entity Q722732
relation P463
type Q874405
[ANSWER] had that city as its member
['Q722732', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?q WHERE { resource:Q722732 property:P463 ?q . ?q rdf:type ontology:Q874405 }
Czech Inspiration
Czech Inspiration had that city as its member
Czech Inspiration
action filter_type
action find
entity Litomyšl
relation member of
type social group
['Litomyšl', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?q WHERE { resource:Litomyšl property:member_of ?q . ?q rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11281703
P17
Q15617994
USER
Which administrative territory does that social group belong to ?
(Q11281703,P17,c(Q15617994))
action filter_type
action find
entity Q11281703
relation P17
type Q15617994
['Q11281703', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q11281703 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Czech Inspiration
action filter_type
action find
entity Czech Inspiration
relation country
type designation for an administrative territorial entity
['Czech Inspiration', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Czech_Inspiration property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q11281703,P17,c(Q15617994))
action filter_type
action find
entity Q11281703
relation P17
type Q15617994
That social group belongs to the [ANSWER]
['Q11281703', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q11281703 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Czech Republic
That social group belongs to the Czech Republic
Czech Republic
action filter_type
action find
entity Czech Inspiration
relation country
type designation for an administrative territorial entity
['Czech Inspiration', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Czech_Inspiration property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P495
Q732577
USER
Which publication has that administrative territory as its place of origin ?
(c(Q732577),P495,Q213)
action filter_type
action find_reverse
entity Q213
relation P495
type Q732577
[{'concept': 'Q732577'}, 'P495', 'Q213']
SELECT DISTINCT ?a WHERE { ?a property:P495 resource:Q213 . ?a rdf:type ontology:Q732577 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation country of origin
type publication
[{'concept': 'publication'}, 'country of origin', 'Czech Republic']
SELECT DISTINCT ?a WHERE { ?a property:country_of_origin resource:Czech_Republic . ?a rdf:type ontology:publication }
[]
publication
Q399747
SYSTEM
Aha!
Q399747
(c(Q732577),P495,Q213)
action filter_type
action find_reverse
entity Q213
relation P495
type Q732577
[ANSWER] has that administrative territory as its place of origin
[{'concept': 'Q732577'}, 'P495', 'Q213']
SELECT DISTINCT ?a WHERE { ?a property:P495 resource:Q213 . ?a rdf:type ontology:Q732577 }
Aha!
Aha! has that administrative territory as its place of origin
Aha!
action filter_type
action find_reverse
entity Czech Republic
relation country of origin
type publication
[{'concept': 'publication'}, 'country of origin', 'Czech Republic']
SELECT DISTINCT ?a WHERE { ?a property:country_of_origin resource:Czech_Republic . ?a rdf:type ontology:publication }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q722732
P47
Q515
USER
Who shares the border with Litomyšl ?
(Q722732,P47,c(Q515))
action filter_type
action find
entity Q722732
relation P47
type Q515
['Q722732', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q722732 property:P47 ?h . ?h rdf:type ontology:Q515 }
Litomyšl
action filter_type
action find
entity Litomyšl
relation shares border with
type city
['Litomyšl', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Litomyšl property:shares_border_with ?h . ?h rdf:type ontology:city }
[]
city
Q341056
SYSTEM
Česká Třebová
Q341056
(Q722732,P47,c(Q515))
action filter_type
action find
entity Q722732
relation P47
type Q515
[ANSWER] shares the border with Litomyšl
['Q722732', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q722732 property:P47 ?h . ?h rdf:type ontology:Q515 }
Česká Třebová
Česká Třebová shares the border with Litomyšl
Česká Třebová
action filter_type
action find
entity Litomyšl
relation shares border with
type city
['Litomyšl', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Litomyšl property:shares_border_with ?h . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q341056
P190
Q15617994
USER
Which administrative territory is twin city of that one ?
(c(Q15617994),P190,Q341056)
action filter_type
action find
entity Q341056
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q341056']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q341056 property:P190 ?s }
Česká Třebová
action filter_type
action find
entity Česká Třebová
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Česká Třebová']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Česká_Třebová property:sister_city ?s }
[]
designation for an administrative territorial entity
Q40539
SYSTEM
Agrate Brianza
Q40539
(c(Q15617994),P190,Q341056)
action filter_type
action find
entity Q341056
relation P190
type Q15617994
[ANSWER] is twin city of that one
[{'concept': 'Q15617994'}, 'P190', 'Q341056']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q341056 property:P190 ?s }
Agrate Brianza
Agrate Brianza is twin city of that one
Agrate Brianza
action filter_type
action find
entity Česká Třebová
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Česká Třebová']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Česká_Třebová property:sister_city ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q814356
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were the main subjects of approximately the same number of works of art or collectables 's work as call girl ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action approx
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 Q814356
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P921 resource:Q814356 . { { ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q2342494 } } } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?n ) WHERE { { ?v property:P921 ?g . ?g rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } UNION { ?g rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q2342494 . ?v property:P921 ?g } } GROUP BY ?g } }
call girl
action approx
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 call girl
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:main_subject resource:call_girl . { { ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:collectable } } } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?n ) WHERE { { ?v property:main_subject ?g . ?g rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } UNION { ?g rdf:type ontology:occupation . ?v rdf:type ontology:collectable . ?v property:main_subject ?g } } GROUP BY ?g } }
[]
occupation work of art collectable
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 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 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action approx
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 Q814356
relation P921
type Q838948
type Q2342494
[ANSWERS] were the main subjects of approximately the same number of works of art or collectables 's work as call girl
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P921 resource:Q814356 . { { ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q2342494 } } } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?n ) WHERE { { ?v property:P921 ?g . ?g rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } UNION { ?g rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q2342494 . ?v property:P921 ?g } } GROUP BY ?g } }
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 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 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 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 approximately the same number of works of art or collectables 's work as call girl
Fletcher Christian farmer librarian
action approx
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 call girl
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:main_subject resource:call_girl . { { ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:collectable } } } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?n ) WHERE { { ?v property:main_subject ?g . ?g rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } UNION { ?g rdf:type ontology:occupation . ?v rdf:type ontology:collectable . ?v property:main_subject ?g } } GROUP BY ?g } }
[]