Simple Question (Direct)
Simple Question
Q9141937
P69
Q163740
USER
Which nonprofit organization was Agata Passent educated at ?
(Q9141937,P69,c(Q163740))
action filter_type
action find
entity Q9141937
relation P69
type Q163740
['Q9141937', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q9141937 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Agata Passent
action filter_type
action find
entity Agata Passent
relation educated at
type nonprofit organization
['Agata Passent', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Agata_Passent property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q9141937,P69,c(Q163740))
action filter_type
action find
entity Q9141937
relation P69
type Q163740
Agata Passent was educated at [ANSWER]
['Q9141937', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q9141937 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Harvard University
Agata Passent was educated at Harvard University
Harvard University
action filter_type
action find
entity Agata Passent
relation educated at
type nonprofit organization
['Agata Passent', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Agata_Passent property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9141937
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q13371)
action filter_type
action find_reverse
entity Q9141937
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q13371']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q9141937 . ?d rdf:type ontology:Q502895 }
Agata Passent
action filter_type
action find_reverse
entity Agata Passent
relation child
type common name
[{'concept': 'common name'}, 'child', 'Harvard University']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Agata_Passent . ?d rdf:type ontology:common_name }
[]
common name
Q1162033
SYSTEM
Daniel Passent
Q1162033
(c(Q502895),P40,Q13371)
action filter_type
action find_reverse
entity Q9141937
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q13371']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q9141937 . ?d rdf:type ontology:Q502895 }
Daniel Passent
Daniel Passent has that one as a child
Daniel Passent
action filter_type
action find_reverse
entity Agata Passent
relation child
type common name
[{'concept': 'common name'}, 'child', 'Harvard University']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Agata_Passent . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1162033
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q1162033)
action filter_type
action find_reverse
entity Q1162033
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1162033']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P22 resource:Q1162033 }
Daniel Passent
action filter_type
action find_reverse
entity Daniel Passent
relation father
type common name
[{'concept': 'common name'}, 'father', 'Daniel Passent']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:father resource:Daniel_Passent }
[]
common name
Q9141937
SYSTEM
Agata Passent
Q9141937
(c(Q502895),P22,Q1162033)
action filter_type
action find_reverse
entity Q1162033
relation P22
type Q502895
The offspring of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1162033']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P22 resource:Q1162033 }
Agata Passent
The offspring of that one is the Agata Passent
Agata Passent
action filter_type
action find_reverse
entity Daniel Passent
relation father
type common name
[{'concept': 'common name'}, 'father', 'Daniel Passent']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:father resource:Daniel_Passent }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q13371
P355
Q43229 Q33506
USER
How many organizations and museums serve as a subsidiary of Harvard University ?
(Q13371,P355,c(Q43229)) (Q13371,P355,c(Q33506))
action count
action union
action filter_type
action find
entity Q13371
relation P355
type Q43229
action filter_type
action find
entity Q13371
relation P355
type Q33506
['Q13371', 'P355', {'concept': 'Q43229'}] ['Q13371', 'P355', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q33506 ) } . ?v rdf:type ?r }
Harvard University
action count
action union
action filter_type
action find
entity Harvard University
relation subsidiary
type organization
action filter_type
action find
entity Harvard University
relation subsidiary
type museum
['Harvard University', 'subsidiary', {'concept': 'organization'}] ['Harvard University', 'subsidiary', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?r ) { ( ontology:organization ) ( ontology:museum ) } . ?v rdf:type ?r }
[]
organization museum
SYSTEM
1 organizations and 1 museums
Q5676489 Q3783572
(Q13371,P355,c(Q43229)) (Q13371,P355,c(Q33506))
action count
action union
action filter_type
action find
entity Q13371
relation P355
type Q43229
action filter_type
action find
entity Q13371
relation P355
type Q33506
[ANSWER]
['Q13371', 'P355', {'concept': 'Q43229'}] ['Q13371', 'P355', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q33506 ) } . ?v rdf:type ?r }
Harvard Management Company Harvard Art Museums
1 organizations and 1 museums
action count
action union
action filter_type
action find
entity Harvard University
relation subsidiary
type organization
action filter_type
action find
entity Harvard University
relation subsidiary
type museum
['Harvard University', 'subsidiary', {'concept': 'organization'}] ['Harvard University', 'subsidiary', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?r ) { ( ontology:organization ) ( ontology:museum ) } . ?v rdf:type ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2474957 Q9141937
P27
Q15617994
USER
Which administrative territories are Agata Passent or Edwin Wieringa an inhabitant of ?
OR((Q9141937,P27,c(Q15617994)), (Q2474957,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9141937
relation P27
action find
entity Q2474957
relation P27
type Q15617994
{'OR': [['Q9141937', 'P27', {'concept': 'Q15617994'}], ['Q2474957', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Q9141937 ) ( resource:Q2474957 ) } . ?h property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Edwin Wieringa Agata Passent
action filter_type
action union
action find
entity Agata Passent
relation country of citizenship
action find
entity Edwin Wieringa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Agata Passent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edwin Wieringa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Agata_Passent ) ( resource:Edwin_Wieringa ) } . ?h property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q36
SYSTEM
Kingdom of the Netherlands, Poland
Q29999 Q36
OR((Q9141937,P27,c(Q15617994)), (Q2474957,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9141937
relation P27
action find
entity Q2474957
relation P27
type Q15617994
[ANSWERS] are Agata Passent or Edwin Wieringa an inhabitant of
{'OR': [['Q9141937', 'P27', {'concept': 'Q15617994'}], ['Q2474957', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Q9141937 ) ( resource:Q2474957 ) } . ?h property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Poland
Kingdom of the Netherlands and Poland are Agata Passent or Edwin Wieringa an inhabitant of
Kingdom of the Netherlands Poland
action filter_type
action union
action find
entity Agata Passent
relation country of citizenship
action find
entity Edwin Wieringa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Agata Passent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edwin Wieringa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?h ) { ( resource:Agata_Passent ) ( resource:Edwin_Wieringa ) } . ?h property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q325610
P27
Q502895
USER
Are Will Sanders a native of those administrative territories ?
(Q325610,P27,Q29999) (Q325610,P27,Q36)
action is_in
entity prev_answer
action find
entity Q325610
relation P27
['Q325610', 'P27', 'Q29999'] ['Q325610', 'P27', 'Q36']
ASK WHERE { VALUES ( ?p ) { ( resource:Q29999 ) ( resource:Q36 ) } . resource:Q325610 property:P27 ?p }
Will Sanders
action is_in
entity prev_answer
action find
entity Will Sanders
relation country of citizenship
['Will Sanders', 'country of citizenship', 'Kingdom of the Netherlands'] ['Will Sanders', 'country of citizenship', 'Poland']
ASK WHERE { VALUES ( ?p ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Poland ) } . resource:Will_Sanders property:country_of_citizenship ?p }
[]
common name
SYSTEM
YES
(Q325610,P27,Q29999) (Q325610,P27,Q36)
action is_in
entity prev_answer
action find
entity Q325610
relation P27
[ANSWER]
['Q325610', 'P27', 'Q29999'] ['Q325610', 'P27', 'Q36']
ASK WHERE { VALUES ( ?p ) { ( resource:Q29999 ) ( resource:Q36 ) } . resource:Q325610 property:P27 ?p }
Yes
action is_in
entity prev_answer
action find
entity Will Sanders
relation country of citizenship
['Will Sanders', 'country of citizenship', 'Kingdom of the Netherlands'] ['Will Sanders', 'country of citizenship', 'Poland']
ASK WHERE { VALUES ( ?p ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Poland ) } . resource:Will_Sanders property:country_of_citizenship ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36 Q270
P36
Q56061
USER
Is Warsaw known as the capital of Poland ?
(Q36,P36,Q270)
action is_in
entity Q270
action find
entity Q36
relation P36
['Q36', 'P36', 'Q270']
ASK WHERE { resource:Q36 property:P36 resource:Q270 }
Poland Warsaw
action is_in
entity Warsaw
action find
entity Poland
relation capital
['Poland', 'capital', 'Warsaw']
ASK WHERE { resource:Poland property:capital resource:Warsaw }
[]
administrative territorial entity
SYSTEM
YES
(Q36,P36,Q270)
action is_in
entity Q270
action find
entity Q36
relation P36
[ANSWER]
['Q36', 'P36', 'Q270']
ASK WHERE { resource:Q36 property:P36 resource:Q270 }
Yes
action is_in
entity Warsaw
action find
entity Poland
relation capital
['Poland', 'capital', 'Warsaw']
ASK WHERE { resource:Poland property:capital resource:Warsaw }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8581
P1441
Q15416 Q2342494 Q502895
USER
Which people are present in more number of television programs or collectables than Saladin ?
(c(Q502895),P1441,c(Q15416)|c(Q2342494))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q8581
relation P1441
type Q15416
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?s WHERE { { ?s property:P1441 ?l . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15416 } UNION { ?s property:P1441 ?l . ?l rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q8581 property:P1441 ?o . { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q15416 } } } } }
Saladin
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Saladin
relation present in work
type television program
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?s WHERE { { ?s property:present_in_work ?l . ?s rdf:type ontology:common_name . ?l rdf:type ontology:television_program } UNION { ?s property:present_in_work ?l . ?l rdf:type ontology:collectable . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Saladin property:present_in_work ?o . { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:television_program } } } } }
[]
television program collectable common name
Q37085 Q32295 Q9181
SYSTEM
Solomon, Michael J. Massimino, Abraham
Q37085 Q32295 Q9181
(c(Q502895),P1441,c(Q15416)|c(Q2342494))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q8581
relation P1441
type Q15416
type Q2342494
[ANSWERS] are present in more number of television programs or collectables than Saladin
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?s WHERE { { ?s property:P1441 ?l . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15416 } UNION { ?s property:P1441 ?l . ?l rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q8581 property:P1441 ?o . { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q15416 } } } } }
Solomon Michael J. Massimino Abraham
Solomon, Michael J. Massimino and Abraham are present in more number of television programs or collectables than Saladin
Solomon Michael J. Massimino Abraham
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Saladin
relation present in work
type television program
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?s WHERE { { ?s property:present_in_work ?l . ?s rdf:type ontology:common_name . ?l rdf:type ontology:television_program } UNION { ?s property:present_in_work ?l . ?l rdf:type ontology:collectable . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Saladin property:present_in_work ?o . { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:television_program } } } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P144
Q502895 Q7725634 Q5398426
USER
Which people are more number of literary works or television series a fork of than that person ?
(c(Q7725634)|c(Q5398426),P144,c(Q502895))
[[{'concept': 'Q7725634'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q5398426 }
[[{'concept': 'literary work'}, {'concept': 'television series'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_series }
[]
common name literary work television series
Comparative|More/Less|Mult. entity type|Clarification
Q37085
SYSTEM
Did you mean Solomon ?
(c(Q7725634)|c(Q5398426),P144,c(Q502895))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q5398426 }
Did you mean Solomon ?
Solomon
[[{'concept': 'literary work'}, {'concept': 'television series'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_series }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q7725634)|c(Q5398426),P144,c(Q502895))
[[{'concept': 'Q7725634'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q502895'}]
[[{'concept': 'literary work'}, {'concept': 'television series'}], 'based on', {'concept': 'common name'}]
[]
Q125970 Q5358877 Q11584822
SYSTEM
Keigo Higashino, Jun Ikeido, Ayumi Ishii
Q11413422 Q125970 Q5358877 Q22088567 Q26267872 Q11584822 Q176819
(c(Q7725634)|c(Q5398426),P144,c(Q502895))
[ANSWERS] are more number of literary works or television series a fork of than that person
[[{'concept': 'Q7725634'}, {'concept': 'Q5398426'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q5398426 }
Yasumi Yoshizawa Keigo Higashino Jun Ikeido Philip Hamilton Marianne Ihlen Ayumi Ishii Thomas W. Sneddon, Jr.
Keigo Higashino, Jun Ikeido and Ayumi Ishii are more number of literary works or television series a fork of than that person
Keigo Higashino Jun Ikeido Ayumi Ishii
[[{'concept': 'literary work'}, {'concept': 'television series'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:television_series }
[]