Simple Question (Direct)
Simple Question
Q4908082
P21
Q290
USER
Which sex does Bill Beckley possess ?
(Q4908082,P21,c(Q290))
action filter_type
action find
entity Q4908082
relation P21
type Q290
['Q4908082', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4908082 property:P21 ?t . ?t rdf:type ontology:Q290 }
Bill Beckley
action filter_type
action find
entity Bill Beckley
relation gender
type sex
['Bill Beckley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Bill_Beckley property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4908082,P21,c(Q290))
action filter_type
action find
entity Q4908082
relation P21
type Q290
Bill Beckley possesses [ANSWER]
['Q4908082', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4908082 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Bill Beckley possesses male
male
action filter_type
action find
entity Bill Beckley
relation gender
type sex
['Bill Beckley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Bill_Beckley property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4908082
P135
Q2198855
USER
Which cultural movement was Bill Beckley associated with ?
(Q4908082,P135,c(Q2198855))
action filter_type
action find
entity Q4908082
relation P135
type Q2198855
['Q4908082', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?y WHERE { resource:Q4908082 property:P135 ?y . ?y rdf:type ontology:Q2198855 }
Bill Beckley
action filter_type
action find
entity Bill Beckley
relation movement
type cultural movement
['Bill Beckley', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?y WHERE { resource:Bill_Beckley property:movement ?y . ?y rdf:type ontology:cultural_movement }
[]
cultural movement
Q203209
SYSTEM
conceptual art
Q203209
(Q4908082,P135,c(Q2198855))
action filter_type
action find
entity Q4908082
relation P135
type Q2198855
Bill Beckley was associated with [ANSWER]
['Q4908082', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?y WHERE { resource:Q4908082 property:P135 ?y . ?y rdf:type ontology:Q2198855 }
conceptual art
Bill Beckley was associated with conceptual art
conceptual art
action filter_type
action find
entity Bill Beckley
relation movement
type cultural movement
['Bill Beckley', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?y WHERE { resource:Bill_Beckley property:movement ?y . ?y rdf:type ontology:cultural_movement }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q203209 Q5912
P737
Q502895
USER
Did Marcel Duchamp influence conceptual art ?
(Q203209,P737,Q5912)
action is_in
entity Q5912
action find
entity Q203209
relation P737
['Q203209', 'P737', 'Q5912']
ASK WHERE { resource:Q203209 property:P737 resource:Q5912 }
conceptual art Marcel Duchamp
action is_in
entity Marcel Duchamp
action find
entity conceptual art
relation influenced by
['conceptual art', 'influenced by', 'Marcel Duchamp']
ASK WHERE { resource:conceptual_art property:influenced_by resource:Marcel_Duchamp }
[]
common name
SYSTEM
YES
(Q203209,P737,Q5912)
action is_in
entity Q5912
action find
entity Q203209
relation P737
[ANSWER]
['Q203209', 'P737', 'Q5912']
ASK WHERE { resource:Q203209 property:P737 resource:Q5912 }
Yes
action is_in
entity Marcel Duchamp
action find
entity conceptual art
relation influenced by
['conceptual art', 'influenced by', 'Marcel Duchamp']
ASK WHERE { resource:conceptual_art property:influenced_by resource:Marcel_Duchamp }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q203209
P425
Q12737077
USER
Which occupation does that cultural movement belong to ?
action filter_type
action find_reverse
entity Q203209
relation P425
type Q12737077
SELECT DISTINCT ?q WHERE { ?q property:P425 resource:Q203209 . ?q rdf:type ontology:Q12737077 }
conceptual art
action filter_type
action find_reverse
entity conceptual art
relation field of this occupation
type occupation
SELECT DISTINCT ?q WHERE { ?q property:field_of_this_occupation resource:conceptual_art . ?q rdf:type ontology:occupation }
[]
occupation
Q21550489
SYSTEM
conceptual artist
Q21550489
action filter_type
action find_reverse
entity Q203209
relation P425
type Q12737077
That cultural movement belongs to the [ANSWER]
SELECT DISTINCT ?q WHERE { ?q property:P425 resource:Q203209 . ?q rdf:type ontology:Q12737077 }
conceptual artist
That cultural movement belongs to the conceptual artist
conceptual artist
action filter_type
action find_reverse
entity conceptual art
relation field of this occupation
type occupation
SELECT DISTINCT ?q WHERE { ?q property:field_of_this_occupation resource:conceptual_art . ?q rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q203209
P737
Q502895
USER
How many people acted as an inflence on conceptual art ?
(Q203209,P737,c(Q502895))
action count
action filter_type
action find
entity Q203209
relation P737
type Q502895
['Q203209', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q203209 property:P737 ?x . ?x rdf:type ontology:Q502895 }
conceptual art
action count
action filter_type
action find
entity conceptual art
relation influenced by
type common name
['conceptual art', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:conceptual_art property:influenced_by ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q5912
(Q203209,P737,c(Q502895))
action count
action filter_type
action find
entity Q203209
relation P737
type Q502895
[ANSWER]
['Q203209', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q203209 property:P737 ?x . ?x rdf:type ontology:Q502895 }
Marcel Duchamp
1
action count
action filter_type
action find
entity conceptual art
relation influenced by
type common name
['conceptual art', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:conceptual_art property:influenced_by ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203209
P101
Q502895
USER
Who works in the domain of conceptual art ?
(c(Q502895),P101,Q203209)
action filter_type
action find_reverse
entity Q203209
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q203209']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q203209 . ?a rdf:type ontology:Q502895 }
conceptual art
action filter_type
action find_reverse
entity conceptual art
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'conceptual art']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:conceptual_art . ?a rdf:type ontology:common_name }
[]
common name
Q2479548 Q3088175 Q1921919
SYSTEM
Bas Jan Ader, Joan Fontcuberta, Merlin Bauer
Q2479548 Q118754 Q3088175 Q1921919 Q20202155 Q22006042
(c(Q502895),P101,Q203209)
action filter_type
action find_reverse
entity Q203209
relation P101
type Q502895
[ANSWERS] work in the domain of conceptual art
[{'concept': 'Q502895'}, 'P101', 'Q203209']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q203209 . ?a rdf:type ontology:Q502895 }
Bas Jan Ader Aram Bartholl Joan Fontcuberta Merlin Bauer Buster Cleveland Christine Kozlov
Bas Jan Ader, Joan Fontcuberta and Merlin Bauer work in the domain of conceptual art
Bas Jan Ader Joan Fontcuberta Merlin Bauer
action filter_type
action find_reverse
entity conceptual art
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'conceptual art']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:conceptual_art . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1921919
P937
Q56061
USER
What is the work location of that person ?
(Q1921919,P937,c(Q56061))
action filter_type
action find
entity Q1921919
relation P937
type Q56061
['Q1921919', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1921919 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Merlin Bauer
action filter_type
action find
entity Merlin Bauer
relation work location
type administrative territorial entity
['Merlin Bauer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Merlin_Bauer property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1921919
SYSTEM
Did you mean Merlin Bauer ?
Q2479548 Q3088175 Q1921919
(Q2479548,P937,c(Q56061)) (Q3088175,P937,c(Q56061)) (Q1921919,P937,c(Q56061))
[ANSWER]
['Q2479548', 'P937', {'concept': 'Q56061'}] ['Q3088175', 'P937', {'concept': 'Q56061'}] ['Q1921919', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1921919 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Bas Jan Ader Joan Fontcuberta Merlin Bauer
Did you mean Merlin Bauer ?
Merlin Bauer
['Bas Jan Ader', 'work location', {'concept': 'administrative territorial entity'}] ['Joan Fontcuberta', 'work location', {'concept': 'administrative territorial entity'}] ['Merlin Bauer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Merlin_Bauer property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1921919,P937,c(Q56061))
['Q1921919', 'P937', {'concept': 'Q56061'}]
['Merlin Bauer', 'work location', {'concept': 'administrative territorial entity'}]
[]
Q365
SYSTEM
Cologne
Q365
(Q1921919,P937,c(Q56061))
action filter_type
action find
entity Q1921919
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1921919', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1921919 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Cologne
The work location of that person is in Cologne
Cologne
action filter_type
action find
entity Merlin Bauer
relation work location
type administrative territorial entity
['Merlin Bauer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Merlin_Bauer property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q643421 Q4908082
P106
Q12737077
USER
Which occupations are the job of Bill Beckley and Willem Marinus van Rossum ?
AND((Q4908082,P106,c(Q12737077)), (Q643421,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4908082
relation P106
action find
entity Q643421
relation P106
type Q12737077
{'AND': [['Q4908082', 'P106', {'concept': 'Q12737077'}], ['Q643421', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q4908082 property:P106 ?x . resource:Q643421 property:P106 ?x }
Willem Marinus van Rossum Bill Beckley
action filter_type
action intersection
action find
entity Bill Beckley
relation occupation
action find
entity Willem Marinus van Rossum
relation occupation
type occupation
{'AND': [['Bill Beckley', 'occupation', {'concept': 'occupation'}], ['Willem Marinus van Rossum', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Bill_Beckley property:occupation ?x . resource:Willem_Marinus_van_Rossum property:occupation ?x }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
AND((Q4908082,P106,c(Q12737077)), (Q643421,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4908082
relation P106
action find
entity Q643421
relation P106
type Q12737077
The [ANSWER] is the job of Bill Beckley and Willem Marinus van Rossum
{'AND': [['Q4908082', 'P106', {'concept': 'Q12737077'}], ['Q643421', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q4908082 property:P106 ?x . resource:Q643421 property:P106 ?x }
university teacher
The university teacher is the job of Bill Beckley and Willem Marinus van Rossum
university teacher
action filter_type
action intersection
action find
entity Bill Beckley
relation occupation
action find
entity Willem Marinus van Rossum
relation occupation
type occupation
{'AND': [['Bill Beckley', 'occupation', {'concept': 'occupation'}], ['Willem Marinus van Rossum', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Bill_Beckley property:occupation ?x . resource:Willem_Marinus_van_Rossum property:occupation ?x }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1622272 Q44665 Q10262954
P417
Q502895
USER
Does university teacher have adopted Djakaridja Koné and Cândido Augusto de Freitas Martins as patron saint ?
(Q1622272,P417,Q44665) (Q1622272,P417,Q10262954)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q44665
relation P417
action find_reverse
entity Q10262954
relation P417
['Q1622272', 'P417', 'Q44665'] ['Q1622272', 'P417', 'Q10262954']
ASK WHERE { resource:Q1622272 property:P417 resource:Q44665 . resource:Q1622272 property:P417 resource:Q10262954 }
university teacher Djakaridja Koné Cândido Augusto de Freitas Martins
action is_in
entity university teacher
action intersection
action find_reverse
entity Djakaridja Koné
relation patron saint
action find_reverse
entity Cândido Augusto de Freitas Martins
relation patron saint
['university teacher', 'patron saint', 'Djakaridja Koné'] ['university teacher', 'patron saint', 'Cândido Augusto de Freitas Martins']
ASK WHERE { resource:university_teacher property:patron_saint resource:Djakaridja_Koné . resource:university_teacher property:patron_saint resource:Cândido_Augusto_de_Freitas_Martins }
[]
common name
SYSTEM
NO
(Q1622272,P417,Q44665) (Q1622272,P417,Q10262954)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q44665
relation P417
action find_reverse
entity Q10262954
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q44665'] ['Q1622272', 'P417', 'Q10262954']
ASK WHERE { resource:Q1622272 property:P417 resource:Q44665 . resource:Q1622272 property:P417 resource:Q10262954 }
No
action is_in
entity university teacher
action intersection
action find_reverse
entity Djakaridja Koné
relation patron saint
action find_reverse
entity Cândido Augusto de Freitas Martins
relation patron saint
['university teacher', 'patron saint', 'Djakaridja Koné'] ['university teacher', 'patron saint', 'Cândido Augusto de Freitas Martins']
ASK WHERE { resource:university_teacher property:patron_saint resource:Djakaridja_Koné . resource:university_teacher property:patron_saint resource:Cândido_Augusto_de_Freitas_Martins }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q386724 Q3516658
USER
Which occupations are depicted in max number of works or heraldic symbols ?
(c(Q386724)|c(Q3516658),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[[{'concept': 'Q386724'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q386724 } UNION { ?m property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 } } GROUP BY ?b } } . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?x ) { ( ontology:Q386724 ) ( ontology:Q3516658 ) } . ?t rdf:type ?x } GROUP BY ?k } . FILTER ( ?r = ?n ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'work'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:depicts ?b . ?b rdf:type ontology:occupation . ?m rdf:type ontology:work } UNION { ?m property:depicts ?b . ?b rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol } } GROUP BY ?b } } . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?x ) { ( ontology:work ) ( ontology:heraldic_symbol ) } . ?t rdf:type ?x } GROUP BY ?k } . FILTER ( ?r = ?n ) }
[]
occupation work heraldic symbol
Q54128 Q2730732
SYSTEM
domestic worker, equestrian
Q54128 Q2730732
(c(Q386724)|c(Q3516658),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
The [ANSWERS] are depicted in max number of works or heraldic symbols
[[{'concept': 'Q386724'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q386724 } UNION { ?m property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 } } GROUP BY ?b } } . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?x ) { ( ontology:Q386724 ) ( ontology:Q3516658 ) } . ?t rdf:type ?x } GROUP BY ?k } . FILTER ( ?r = ?n ) }
domestic worker equestrian
The domestic worker and equestrian are depicted in max number of works or heraldic symbols
domestic worker equestrian
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'work'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:depicts ?b . ?b rdf:type ontology:occupation . ?m rdf:type ontology:work } UNION { ?m property:depicts ?b . ?b rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol } } GROUP BY ?b } } . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?x ) { ( ontology:work ) ( ontology:heraldic_symbol ) } . ?t rdf:type ?x } GROUP BY ?k } . FILTER ( ?r = ?n ) }
[]