Simple Question (Direct)
Simple Question
Q259961
P69
Q1055028
USER
Which college of the University of Cambridge is Tim Yeo an alumni of ?
(Q259961,P69,c(Q1055028))
action filter_type
action find
entity Q259961
relation P69
type Q1055028
['Q259961', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?i WHERE { resource:Q259961 property:P69 ?i . ?i rdf:type ontology:Q1055028 }
Tim Yeo
action filter_type
action find
entity Tim Yeo
relation educated at
type college of the University of Cambridge
['Tim Yeo', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?i WHERE { resource:Tim_Yeo property:educated_at ?i . ?i rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q797892
SYSTEM
Emmanuel College
Q797892
(Q259961,P69,c(Q1055028))
action filter_type
action find
entity Q259961
relation P69
type Q1055028
[ANSWER] is Tim Yeo an alumni of
['Q259961', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?i WHERE { resource:Q259961 property:P69 ?i . ?i rdf:type ontology:Q1055028 }
Emmanuel College
Emmanuel College is Tim Yeo an alumni of
Emmanuel College
action filter_type
action find
entity Tim Yeo
relation educated at
type college of the University of Cambridge
['Tim Yeo', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?i WHERE { resource:Tim_Yeo property:educated_at ?i . ?i rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q797892
P669
Q34442
USER
Where can that college of the University of Cambridge be located ?
(Q797892,P669,c(Q34442))
action filter_type
action find
entity Q797892
relation P669
type Q34442
['Q797892', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?q WHERE { resource:Q797892 property:P669 ?q . ?q rdf:type ontology:Q34442 }
Emmanuel College
action filter_type
action find
entity Emmanuel College
relation located on street
type road
['Emmanuel College', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?q WHERE { resource:Emmanuel_College property:located_on_street ?q . ?q rdf:type ontology:road }
[]
road
Q7592407
SYSTEM
St Andrew's Street
Q7592407
(Q797892,P669,c(Q34442))
action filter_type
action find
entity Q797892
relation P669
type Q34442
That college of the University of Cambridge can be located at [ANSWER]
['Q797892', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?q WHERE { resource:Q797892 property:P669 ?q . ?q rdf:type ontology:Q34442 }
St Andrew's Street
That college of the University of Cambridge can be located at St Andrew's Street
St Andrew's Street
action filter_type
action find
entity Emmanuel College
relation located on street
type road
['Emmanuel College', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?q WHERE { resource:Emmanuel_College property:located_on_street ?q . ?q rdf:type ontology:road }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q17514442
P669
Q34442 Q18783400
USER
How many genres of sculpture are located on more number of roads than Statue of Captain James Cook ?
(c(Q18783400),P669,c(Q34442))
action count
action greater
action find_tuple_counts
relation P669
type Q18783400
type Q34442
action count
action filter_type
action find
entity Q17514442
relation P669
type Q18783400
[{'concept': 'Q18783400'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:P669 ?j . ?x rdf:type ontology:Q18783400 . ?j rdf:type ontology:Q34442 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q17514442 property:P669 ?y . ?y rdf:type ontology:Q18783400 } } . FILTER ( ?o > ?p ) }
Statue of Captain James Cook
action count
action greater
action find_tuple_counts
relation located on street
type genre of sculpture
type road
action count
action filter_type
action find
entity Statue of Captain James Cook
relation located on street
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:located_on_street ?j . ?x rdf:type ontology:genre_of_sculpture . ?j rdf:type ontology:road } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Statue_of_Captain_James_Cook property:located_on_street ?y . ?y rdf:type ontology:genre_of_sculpture } } . FILTER ( ?o > ?p ) }
[]
road genre of sculpture
SYSTEM
3
Q27105728 Q17255225 Q20987041
(c(Q18783400),P669,c(Q34442))
action count
action greater
action find_tuple_counts
relation P669
type Q18783400
type Q34442
action count
action filter_type
action find
entity Q17514442
relation P669
type Q18783400
[ANSWER]
[{'concept': 'Q18783400'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:P669 ?j . ?x rdf:type ontology:Q18783400 . ?j rdf:type ontology:Q34442 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q17514442 property:P669 ?y . ?y rdf:type ontology:Q18783400 } } . FILTER ( ?o > ?p ) }
Tras Julia Statue of Laurens Jansz Coster Statue of Josef Mánes by Bohumil Kafka
3
action count
action greater
action find_tuple_counts
relation located on street
type genre of sculpture
type road
action count
action filter_type
action find
entity Statue of Captain James Cook
relation located on street
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:located_on_street ?j . ?x rdf:type ontology:genre_of_sculpture . ?j rdf:type ontology:road } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Statue_of_Captain_James_Cook property:located_on_street ?y . ?y rdf:type ontology:genre_of_sculpture } } . FILTER ( ?o > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q27081883
P669
Q34442 Q18783400
USER
And what about Statue of John Cartwright?
(c(Q18783400),P669,c(Q34442))
action count
action greater
action find_tuple_counts
relation P669
type Q18783400
type Q34442
action count
action filter_type
action find
entity Q27081883
relation P669
type Q18783400
[{'concept': 'Q18783400'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z property:P669 ?q . ?z rdf:type ontology:Q18783400 . ?q rdf:type ontology:Q34442 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q18783400 . resource:Q27081883 property:P669 ?o } } . FILTER ( ?h > ?b ) }
Statue of John Cartwright
action count
action greater
action find_tuple_counts
relation located on street
type genre of sculpture
type road
action count
action filter_type
action find
entity Statue of John Cartwright
relation located on street
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z property:located_on_street ?q . ?z rdf:type ontology:genre_of_sculpture . ?q rdf:type ontology:road } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:genre_of_sculpture . resource:Statue_of_John_Cartwright property:located_on_street ?o } } . FILTER ( ?h > ?b ) }
[]
road genre of sculpture
SYSTEM
3
Q27105728 Q17255225 Q20987041
(c(Q18783400),P669,c(Q34442))
action count
action greater
action find_tuple_counts
relation P669
type Q18783400
type Q34442
action count
action filter_type
action find
entity Q27081883
relation P669
type Q18783400
[ANSWER]
[{'concept': 'Q18783400'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z property:P669 ?q . ?z rdf:type ontology:Q18783400 . ?q rdf:type ontology:Q34442 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q18783400 . resource:Q27081883 property:P669 ?o } } . FILTER ( ?h > ?b ) }
Tras Julia Statue of Laurens Jansz Coster Statue of Josef Mánes by Bohumil Kafka
3
action count
action greater
action find_tuple_counts
relation located on street
type genre of sculpture
type road
action count
action filter_type
action find
entity Statue of John Cartwright
relation located on street
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?h ) WHERE { ?z property:located_on_street ?q . ?z rdf:type ontology:genre_of_sculpture . ?q rdf:type ontology:road } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:genre_of_sculpture . resource:Statue_of_John_Cartwright property:located_on_street ?o } } . FILTER ( ?h > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q53354 Q259961
P190 P937
Q56061
USER
Which administrative territories are the locations where Tim Yeo worked or are twin towns of San Daniele del Friuli ?
OR((Q259961,P937,c(Q56061)), (Q53354,P190,c(Q56061)))
action filter_type
action union
action find
entity Q259961
relation P937
action find
entity Q53354
relation P190
type Q56061
{'OR': [['Q259961', 'P937', {'concept': 'Q56061'}], ['Q53354', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q259961 property:P937 ?n } UNION { resource:Q53354 property:P190 ?n } } . ?n rdf:type ontology:Q56061 }
San Daniele del Friuli Tim Yeo
action filter_type
action union
action find
entity Tim Yeo
relation work location
action find
entity San Daniele del Friuli
relation sister city
type administrative territorial entity
{'OR': [['Tim Yeo', 'work location', {'concept': 'administrative territorial entity'}], ['San Daniele del Friuli', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Tim_Yeo property:work_location ?n } UNION { resource:San_Daniele_del_Friuli property:sister_city ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q502865 Q84
SYSTEM
Hersbruck, London
Q502865 Q84
OR((Q259961,P937,c(Q56061)), (Q53354,P190,c(Q56061)))
action filter_type
action union
action find
entity Q259961
relation P937
action find
entity Q53354
relation P190
type Q56061
[ANSWERS] are the locations where Tim Yeo worked or are twin towns of San Daniele del Friuli
{'OR': [['Q259961', 'P937', {'concept': 'Q56061'}], ['Q53354', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q259961 property:P937 ?n } UNION { resource:Q53354 property:P190 ?n } } . ?n rdf:type ontology:Q56061 }
Hersbruck London
Hersbruck and London are the locations where Tim Yeo worked or are twin towns of San Daniele del Friuli
Hersbruck London
action filter_type
action union
action find
entity Tim Yeo
relation work location
action find
entity San Daniele del Friuli
relation sister city
type administrative territorial entity
{'OR': [['Tim Yeo', 'work location', {'concept': 'administrative territorial entity'}], ['San Daniele del Friuli', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Tim_Yeo property:work_location ?n } UNION { resource:San_Daniele_del_Friuli property:sister_city ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q502865 Q84
P190
Q56061
USER
Which administrative territories are twin cities of those ones ?
(Q502865,P190,c(Q56061)) (Q84,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q502865', 'P190', {'concept': 'Q56061'}] ['Q84', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?g property:P190 ?t . VALUES ( ?g ) { ( resource:Q502865 ) ( resource:Q84 ) } . ?t rdf:type ontology:Q56061 }
Hersbruck London
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Hersbruck', 'sister city', {'concept': 'administrative territorial entity'}] ['London', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?g property:sister_city ?t . VALUES ( ?g ) { ( resource:Hersbruck ) ( resource:London ) } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q8686 Q64
SYSTEM
Moscow, Shanghai, Berlin
Q1012013 Q8686 Q1353 Q34820 Q649 Q472 Q9248 Q987 Q1156 Q3630 Q466221 Q3561 Q64 Q23564 Q1850 Q585 Q406 Q34647 Q956 Q159273 Q1490 Q65 Q60
(Q502865,P190,c(Q56061)) (Q84,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are twin cities of those ones
['Q502865', 'P190', {'concept': 'Q56061'}] ['Q84', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?g property:P190 ?t . VALUES ( ?g ) { ( resource:Q502865 ) ( resource:Q84 ) } . ?t rdf:type ontology:Q56061 }
Lossiemouth Shanghai Delhi Santo Domingo Moscow Sofia Baku New Delhi Mumbai Jakarta Sylhet Algiers Berlin Podgorica Phnom Penh Oslo Istanbul Johannesburg Beijing Arequipa Tokyo Los Angeles New York City
Moscow, Shanghai and Berlin are twin cities of those ones
Moscow Shanghai Berlin
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Hersbruck', 'sister city', {'concept': 'administrative territorial entity'}] ['London', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?g property:sister_city ?t . VALUES ( ?g ) { ( resource:Hersbruck ) ( resource:London ) } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q8686 Q64
P6
Q502895
USER
Which people do Moscow, Shanghai and Berlin serve as the head of government for ?
(Q649,P6,c(Q502895)) (Q8686,P6,c(Q502895)) (Q64,P6,c(Q502895))
action union
action filter_type
action find
entity Q649
relation P6
type Q502895
action filter_type
action find
entity Q8686
relation P6
type Q502895
action filter_type
action find
entity Q64
relation P6
type Q502895
['Q649', 'P6', {'concept': 'Q502895'}] ['Q8686', 'P6', {'concept': 'Q502895'}] ['Q64', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { resource:Q649 property:P6 ?l . ?l rdf:type ontology:Q502895 } UNION { resource:Q8686 property:P6 ?l . ?l rdf:type ontology:Q502895 } }
Moscow Shanghai Berlin
action union
action filter_type
action find
entity Moscow
relation head of government
type common name
action filter_type
action find
entity Shanghai
relation head of government
type common name
action filter_type
action find
entity Berlin
relation head of government
type common name
['Moscow', 'head of government', {'concept': 'common name'}] ['Shanghai', 'head of government', {'concept': 'common name'}] ['Berlin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { resource:Moscow property:head_of_government ?l . ?l rdf:type ontology:common_name } UNION { resource:Shanghai property:head_of_government ?l . ?l rdf:type ontology:common_name } }
[]
common name
Q2567 Q2514 Q156379
SYSTEM
Richard von Weizsäcker, Willy Brandt, Yury Luzhkov
Q156379 Q319497 Q735373 Q2117887 Q705862 Q8863 Q552483 Q61085 Q2514 Q102844 Q650878 Q2567 Q96399 Q68748 Q60957 Q215756 Q69232 Q213561
(Q649,P6,c(Q502895)) (Q8686,P6,c(Q502895)) (Q64,P6,c(Q502895))
action union
action filter_type
action find
entity Q649
relation P6
type Q502895
action filter_type
action find
entity Q8686
relation P6
type Q502895
action filter_type
action find
entity Q64
relation P6
type Q502895
Moscow , Shanghai and Berlin serve as the head of government for President [ANSWERS]
['Q649', 'P6', {'concept': 'Q502895'}] ['Q8686', 'P6', {'concept': 'Q502895'}] ['Q64', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { resource:Q649 property:P6 ?l . ?l rdf:type ontology:Q502895 } UNION { resource:Q8686 property:P6 ?l . ?l rdf:type ontology:Q502895 } }
Yury Luzhkov Sergey Sobyanin Gavriil Kharitonovich Popov Yang Xiong Heinrich Albertz Klaus Wowereit Hans-Jochen Vogel Walter Momper Willy Brandt Michael Müller Otto Suhr Richard von Weizsäcker Franz Amrehn Dietrich Stobbe Eberhard Diepgen Klaus Schütz Walther Schreiber Ernst Reuter
Moscow , Shanghai and Berlin serve as the head of government for President Richard von Weizsäcker, Willy Brandt and Yury Luzhkov
Richard von Weizsäcker Willy Brandt Yury Luzhkov
action union
action filter_type
action find
entity Moscow
relation head of government
type common name
action filter_type
action find
entity Shanghai
relation head of government
type common name
action filter_type
action find
entity Berlin
relation head of government
type common name
['Moscow', 'head of government', {'concept': 'common name'}] ['Shanghai', 'head of government', {'concept': 'common name'}] ['Berlin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { resource:Moscow property:head_of_government ?l . ?l rdf:type ontology:common_name } UNION { resource:Shanghai property:head_of_government ?l . ?l rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2567 Q2514 Q156379
P26
Q502895
USER
Which people are married to those ones ?
(Q2567,P26,c(Q502895)) (Q2514,P26,c(Q502895)) (Q156379,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q2567', 'P26', {'concept': 'Q502895'}] ['Q2514', 'P26', {'concept': 'Q502895'}] ['Q156379', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?d property:P26 ?q . VALUES ( ?d ) { ( resource:Q156379 ) ( resource:Q319497 ) ( resource:Q735373 ) } . ?q rdf:type ontology:Q502895 }
Richard von Weizsäcker Willy Brandt Yury Luzhkov
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Richard von Weizsäcker', 'spouse', {'concept': 'common name'}] ['Willy Brandt', 'spouse', {'concept': 'common name'}] ['Yury Luzhkov', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?d property:spouse ?q . VALUES ( ?d ) { ( resource:Yury_Luzhkov ) ( resource:Sergey_Sobyanin ) ( resource:Gavriil_Kharitonovich_Popov ) } . ?q rdf:type ontology:common_name }
[]
common name
Q916675 Q462355 Q77960
SYSTEM
Brigitte Seebacher, Rut Brandt, Marianne von Weizsäcker
Q77960 Q14650503 Q462355 Q916675 Q466610
(Q2567,P26,c(Q502895)) (Q2514,P26,c(Q502895)) (Q156379,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
['Q2567', 'P26', {'concept': 'Q502895'}] ['Q2514', 'P26', {'concept': 'Q502895'}] ['Q156379', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?d property:P26 ?q . VALUES ( ?d ) { ( resource:Q156379 ) ( resource:Q319497 ) ( resource:Q735373 ) } . ?q rdf:type ontology:Q502895 }
Marianne von Weizsäcker Anna Carlotta Thorkildsen Rut Brandt Brigitte Seebacher Yelena Baturina
Brigitte Seebacher, Rut Brandt and Marianne von Weizsäcker are married to those ones
Brigitte Seebacher Rut Brandt Marianne von Weizsäcker
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Richard von Weizsäcker', 'spouse', {'concept': 'common name'}] ['Willy Brandt', 'spouse', {'concept': 'common name'}] ['Yury Luzhkov', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?d property:spouse ?q . VALUES ( ?d ) { ( resource:Yury_Luzhkov ) ( resource:Sergey_Sobyanin ) ( resource:Gavriil_Kharitonovich_Popov ) } . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q916675 Q462355 Q77960
P26
Q502895
USER
Which people are the life partner of those ones ?
(c(Q502895),P26,Q916675) (c(Q502895),P26,Q462355) (c(Q502895),P26,Q77960)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q916675'] [{'concept': 'Q502895'}, 'P26', 'Q462355'] [{'concept': 'Q502895'}, 'P26', 'Q77960']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Q77960 ) ( resource:Q14650503 ) ( resource:Q462355 ) } . ?u rdf:type ontology:Q502895 . ?l property:P26 ?u }
Brigitte Seebacher Rut Brandt Marianne von Weizsäcker
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Brigitte Seebacher'] [{'concept': 'common name'}, 'spouse', 'Rut Brandt'] [{'concept': 'common name'}, 'spouse', 'Marianne von Weizsäcker']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Marianne_von_Weizsäcker ) ( resource:Anna_Carlotta_Thorkildsen ) ( resource:Rut_Brandt ) } . ?u rdf:type ontology:common_name . ?l property:spouse ?u }
[]
common name
Q2567 Q2514 Q2514
SYSTEM
Willy Brandt for 2nd, 3rd, Richard von Weizsäcker for 1st
Q112286 Q2514 Q2514 Q2567
(c(Q502895),P26,Q916675) (c(Q502895),P26,Q462355) (c(Q502895),P26,Q77960)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q916675'] [{'concept': 'Q502895'}, 'P26', 'Q462355'] [{'concept': 'Q502895'}, 'P26', 'Q77960']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Q77960 ) ( resource:Q14650503 ) ( resource:Q462355 ) } . ?u rdf:type ontology:Q502895 . ?l property:P26 ?u }
Hilmar Kopper Willy Brandt Willy Brandt Richard von Weizsäcker
Richard von Weizsäcker, Willy Brandt and Willy Brandt are the life partner of those ones
Richard von Weizsäcker Willy Brandt Willy Brandt
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Brigitte Seebacher'] [{'concept': 'common name'}, 'spouse', 'Rut Brandt'] [{'concept': 'common name'}, 'spouse', 'Marianne von Weizsäcker']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Marianne_von_Weizsäcker ) ( resource:Anna_Carlotta_Thorkildsen ) ( resource:Rut_Brandt ) } . ?u rdf:type ontology:common_name . ?l property:spouse ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2514
P1344
Q1499496
USER
Which German presidential election did Willy Brandt participate in ?
(Q2514,P1344,c(Q1499496))
action filter_type
action find
entity Q2514
relation P1344
type Q1499496
['Q2514', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1499496 . resource:Q2514 property:P1344 ?l }
Willy Brandt
action filter_type
action find
entity Willy Brandt
relation participant of
type German presidential election
['Willy Brandt', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:German_presidential_election . resource:Willy_Brandt property:participant_of ?l }
[]
German presidential election
Q314561
SYSTEM
German presidential election, 1949
Q314561
(Q2514,P1344,c(Q1499496))
action filter_type
action find
entity Q2514
relation P1344
type Q1499496
Willy Brandt participated in [ANSWER]
['Q2514', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1499496 . resource:Q2514 property:P1344 ?l }
German presidential election, 1949
Willy Brandt participated in German presidential election, 1949
German presidential election, 1949
action filter_type
action find
entity Willy Brandt
relation participant of
type German presidential election
['Willy Brandt', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:German_presidential_election . resource:Willy_Brandt property:participant_of ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P608
Q80071
USER
Which symbol was exhibited at Moscow ?
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?p WHERE { ?p property:P608 resource:Q649 . ?p rdf:type ontology:Q80071 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?p WHERE { ?p property:exhibition_history resource:Moscow . ?p rdf:type ontology:symbol }
[]
symbol
Q2635667
SYSTEM
Cross of Saint Euphrosyne
Q2635667
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[ANSWER] was exhibited at Moscow
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?p WHERE { ?p property:P608 resource:Q649 . ?p rdf:type ontology:Q80071 }
Cross of Saint Euphrosyne
Cross of Saint Euphrosyne was exhibited at Moscow
Cross of Saint Euphrosyne
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?p WHERE { ?p property:exhibition_history resource:Moscow . ?p rdf:type ontology:symbol }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2635667
P800
Q502895
USER
Who is author of that symbol ?
(c(Q502895),P800,Q2635667)
action filter_type
action find_reverse
entity Q2635667
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2635667']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q2635667 . ?c rdf:type ontology:Q502895 }
Cross of Saint Euphrosyne
action filter_type
action find_reverse
entity Cross of Saint Euphrosyne
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Cross of Saint Euphrosyne']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Cross_of_Saint_Euphrosyne . ?c rdf:type ontology:common_name }
[]
common name
Q2073547
SYSTEM
Lazar Bohsha
Q2073547
(c(Q502895),P800,Q2635667)
action filter_type
action find_reverse
entity Q2635667
relation P800
type Q502895
[ANSWER] is author of that symbol
[{'concept': 'Q502895'}, 'P800', 'Q2635667']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q2635667 . ?c rdf:type ontology:Q502895 }
Lazar Bohsha
Lazar Bohsha is author of that symbol
Lazar Bohsha
action filter_type
action find_reverse
entity Cross of Saint Euphrosyne
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Cross of Saint Euphrosyne']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Cross_of_Saint_Euphrosyne . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2073547 Q211423
P106
Q12737077
USER
Is goldsmith the profession of Lazar Bohsha ?
(Q2073547,P106,Q211423)
action is_in
entity Q211423
action find
entity Q2073547
relation P106
['Q2073547', 'P106', 'Q211423']
ASK WHERE { resource:Q2073547 property:P106 resource:Q211423 }
Lazar Bohsha goldsmith
action is_in
entity goldsmith
action find
entity Lazar Bohsha
relation occupation
['Lazar Bohsha', 'occupation', 'goldsmith']
ASK WHERE { resource:Lazar_Bohsha property:occupation resource:goldsmith }
[]
occupation
SYSTEM
YES
(Q2073547,P106,Q211423)
action is_in
entity Q211423
action find
entity Q2073547
relation P106
[ANSWER]
['Q2073547', 'P106', 'Q211423']
ASK WHERE { resource:Q2073547 property:P106 resource:Q211423 }
Yes
action is_in
entity goldsmith
action find
entity Lazar Bohsha
relation occupation
['Lazar Bohsha', 'occupation', 'goldsmith']
ASK WHERE { resource:Lazar_Bohsha property:occupation resource:goldsmith }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
How many collectables had approximately 2 people as the dubbing artist ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 . ?d property:P725 ?e } GROUP BY ?d } . FILTER ( ?k = 2 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:common_name . ?d rdf:type ontology:collectable . ?d property:voice_actor ?e } GROUP BY ?d } . FILTER ( ?k = 2 ) }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 . ?d property:P725 ?e } GROUP BY ?d } . FILTER ( ?k = 2 ) }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:common_name . ?d rdf:type ontology:collectable . ?d property:voice_actor ?e } GROUP BY ?d } . FILTER ( ?k = 2 ) }
[]