Simple Question (Direct)
Simple Question
Q220834
P21
Q290
USER
Which sex does Joe Eszterhas belong to ?
(Q220834,P21,c(Q290))
action filter_type
action find
entity Q220834
relation P21
type Q290
['Q220834', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q220834 property:P21 ?c . ?c rdf:type ontology:Q290 }
Joe Eszterhas
action filter_type
action find
entity Joe Eszterhas
relation gender
type sex
['Joe Eszterhas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Joe_Eszterhas property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q220834,P21,c(Q290))
action filter_type
action find
entity Q220834
relation P21
type Q290
Joe Eszterhas belongs to [ANSWER]
['Q220834', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q220834 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Joe Eszterhas belongs to male
male
action filter_type
action find
entity Joe Eszterhas
relation gender
type sex
['Joe Eszterhas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Joe_Eszterhas property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220834
P53
Q13417114
USER
What dynasty does Joe Eszterhas belong to ?
(Q220834,P53,c(Q13417114))
action filter_type
action find
entity Q220834
relation P53
type Q13417114
['Q220834', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?u WHERE { resource:Q220834 property:P53 ?u . ?u rdf:type ontology:Q13417114 }
Joe Eszterhas
action filter_type
action find
entity Joe Eszterhas
relation noble family
type noble family
['Joe Eszterhas', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?u WHERE { resource:Joe_Eszterhas property:noble_family ?u . ?u rdf:type ontology:noble_family }
[]
noble family
Q1369980
SYSTEM
House of Esterházy
Q1369980
(Q220834,P53,c(Q13417114))
action filter_type
action find
entity Q220834
relation P53
type Q13417114
Joe Eszterhas belongs to [ANSWER]
['Q220834', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?u WHERE { resource:Q220834 property:P53 ?u . ?u rdf:type ontology:Q13417114 }
House of Esterházy
Joe Eszterhas belongs to House of Esterházy
House of Esterházy
action filter_type
action find
entity Joe Eszterhas
relation noble family
type noble family
['Joe Eszterhas', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?u WHERE { resource:Joe_Eszterhas property:noble_family ?u . ?u rdf:type ontology:noble_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1369980
P112
Q1107656
USER
Which garden was founded by that noble family ?
(c(Q1107656),P112,Q1369980)
action filter_type
action find_reverse
entity Q1369980
relation P112
type Q1107656
[{'concept': 'Q1107656'}, 'P112', 'Q1369980']
SELECT DISTINCT ?b WHERE { ?b property:P112 resource:Q1369980 . ?b rdf:type ontology:Q1107656 }
House of Esterházy
action filter_type
action find_reverse
entity House of Esterházy
relation founder
type garden
[{'concept': 'garden'}, 'founder', 'House of Esterházy']
SELECT DISTINCT ?b WHERE { ?b property:founder resource:House_of_Esterházy . ?b rdf:type ontology:garden }
[]
garden
Q769873
SYSTEM
Angolkert
Q769873
(c(Q1107656),P112,Q1369980)
action filter_type
action find_reverse
entity Q1369980
relation P112
type Q1107656
[ANSWER] was founded by that noble family
[{'concept': 'Q1107656'}, 'P112', 'Q1369980']
SELECT DISTINCT ?b WHERE { ?b property:P112 resource:Q1369980 . ?b rdf:type ontology:Q1107656 }
Angolkert
Angolkert was founded by that noble family
Angolkert
action filter_type
action find_reverse
entity House of Esterházy
relation founder
type garden
[{'concept': 'garden'}, 'founder', 'House of Esterházy']
SELECT DISTINCT ?b WHERE { ?b property:founder resource:House_of_Esterházy . ?b rdf:type ontology:garden }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2854144
P88
Q502895 Q1107656
USER
How many people were more number of gardens commissioned by than Antoine Le Viste ?
(c(Q1107656),P88,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P88
type Q502895
type Q1107656
action count
action filter_type
action find
entity Q2854144
relation P88
type Q502895
[{'concept': 'Q1107656'}, 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P88 ?y . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q1107656 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q2854144 property:P88 ?m } } . FILTER ( ?h > ?b ) }
Antoine Le Viste
action count
action greater
action find_reverse_tuple_counts
relation commissioned by
type common name
type garden
action count
action filter_type
action find
entity Antoine Le Viste
relation commissioned by
type common name
[{'concept': 'garden'}, 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?l rdf:type ontology:garden } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:common_name . resource:Antoine_Le_Viste property:commissioned_by ?m } } . FILTER ( ?h > ?b ) }
[]
common name garden
SYSTEM
2
Q105013 Q2898749
(c(Q1107656),P88,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P88
type Q502895
type Q1107656
action count
action filter_type
action find
entity Q2854144
relation P88
type Q502895
[ANSWER]
[{'concept': 'Q1107656'}, 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P88 ?y . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q1107656 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q2854144 property:P88 ?m } } . FILTER ( ?h > ?b ) }
Frederick William I of Prussia Su Shunqin
2
action count
action greater
action find_reverse_tuple_counts
relation commissioned by
type common name
type garden
action count
action filter_type
action find
entity Antoine Le Viste
relation commissioned by
type common name
[{'concept': 'garden'}, 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?l rdf:type ontology:garden } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:common_name . resource:Antoine_Le_Viste property:commissioned_by ?m } } . FILTER ( ?h > ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220834
P1412
Q34770
USER
Which language is spoken by Joe Eszterhas ?
(Q220834,P1412,c(Q34770))
action filter_type
action find
entity Q220834
relation P1412
type Q34770
['Q220834', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q220834 property:P1412 ?u }
Joe Eszterhas
action filter_type
action find
entity Joe Eszterhas
relation languages spoken, written or signed
type language
['Joe Eszterhas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:Joe_Eszterhas property:languages_spoken,_written_or_signed ?u }
[]
language
Q1860
SYSTEM
English
Q1860
(Q220834,P1412,c(Q34770))
action filter_type
action find
entity Q220834
relation P1412
type Q34770
In [ANSWER] is spoken by Joe Eszterhas
['Q220834', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q220834 property:P1412 ?u }
English
In English is spoken by Joe Eszterhas
English
action filter_type
action find
entity Joe Eszterhas
relation languages spoken, written or signed
type language
['Joe Eszterhas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:Joe_Eszterhas property:languages_spoken,_written_or_signed ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220834
P58
Q838948
USER
Which works of art have that person as screenwriter ?
(c(Q838948),P58,Q1860)
action filter_type
action find_reverse
entity Q220834
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1860']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q220834 . ?f rdf:type ontology:Q838948 }
Joe Eszterhas
action filter_type
action find_reverse
entity Joe Eszterhas
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'English']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Joe_Eszterhas . ?f rdf:type ontology:work_of_art }
[]
work of art
Q369900 Q810012 Q611043
SYSTEM
An Alan Smithee Film: Burn Hollywood Burn, Basic Instinct 2, Flashdance
Q764760 Q2103576 Q4906337 Q2605140 Q611043 Q682289 Q2276038 Q532264 Q369900 Q967050 Q429965 Q889386 Q810012 Q1350128 Q1090811 Q581642 Q146673 Q1427849
(c(Q838948),P58,Q1860)
action filter_type
action find_reverse
entity Q220834
relation P58
type Q838948
[ANSWERS] have that person as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q1860']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q220834 . ?f rdf:type ontology:Q838948 }
Jagged Edge City of Joy Big Shots Checking Out Flashdance Nowhere to Run Telling Lies in America Showgirls An Alan Smithee Film: Burn Hollywood Burn F.I.S.T. Children of Glory Jade Basic Instinct 2 Betrayed Hearts of Fire Sliver Basic Instinct Music Box
An Alan Smithee Film: Burn Hollywood Burn, Basic Instinct 2 and Flashdance have that person as screenwriter
An Alan Smithee Film: Burn Hollywood Burn Basic Instinct 2 Flashdance
action filter_type
action find_reverse
entity Joe Eszterhas
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'English']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Joe_Eszterhas . ?f rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q95074
USER
How many fictional characters are from the works of that work of art ?
(c(Q95074),P1441,Q810012)
[{'concept': 'Q95074'}, 'P1441', 'Q810012']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q810012 . ?z rdf:type ontology:Q95074 }
[{'concept': 'fictional character'}, 'present in work', 'Basic Instinct 2']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Basic_Instinct_2 . ?z rdf:type ontology:fictional_character }
[]
fictional character
Quantitative|Count|Single entity type|Clarification
Q369900
SYSTEM
Did you mean An Alan Smithee Film: Burn Hollywood Burn ?
(c(Q95074),P1441,Q369900) (c(Q95074),P1441,Q810012) (c(Q95074),P1441,Q611043)
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q369900'] [{'concept': 'Q95074'}, 'P1441', 'Q810012'] [{'concept': 'Q95074'}, 'P1441', 'Q611043']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q810012 . ?z rdf:type ontology:Q95074 }
Did you mean An Alan Smithee Film: Burn Hollywood Burn ?
An Alan Smithee Film: Burn Hollywood Burn
[{'concept': 'fictional character'}, 'present in work', 'An Alan Smithee Film: Burn Hollywood Burn'] [{'concept': 'fictional character'}, 'present in work', 'Basic Instinct 2'] [{'concept': 'fictional character'}, 'present in work', 'Flashdance']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Basic_Instinct_2 . ?z rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Basic Instinct 2. Could you tell me the answer for that?
(c(Q95074),P1441,Q810012)
Q810012
[{'concept': 'Q95074'}, 'P1441', 'Q810012']
[{'concept': 'fictional character'}, 'present in work', 'Basic Instinct 2']
[]
SYSTEM
1
Q2742701
(c(Q95074),P1441,Q810012)
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q810012']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q810012 . ?z rdf:type ontology:Q95074 }
Catherine Tramell
1
[{'concept': 'fictional character'}, 'present in work', 'Basic Instinct 2']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:Basic_Instinct_2 . ?z rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q810012
P1441
Q95074
USER
Which fictional character is present in Basic Instinct 2 ?
(c(Q95074),P1441,Q810012)
action filter_type
action find_reverse
entity Q810012
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q810012']
SELECT DISTINCT ?j WHERE { ?j property:P1441 resource:Q810012 . ?j rdf:type ontology:Q95074 }
Basic Instinct 2
action filter_type
action find_reverse
entity Basic Instinct 2
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Basic Instinct 2']
SELECT DISTINCT ?j WHERE { ?j property:present_in_work resource:Basic_Instinct_2 . ?j rdf:type ontology:fictional_character }
[]
fictional character
Q2742701
SYSTEM
Catherine Tramell
Q2742701
(c(Q95074),P1441,Q810012)
action filter_type
action find_reverse
entity Q810012
relation P1441
type Q95074
[ANSWER] is present in Basic Instinct 2
[{'concept': 'Q95074'}, 'P1441', 'Q810012']
SELECT DISTINCT ?j WHERE { ?j property:P1441 resource:Q810012 . ?j rdf:type ontology:Q95074 }
Catherine Tramell
Catherine Tramell is present in Basic Instinct 2
Catherine Tramell
action filter_type
action find_reverse
entity Basic Instinct 2
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Basic Instinct 2']
SELECT DISTINCT ?j WHERE { ?j property:present_in_work resource:Basic_Instinct_2 . ?j rdf:type ontology:fictional_character }
[]