Simple Question (Direct)
Simple Question
Q5752258
P106
Q12737077
USER
What is the profession of Carlos Álava ?
(Q5752258,P106,c(Q12737077))
action filter_type
action find
entity Q5752258
relation P106
type Q12737077
['Q5752258', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5752258 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Carlos Álava
action filter_type
action find
entity Carlos Álava
relation occupation
type occupation
['Carlos Álava', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Carlos_Álava property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5752258,P106,c(Q12737077))
action filter_type
action find
entity Q5752258
relation P106
type Q12737077
The profession of Carlos Álava is an [ANSWER]
['Q5752258', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5752258 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The profession of Carlos Álava is an association football player
association football player
action filter_type
action find
entity Carlos Álava
relation occupation
type occupation
['Carlos Álava', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Carlos_Álava property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5752258
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q5752258
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q5752258 property:P641 ?j . ?j rdf:type ontology:Q349 }
Carlos Álava
action filter_type
action find
entity Carlos Álava
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Carlos_Álava property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q5752258
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q5752258 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Carlos Álava
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Carlos_Álava property:sport ?j . ?j rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P417 ?m . ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P417 ?u . ?u rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?u } . FILTER ( ?a = ?h ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:patron_saint ?m . ?t rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:patron_saint ?u . ?u rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?u } . FILTER ( ?a = ?h ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the patron saints of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P417 ?m . ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P417 ?u . ?u rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?u } . FILTER ( ?a = ?h ) }
Catherine of Alexandria
Catherine of Alexandria is the patron saints of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:patron_saint ?m . ?t rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:patron_saint ?u . ?u rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?u } . FILTER ( ?a = ?h ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q179718 Q1215717
P180
Q3305213
USER
Does Coronation of the Virgin depict that person ?
(Q1215717,P180,Q179718)
action is_in
entity Q179718
action find
entity Q1215717
relation P180
['Q1215717', 'P180', 'Q179718']
ASK WHERE { resource:Q1215717 property:P180 resource:Q179718 }
Catherine of Alexandria Coronation of the Virgin
action is_in
entity Catherine of Alexandria
action find
entity Coronation of the Virgin
relation depicts
['Coronation of the Virgin', 'depicts', 'Catherine of Alexandria']
ASK WHERE { resource:Coronation_of_the_Virgin property:depicts resource:Catherine_of_Alexandria }
[]
painting
SYSTEM
YES
(Q1215717,P180,Q179718)
action is_in
entity Q179718
action find
entity Q1215717
relation P180
[ANSWER]
['Q1215717', 'P180', 'Q179718']
ASK WHERE { resource:Q1215717 property:P180 resource:Q179718 }
Yes
action is_in
entity Catherine of Alexandria
action find
entity Coronation of the Virgin
relation depicts
['Coronation of the Virgin', 'depicts', 'Catherine of Alexandria']
ASK WHERE { resource:Coronation_of_the_Virgin property:depicts resource:Catherine_of_Alexandria }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q36180 Q937857
P106
Q502895
USER
Which people have the profession as association football player and writer ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q36180 . ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q502895 }
writer association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:writer . ?h property:occupation resource:association_football_player . ?h rdf:type ontology:common_name }
[]
common name
Q1960711 Q16879980 Q1322994 Q32812 Q685434 Q3547896 Q1659147 Q2069447 Q710080 Q2324760
SYSTEM
Some of them are Art Langeler, Norbert Düwel, Kenzō Nakajima, Tryggve Gran, Julian Johnsson, Ezio Vendrame, Ilse Kopatz, Francis Couvreur, Jan Mulder, Jan van Halst
Q2164382 Q940245 Q364398 Q830682 Q1058141 Q7363525 Q19356987 Q21118091 Q29516 Q20731289 Q208557 Q17093660 Q2069447 Q16879980 Q3611517 Q5618999 Q707415 Q3102802 Q3736383 Q3141607 Q2324760 Q11993173 Q333118 Q1110345 Q710080 Q299657 Q3373434 Q3724387 Q2286680 Q1003430 Q3189108 Q610102 Q32812 Q11902453 Q11995458 Q462137 Q3435413 Q3640610 Q3547896 Q1749900 Q1350633 Q925493 Q1659147 Q1974007 Q1091414 Q685434 Q110126 Q2727418 Q1322994 Q2577107 Q1388518 Q202693 Q1978696 Q4778509 Q546107 Q1479438 Q3894483 Q17279769 Q1960711 Q1691828 Q872922 Q1541377 Q6142124 Q3392828 Q543145 Q2572668 Q237541 Q2535794 Q25950543
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] have the profession as association football player and writer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q36180 . ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q502895 }
Robert Neumann Pat Nevin Neil Paterson Marcus Urban Eric Pierpoint Ron Berry John Monteith Wolfgang Pache Theo Walcott Max Urbini Ryan Nelsen Gunnar Talsethagen Francis Couvreur Norbert Düwel Alfredo Viviani Gunnar Garfors Martin Waddell Georges Grard Ezio Glerean Thomas Bodström Jan van Halst Oddmund Fredrik Jacobsen Vaagsholm David Icke Coloman Braun-Bogdan Jan Mulder Rémi Gaillard Bjørn G. Andersen Emilio De Martino Johan Derksen F. W. Bain Julian Sturgis Charlie Cooke Tryggve Gran Wilson Raj Perumal Peter Mykleset Arthur Albiston Lars Joachim Grimstad Bjarne Rønning Ezio Vendrame Philipp Heineken Vlasta Burian Miroslav Ivanov Ilse Kopatz Björn van der Doelen Carlo Petrini Julian Johnsson Hrant Dink David Endt Kenzō Nakajima Willi Gierlich Oliver St. John Gogarty Jo Nesbø Nettie Honeyball Aníbal Machado Harry Gregg Félix Bermudes Paolo Sollier Michele Alboreto Art Langeler Joey Jones Peter Hackmair Angelo Caroli James Riordan Daniel Baldi Denis Scuto Wilhelm Heinrich Focke Veronica Guerin Takeo Takahashi Jaromír Votík
Art Langeler, Norbert Düwel, Kenzō Nakajima, Tryggve Gran, Julian Johnsson, Ezio Vendrame, Ilse Kopatz, Francis Couvreur, Jan Mulder and Jan van Halst have the profession as association football player and writer
Art Langeler Norbert Düwel Kenzō Nakajima Tryggve Gran Julian Johnsson Ezio Vendrame Ilse Kopatz Francis Couvreur Jan Mulder Jan van Halst
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:writer . ?h property:occupation resource:association_football_player . ?h rdf:type ontology:common_name }
[]