Simple Question (Direct)
Simple Question
Q3570220
P7
Q502895
USER
Who are the brother of Wyndham Standing ?
(Q3570220,P7,c(Q502895))
action filter_type
action find
entity Q3570220
relation P7
type Q502895
['Q3570220', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3570220 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Wyndham Standing
action filter_type
action find
entity Wyndham Standing
relation brother
type common name
['Wyndham Standing', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Wyndham_Standing property:brother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q7167589 Q6115317 Q3122155
SYSTEM
Percy Standing, Jack Standing, Guy Standing
Q7167589 Q6115317 Q3122155
(Q3570220,P7,c(Q502895))
action filter_type
action find
entity Q3570220
relation P7
type Q502895
The brother of Wyndham Standing are the [ANSWERS]
['Q3570220', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3570220 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Percy Standing Jack Standing Guy Standing
The brother of Wyndham Standing are the Percy Standing, Jack Standing and Guy Standing
Percy Standing Jack Standing Guy Standing
action filter_type
action find
entity Wyndham Standing
relation brother
type common name
['Wyndham Standing', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Wyndham_Standing property:brother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7167589 Q6115317 Q3122155
P7
Q502895
USER
Who have Percy Standing, Jack Standing and Guy Standing as their sibling ?
(Q7167589,P7,c(Q502895)) (Q6115317,P7,c(Q502895)) (Q3122155,P7,c(Q502895))
action union
action filter_type
action find
entity Q7167589
relation P7
type Q502895
action filter_type
action find
entity Q6115317
relation P7
type Q502895
action filter_type
action find
entity Q3122155
relation P7
type Q502895
['Q7167589', 'P7', {'concept': 'Q502895'}] ['Q6115317', 'P7', {'concept': 'Q502895'}] ['Q3122155', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { resource:Q7167589 property:P7 ?l . ?l rdf:type ontology:Q502895 } UNION { resource:Q6115317 property:P7 ?l . ?l rdf:type ontology:Q502895 } }
Percy Standing Jack Standing Guy Standing
action union
action filter_type
action find
entity Percy Standing
relation brother
type common name
action filter_type
action find
entity Jack Standing
relation brother
type common name
action filter_type
action find
entity Guy Standing
relation brother
type common name
['Percy Standing', 'brother', {'concept': 'common name'}] ['Jack Standing', 'brother', {'concept': 'common name'}] ['Guy Standing', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { resource:Percy_Standing property:brother ?l . ?l rdf:type ontology:common_name } UNION { resource:Jack_Standing property:brother ?l . ?l rdf:type ontology:common_name } }
[]
common name
Q3122155 Q3122155 Q6115317
SYSTEM
Jack Standing for 3rd, Guy Standing for 1st, 2nd
Q3570220 Q6115317 Q3122155 Q7167589 Q3570220 Q3122155 Q7167589 Q6115317 Q3570220
(Q7167589,P7,c(Q502895)) (Q6115317,P7,c(Q502895)) (Q3122155,P7,c(Q502895))
action union
action filter_type
action find
entity Q7167589
relation P7
type Q502895
action filter_type
action find
entity Q6115317
relation P7
type Q502895
action filter_type
action find
entity Q3122155
relation P7
type Q502895
[ANSWERS]
['Q7167589', 'P7', {'concept': 'Q502895'}] ['Q6115317', 'P7', {'concept': 'Q502895'}] ['Q3122155', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { resource:Q7167589 property:P7 ?l . ?l rdf:type ontology:Q502895 } UNION { resource:Q6115317 property:P7 ?l . ?l rdf:type ontology:Q502895 } }
Wyndham Standing Jack Standing Guy Standing Percy Standing Wyndham Standing Guy Standing Percy Standing Jack Standing Wyndham Standing
Guy Standing, Guy Standing and Jack Standing have Percy Standing, Jack Standing and Guy Standing as their sibling
Guy Standing Guy Standing Jack Standing
action union
action filter_type
action find
entity Percy Standing
relation brother
type common name
action filter_type
action find
entity Jack Standing
relation brother
type common name
action filter_type
action find
entity Guy Standing
relation brother
type common name
['Percy Standing', 'brother', {'concept': 'common name'}] ['Jack Standing', 'brother', {'concept': 'common name'}] ['Guy Standing', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { resource:Percy_Standing property:brother ?l . ?l rdf:type ontology:common_name } UNION { resource:Jack_Standing property:brother ?l . ?l rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3122155
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q3122155)
action filter_type
action find
entity Q3122155
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3122155']
SELECT DISTINCT ?w WHERE { resource:Q3122155 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Guy Standing
action filter_type
action find
entity Guy Standing
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Guy Standing']
SELECT DISTINCT ?w WHERE { resource:Guy_Standing property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6115317
SYSTEM
Did you mean Jack Standing ?
Q3122155 Q3122155 Q6115317
(c(Q502895),P26,Q3122155) (c(Q502895),P26,Q3122155) (c(Q502895),P26,Q6115317)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q3122155'] [{'concept': 'Q502895'}, 'P26', 'Q3122155'] [{'concept': 'Q502895'}, 'P26', 'Q6115317']
SELECT DISTINCT ?w WHERE { resource:Q3122155 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Guy Standing Guy Standing Jack Standing
Did you mean Jack Standing ?
Jack Standing
[{'concept': 'common name'}, 'spouse', 'Guy Standing'] [{'concept': 'common name'}, 'spouse', 'Guy Standing'] [{'concept': 'common name'}, 'spouse', 'Jack Standing']
SELECT DISTINCT ?w WHERE { resource:Guy_Standing property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Guy Standing. Could you tell me the answer for that?
(c(Q502895),P26,Q3122155)
Q3122155
[{'concept': 'Q502895'}, 'P26', 'Q3122155']
[{'concept': 'common name'}, 'spouse', 'Guy Standing']
[]
Q6078283
SYSTEM
Isabelle Urquhart
Q6078283
(c(Q502895),P26,Q3122155)
action filter_type
action find
entity Q3122155
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q3122155']
SELECT DISTINCT ?w WHERE { resource:Q3122155 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Isabelle Urquhart
Isabelle Urquhart is married to that one
Isabelle Urquhart
action filter_type
action find
entity Guy Standing
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Guy Standing']
SELECT DISTINCT ?w WHERE { resource:Guy_Standing property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did exactly 9 people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 9
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?r property:P725 ?w . ?w rdf:type ontology:Q502895 . ?r rdf:type ontology:Q11424 } GROUP BY ?r } . FILTER ( ?l = 9 ) }
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 9
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?r property:voice_actor ?w . ?w rdf:type ontology:common_name . ?r rdf:type ontology:film } GROUP BY ?r } . FILTER ( ?l = 9 ) }
[]
common name film
Q12084660
SYSTEM
The Princess and the Goblin
Q12084660
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 9
Exactly 9 people did the dubbing for film [ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?r property:P725 ?w . ?w rdf:type ontology:Q502895 . ?r rdf:type ontology:Q11424 } GROUP BY ?r } . FILTER ( ?l = 9 ) }
The Princess and the Goblin
Exactly 9 people did the dubbing for film The Princess and the Goblin
The Princess and the Goblin
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 9
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?r property:voice_actor ?w . ?w rdf:type ontology:common_name . ?r rdf:type ontology:film } GROUP BY ?r } . FILTER ( ?l = 9 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q811430 Q502895
USER
Which people commissioned around 1 constructions and people ?
(c(Q811430)|c(Q502895),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action find_reverse_tuple_counts
relation P88
type Q502895
type Q502895
value 1
[[{'concept': 'Q811430'}, {'concept': 'Q502895'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811430 ) ( ontology:Q502895 ) } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action find_reverse_tuple_counts
relation commissioned by
type common name
type common name
value 1
[[{'concept': 'construction'}, {'concept': 'common name'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:construction ) ( ontology:common_name ) } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
[]
common name construction common name
Q937 Q8474 Q48547
SYSTEM
Albert Einstein, Suleiman the Magnificent, Cosimo I de' Medici, Grand Duke of Tuscany
Q312637 Q48547 Q937 Q95946 Q129857 Q737533 Q8474 Q111354
(c(Q811430)|c(Q502895),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action find_reverse_tuple_counts
relation P88
type Q502895
type Q502895
value 1
[ANSWERS]
[[{'concept': 'Q811430'}, {'concept': 'Q502895'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811430 ) ( ontology:Q502895 ) } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
Curzio Malaparte Cosimo I de' Medici, Grand Duke of Tuscany Albert Einstein Ferdinand Mülhens Francis I of France Louis XIII of France Suleiman the Magnificent August Julius Albert Borsig
Albert Einstein, Suleiman the Magnificent and Cosimo I de' Medici, Grand Duke of Tuscany commissioned around 1 constructions and people
Albert Einstein Suleiman the Magnificent Cosimo I de' Medici, Grand Duke of Tuscany
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action find_reverse_tuple_counts
relation commissioned by
type common name
type common name
value 1
[[{'concept': 'construction'}, {'concept': 'common name'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:construction ) ( ontology:common_name ) } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310511
P69
Q163740
USER
Where was Armand Assante educated ?
(Q310511,P69,c(Q163740))
action filter_type
action find
entity Q310511
relation P69
type Q163740
['Q310511', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q163740 . resource:Q310511 property:P69 ?r }
Armand Assante
action filter_type
action find
entity Armand Assante
relation educated at
type nonprofit organization
['Armand Assante', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nonprofit_organization . resource:Armand_Assante property:educated_at ?r }
[]
nonprofit organization
Q389336
SYSTEM
American Academy of Dramatic Arts
Q389336
(Q310511,P69,c(Q163740))
action filter_type
action find
entity Q310511
relation P69
type Q163740
Armand Assante was educated by [ANSWER]
['Q310511', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q163740 . resource:Q310511 property:P69 ?r }
American Academy of Dramatic Arts
Armand Assante was educated by American Academy of Dramatic Arts
American Academy of Dramatic Arts
action filter_type
action find
entity Armand Assante
relation educated at
type nonprofit organization
['Armand Assante', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nonprofit_organization . resource:Armand_Assante property:educated_at ?r }
[]