Simple Question (Direct)
Simple Question
Q2071424
P20
Q56061
USER
Which administrative territory is the place of death of Stevan Marković ?
(Q2071424,P20,c(Q56061))
action filter_type
action find
entity Q2071424
relation P20
type Q56061
['Q2071424', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2071424 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Stevan Marković
action filter_type
action find
entity Stevan Marković
relation place of death
type administrative territorial entity
['Stevan Marković', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stevan_Marković property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q2071424,P20,c(Q56061))
action filter_type
action find
entity Q2071424
relation P20
type Q56061
[ANSWER] is the place of death of Stevan Marković
['Q2071424', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2071424 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Vienna
Vienna is the place of death of Stevan Marković
Vienna
action filter_type
action find
entity Stevan Marković
relation place of death
type administrative territorial entity
['Stevan Marković', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stevan_Marković property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2071424
P734
Q82799
USER
Which name is associated with Stevan Marković ?
(Q2071424,P734,c(Q82799))
action filter_type
action find
entity Q2071424
relation P734
type Q82799
['Q2071424', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q2071424 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Stevan Marković
action filter_type
action find
entity Stevan Marković
relation family name
type name
['Stevan Marković', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Stevan_Marković property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q23535984
SYSTEM
Marković
Q23535984
(Q2071424,P734,c(Q82799))
action filter_type
action find
entity Q2071424
relation P734
type Q82799
S [ANSWER] is associated with Stevan [ANSWER]
['Q2071424', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q2071424 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Marković
S Marković is associated with Stevan Marković
Marković
action filter_type
action find
entity Stevan Marković
relation family name
type name
['Stevan Marković', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Stevan_Marković property:family_name ?t . ?t rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q23535984 Q317547
P734
Q502895
USER
Does Ante Marković have that name as surname ?
(Q317547,P734,Q23535984)
action is_in
entity Q23535984
action find
entity Q317547
relation P734
['Q317547', 'P734', 'Q23535984']
ASK WHERE { resource:Q317547 property:P734 resource:Q23535984 }
Marković Ante Marković
action is_in
entity Marković
action find
entity Ante Marković
relation family name
['Ante Marković', 'family name', 'Marković']
ASK WHERE { resource:Ante_Marković property:family_name resource:Marković }
[]
common name
SYSTEM
YES
(Q317547,P734,Q23535984)
action is_in
entity Q23535984
action find
entity Q317547
relation P734
[ANSWER]
['Q317547', 'P734', 'Q23535984']
ASK WHERE { resource:Q317547 property:P734 resource:Q23535984 }
Yes
action is_in
entity Marković
action find
entity Ante Marković
relation family name
['Ante Marković', 'family name', 'Marković']
ASK WHERE { resource:Ante_Marković property:family_name resource:Marković }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1741 Q4106432 Q4447196
P17
Q1048835
USER
Is Vienna located in Velyki Viknyny and Sukhodil ?
(Q1741,P17,Q4106432) (Q1741,P17,Q4447196)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q4106432
relation P17
action find_reverse
entity Q4447196
relation P17
['Q1741', 'P17', 'Q4106432'] ['Q1741', 'P17', 'Q4447196']
ASK WHERE { resource:Q1741 property:P17 resource:Q4106432 . resource:Q1741 property:P17 resource:Q4447196 }
Vienna Velyki Viknyny Sukhodil
action is_in
entity Vienna
action intersection
action find_reverse
entity Velyki Viknyny
relation country
action find_reverse
entity Sukhodil
relation country
['Vienna', 'country', 'Velyki Viknyny'] ['Vienna', 'country', 'Sukhodil']
ASK WHERE { resource:Vienna property:country resource:Velyki_Viknyny . resource:Vienna property:country resource:Sukhodil }
[]
political territorial entity
SYSTEM
NO
(Q1741,P17,Q4106432) (Q1741,P17,Q4447196)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q4106432
relation P17
action find_reverse
entity Q4447196
relation P17
[ANSWER]
['Q1741', 'P17', 'Q4106432'] ['Q1741', 'P17', 'Q4447196']
ASK WHERE { resource:Q1741 property:P17 resource:Q4106432 . resource:Q1741 property:P17 resource:Q4447196 }
No
action is_in
entity Vienna
action intersection
action find_reverse
entity Velyki Viknyny
relation country
action find_reverse
entity Sukhodil
relation country
['Vienna', 'country', 'Velyki Viknyny'] ['Vienna', 'country', 'Sukhodil']
ASK WHERE { resource:Vienna property:country resource:Velyki_Viknyny . resource:Vienna property:country resource:Sukhodil }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q26944932
P361
Q151885 Q9332 Q82799
USER
How many names are a component of greater number of concepts or behaviors than Apple ?
(c(Q82799),P361,c(Q151885)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q26944932
relation P361
type Q151885
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q151885 ) ( ontology:Q9332 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q26944932 property:P361 ?z . { VALUES ( ?i ) { ( ontology:Q151885 ) ( ontology:Q9332 ) } . ?z rdf:type ?i } } } . FILTER ( ?e > ?q ) }
Apple
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Apple
relation part of
type concept
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:concept ) ( ontology:behavior ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Apple property:part_of ?z . { VALUES ( ?i ) { ( ontology:concept ) ( ontology:behavior ) } . ?z rdf:type ?i } } } . FILTER ( ?e > ?q ) }
[]
concept behavior name
SYSTEM
4
Q1058384 Q382004 Q746990 Q876933
(c(Q82799),P361,c(Q151885)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q26944932
relation P361
type Q151885
type Q9332
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q151885 ) ( ontology:Q9332 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q26944932 property:P361 ?z . { VALUES ( ?i ) { ( ontology:Q151885 ) ( ontology:Q9332 ) } . ?z rdf:type ?i } } } . FILTER ( ?e > ?q ) }
hakham Afa-Negus Brahman magi
4
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Apple
relation part of
type concept
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:concept ) ( ontology:behavior ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Apple property:part_of ?z . { VALUES ( ?i ) { ( ontology:concept ) ( ontology:behavior ) } . ?z rdf:type ?i } } } . FILTER ( ?e > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q21487329
P361
Q151885 Q9332 Q82799
USER
And how about Hewitt?
(c(Q82799),P361,c(Q151885)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q21487329
relation P361
type Q151885
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:Q9332 ) ( ontology:Q151885 ) } . ?k rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q21487329 property:P361 ?z . { { ?z rdf:type ontology:Q151885 } UNION { ?z rdf:type ontology:Q9332 } } } } . FILTER ( ?w > ?f ) }
Hewitt
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Hewitt
relation part of
type concept
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:behavior ) ( ontology:concept ) } . ?k rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Hewitt property:part_of ?z . { { ?z rdf:type ontology:concept } UNION { ?z rdf:type ontology:behavior } } } } . FILTER ( ?w > ?f ) }
[]
concept behavior name
SYSTEM
4
Q1058384 Q382004 Q746990 Q876933
(c(Q82799),P361,c(Q151885)|c(Q9332))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q151885
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q21487329
relation P361
type Q151885
type Q9332
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:Q9332 ) ( ontology:Q151885 ) } . ?k rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q21487329 property:P361 ?z . { { ?z rdf:type ontology:Q151885 } UNION { ?z rdf:type ontology:Q9332 } } } } . FILTER ( ?w > ?f ) }
hakham Afa-Negus Brahman magi
4
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type concept
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Hewitt
relation part of
type concept
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'concept'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:behavior ) ( ontology:concept ) } . ?k rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Hewitt property:part_of ?z . { { ?z rdf:type ontology:concept } UNION { ?z rdf:type ontology:behavior } } } } . FILTER ( ?w > ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atleast 66 names composed in ?
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 66
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?m ) WHERE { ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 . ?r property:P407 ?h } GROUP BY ?h } . FILTER ( ?m >= 66 ) }
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 66
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?m ) WHERE { ?h rdf:type ontology:language . ?r rdf:type ontology:name . ?r property:language_of_work_or_name ?h } GROUP BY ?h } . FILTER ( ?m >= 66 ) }
[]
language name
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 66
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?m ) WHERE { ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 . ?r property:P407 ?h } GROUP BY ?h } . FILTER ( ?m >= 66 ) }
English Spanish
Which languages are atleast 66 names composed in
English Spanish
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 66
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?m ) WHERE { ?h rdf:type ontology:language . ?r rdf:type ontology:name . ?r property:language_of_work_or_name ?h } GROUP BY ?h } . FILTER ( ?m >= 66 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1860 Q1321
P37
Q7275
USER
Which states are those ones associated to as the official language ?
(c(Q7275),P37,Q1860) (c(Q7275),P37,Q1321)
action filter_type
action find_reverse
entity prev_answer
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', 'Q1860'] [{'concept': 'Q7275'}, 'P37', 'Q1321']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7275 . ?i property:P37 ?q . VALUES ( ?q ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
English Spanish
action filter_type
action find_reverse
entity prev_answer
relation official language
type state
[{'concept': 'state'}, 'official language', 'English'] [{'concept': 'state'}, 'official language', 'Spanish']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:state . ?i property:official_language ?q . VALUES ( ?q ) { ( resource:English ) ( resource:Spanish ) } }
[]
state
Q26273 Q25279 Q26988
SYSTEM
Sint Maarten, Curaçao, Cook Islands
Q551798 Q26273 Q2353425 Q26988 Q744042 Q6083755 Q1152445 Q19801186 Q1423680 Q1123960 Q25227 Q1083009 Q25279 Q1194329 Q1322229 Q1709185 Q1617495 Q953432 Q7251405
(c(Q7275),P37,Q1860) (c(Q7275),P37,Q1321)
action filter_type
action find_reverse
entity prev_answer
relation P37
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P37', 'Q1860'] [{'concept': 'Q7275'}, 'P37', 'Q1321']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7275 . ?i property:P37 ?q . VALUES ( ?q ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Grand Duchy of Flandrensis Sint Maarten Talossa Cook Islands Grand Duchy of Avram Islands of Refreshment Aerican Empire Liberland Gay and Lesbian Kingdom of the Coral Sea Islands Conch Republic Netherlands Antilles Principality of Wy Curaçao Nova Roma Enlightenment in Spain Kingdom of Spain under Joseph Bonaparte Kingdom of Jaén Couto Misto Protectorate of Peru
Sint Maarten Curaçao Cook Islands
action filter_type
action find_reverse
entity prev_answer
relation official language
type state
[{'concept': 'state'}, 'official language', 'English'] [{'concept': 'state'}, 'official language', 'Spanish']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:state . ?i property:official_language ?q . VALUES ( ?q ) { ( resource:English ) ( resource:Spanish ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25279
P19
Q502895
USER
Which people have birthplace at Curaçao ?
(c(Q502895),P19,Q25279)
action filter_type
action find_reverse
entity Q25279
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q25279']
SELECT DISTINCT ?g WHERE { ?g property:P19 resource:Q25279 . ?g rdf:type ontology:Q502895 }
Curaçao
action filter_type
action find_reverse
entity Curaçao
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Curaçao']
SELECT DISTINCT ?g WHERE { ?g property:place_of_birth resource:Curaçao . ?g rdf:type ontology:common_name }
[]
common name
Q552349 Q2478697 Q441860
SYSTEM
Jean-Julien Rojer, Abe Knoop, Daisy Dee
Q22958811 Q7914735 Q7982476 Q1876824 Q3426864 Q16031703 Q2265391 Q1307541 Q2270824 Q441860 Q6099310 Q1653071 Q931775 Q3735158 Q552349 Q20113662 Q1857738 Q13738591 Q2517152 Q7169395 Q2478697 Q13745866 Q2206091 Q15140296 Q2203822 Q1382147 Q3357770 Q6948379 Q21934659 Q18643608 Q2805147 Q2945732 Q1917231 Q19518303 Q2293165 Q2686529 Q2050831 Q3260676 Q522935 Q7383531 Q13137124 Q463428 Q2781375 Q20877004 Q2303304 Q4353593
(c(Q502895),P19,Q25279)
action filter_type
action find_reverse
entity Q25279
relation P19
type Q502895
[ANSWERS] have birthplace at Curaçao
[{'concept': 'Q502895'}, 'P19', 'Q25279']
SELECT DISTINCT ?g WHERE { ?g property:P19 resource:Q25279 . ?g rdf:type ontology:Q502895 }
Joceline Clemencia Vanessa van Arendonk Wendell Roche Walter Palm René Römer Jan Helenus Ferguson Luis Brión Reginald de Windt Eugènie Herlaar Daisy Dee Ivonne Witteveen Wim Statius Muller Daniel De Leon Evalina Van Putten Jean-Julien Rojer Sanne Landvreugd Myra Römer Joke Dierdorp Delfincio Navarro Pernell Saturnino Abe Knoop Kris Berry Philip Elhage Lucille George-Wout Patrick van der Eem Juancho Evertsz Otti Roethof Myrna Anselma José Jardim Marcel Gumbs Etienne Ys Frank Martinus Arion Marshall Godschalk Liandro Martis Bill Canword Orin de Waard Pappa Bear Louis-Julien Clarchies Dyanne Bito Rutsel Martha Milouska Meulens Izaline Calister Luis de Lannoy Jamie Burrows Raymond Heerenveen Albert Cristina
Jean-Julien Rojer, Abe Knoop and Daisy Dee have birthplace at Curaçao
Jean-Julien Rojer Abe Knoop Daisy Dee
action filter_type
action find_reverse
entity Curaçao
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Curaçao']
SELECT DISTINCT ?g WHERE { ?g property:place_of_birth resource:Curaçao . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q441860
P21
Q290
USER
Which sex does that person possess ?
(Q441860,P21,c(Q290))
action filter_type
action find
entity Q441860
relation P21
type Q290
['Q441860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q441860 property:P21 ?k . ?k rdf:type ontology:Q290 }
Daisy Dee
action filter_type
action find
entity Daisy Dee
relation gender
type sex
['Daisy Dee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Daisy_Dee property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q552349
SYSTEM
Did you mean Jean-Julien Rojer ?
Q552349 Q2478697 Q441860
(Q552349,P21,c(Q290)) (Q2478697,P21,c(Q290)) (Q441860,P21,c(Q290))
[ANSWER]
['Q552349', 'P21', {'concept': 'Q290'}] ['Q2478697', 'P21', {'concept': 'Q290'}] ['Q441860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q441860 property:P21 ?k . ?k rdf:type ontology:Q290 }
Jean-Julien Rojer Abe Knoop Daisy Dee
Did you mean Jean-Julien Rojer ?
Jean-Julien Rojer
['Jean-Julien Rojer', 'gender', {'concept': 'sex'}] ['Abe Knoop', 'gender', {'concept': 'sex'}] ['Daisy Dee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Daisy_Dee property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Daisy Dee. Could you tell me the answer for that?
(Q441860,P21,c(Q290))
Q441860
['Q441860', 'P21', {'concept': 'Q290'}]
['Daisy Dee', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q441860,P21,c(Q290))
action filter_type
action find
entity Q441860
relation P21
type Q290
That person possesses the [ANSWER]
['Q441860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q441860 property:P21 ?k . ?k rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Daisy Dee
relation gender
type sex
['Daisy Dee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Daisy_Dee property:gender ?k . ?k rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q460998 Q28640
USER
How many characters in Romeo and Juliet or professions have the gender as that sex ?
(c(Q460998),P21,Q6581072) (c(Q28640),P21,Q6581072) (c(Q460998),P21,Q6581072) (c(Q28640),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q460998
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q28640
[{'concept': 'Q460998'}, 'P21', 'Q6581072'] [{'concept': 'Q28640'}, 'P21', 'Q6581072'] [{'concept': 'Q460998'}, 'P21', 'Q6581072'] [{'concept': 'Q28640'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q28640 } UNION { ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q460998 } }
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type character in Romeo and Juliet
action filter_type
action find_reverse
entity female
relation gender
type profession
[{'concept': 'character in Romeo and Juliet'}, 'gender', 'female'] [{'concept': 'profession'}, 'gender', 'female'] [{'concept': 'character in Romeo and Juliet'}, 'gender', 'female'] [{'concept': 'profession'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:gender resource:female . ?a rdf:type ontology:profession } UNION { ?a property:gender resource:female . ?a rdf:type ontology:character_in_Romeo_and_Juliet } }
[]
character in Romeo and Juliet profession
SYSTEM
6
Q16002450 Q2839173 Q867132 Q1092632 Q188761 Q7070187
(c(Q460998),P21,Q6581072) (c(Q28640),P21,Q6581072) (c(Q460998),P21,Q6581072) (c(Q28640),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q460998
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q28640
[ANSWER]
[{'concept': 'Q460998'}, 'P21', 'Q6581072'] [{'concept': 'Q28640'}, 'P21', 'Q6581072'] [{'concept': 'Q460998'}, 'P21', 'Q6581072'] [{'concept': 'Q28640'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q28640 } UNION { ?a property:P21 resource:Q6581072 . ?a rdf:type ontology:Q460998 } }
alewife almeh diva Juliet Vestal Virgin Nurse
6
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type character in Romeo and Juliet
action filter_type
action find_reverse
entity female
relation gender
type profession
[{'concept': 'character in Romeo and Juliet'}, 'gender', 'female'] [{'concept': 'profession'}, 'gender', 'female'] [{'concept': 'character in Romeo and Juliet'}, 'gender', 'female'] [{'concept': 'profession'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:gender resource:female . ?a rdf:type ontology:profession } UNION { ?a property:gender resource:female . ?a rdf:type ontology:character_in_Romeo_and_Juliet } }
[]