Simple Question (Direct)
Simple Question
Q19839019
P462
Q1075
USER
Which color is Tom and Jerry: Spy Quest associated with ?
(Q19839019,P462,c(Q1075))
action filter_type
action find
entity Q19839019
relation P462
type Q1075
['Q19839019', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?z WHERE { resource:Q19839019 property:P462 ?z . ?z rdf:type ontology:Q1075 }
Tom and Jerry: Spy Quest
action filter_type
action find
entity Tom and Jerry: Spy Quest
relation color
type color
['Tom and Jerry: Spy Quest', 'color', {'concept': 'color'}]
SELECT DISTINCT ?z WHERE { resource:Tom_and_Jerry:_Spy_Quest property:color ?z . ?z rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q19839019,P462,c(Q1075))
action filter_type
action find
entity Q19839019
relation P462
type Q1075
Tom and Jerry : Spy Quest is associated with [ANSWER]
['Q19839019', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?z WHERE { resource:Q19839019 property:P462 ?z . ?z rdf:type ontology:Q1075 }
color
Tom and Jerry : Spy Quest is associated with color
color
action filter_type
action find
entity Tom and Jerry: Spy Quest
relation color
type color
['Tom and Jerry: Spy Quest', 'color', {'concept': 'color'}]
SELECT DISTINCT ?z WHERE { resource:Tom_and_Jerry:_Spy_Quest property:color ?z . ?z rdf:type ontology:color }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19839019
P86
Q502895
USER
Which person composed that work of art ?
(Q22006653,P86,c(Q502895))
action filter_type
action find
entity Q19839019
relation P86
type Q502895
['Q22006653', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19839019 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Tom and Jerry: Spy Quest
action filter_type
action find
entity Tom and Jerry: Spy Quest
relation composer
type common name
['color', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Tom_and_Jerry:_Spy_Quest property:composer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q541058
SYSTEM
Michael Tavera
Q541058
(Q22006653,P86,c(Q502895))
action filter_type
action find
entity Q19839019
relation P86
type Q502895
[ANSWER] composed that work of art
['Q22006653', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q19839019 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Michael Tavera
Michael Tavera composed that work of art
Michael Tavera
action filter_type
action find
entity Tom and Jerry: Spy Quest
relation composer
type common name
['color', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Tom_and_Jerry:_Spy_Quest property:composer ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q541058 Q651738
P27
Q15617994
USER
Is Metterich the native country of that person ?
(Q541058,P27,Q651738)
action is_in
entity Q651738
action find
entity Q541058
relation P27
['Q541058', 'P27', 'Q651738']
ASK WHERE { resource:Q541058 property:P27 resource:Q651738 }
Michael Tavera Metterich
action is_in
entity Metterich
action find
entity Michael Tavera
relation country of citizenship
['Michael Tavera', 'country of citizenship', 'Metterich']
ASK WHERE { resource:Michael_Tavera property:country_of_citizenship resource:Metterich }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q541058,P27,Q651738)
action is_in
entity Q651738
action find
entity Q541058
relation P27
[ANSWER]
['Q541058', 'P27', 'Q651738']
ASK WHERE { resource:Q541058 property:P27 resource:Q651738 }
No
action is_in
entity Metterich
action find
entity Michael Tavera
relation country of citizenship
['Michael Tavera', 'country of citizenship', 'Metterich']
ASK WHERE { resource:Michael_Tavera property:country_of_citizenship resource:Metterich }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q651738
P17
Q1048835
USER
Which political territory is Metterich a part of ?
(Q651738,P17,c(Q1048835))
action filter_type
action find
entity Q651738
relation P17
type Q1048835
['Q651738', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q651738 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Metterich
action filter_type
action find
entity Metterich
relation country
type political territorial entity
['Metterich', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Metterich property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q651738,P17,c(Q1048835))
action filter_type
action find
entity Q651738
relation P17
type Q1048835
Which political territory is Metterich a part of
['Q651738', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q651738 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Germany
Which political territory is Metterich a part of
Germany
action filter_type
action find
entity Metterich
relation country
type political territorial entity
['Metterich', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Metterich property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P706
Q2221906
USER
Which geographic location is located in that political territory ?
(c(Q2221906),P706,Q183)
action filter_type
action find_reverse
entity Q183
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', 'Q183']
SELECT DISTINCT ?a WHERE { ?a property:P706 resource:Q183 . ?a rdf:type ontology:Q2221906 }
Germany
action filter_type
action find_reverse
entity Germany
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Germany']
SELECT DISTINCT ?a WHERE { ?a property:located_on_terrain_feature resource:Germany . ?a rdf:type ontology:geographic_location }
[]
geographic location
Q32530
SYSTEM
Lusatia
Q32530
(c(Q2221906),P706,Q183)
action filter_type
action find_reverse
entity Q183
relation P706
type Q2221906
[ANSWER] is located in that political territory
[{'concept': 'Q2221906'}, 'P706', 'Q183']
SELECT DISTINCT ?a WHERE { ?a property:P706 resource:Q183 . ?a rdf:type ontology:Q2221906 }
Lusatia
Lusatia is located in that political territory
Lusatia
action filter_type
action find_reverse
entity Germany
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Germany']
SELECT DISTINCT ?a WHERE { ?a property:located_on_terrain_feature resource:Germany . ?a rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P108
Q502895
USER
Which people have Germany as their employer ?
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q183 . ?t rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Germany . ?t rdf:type ontology:common_name }
[]
common name
Q2514 Q57855 Q1492424
SYSTEM
Willy Brandt, Georg Friedrich Grotefend, Marieluise Deißmann-Merten
Q2514 Q57855 Q1492424
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[ANSWERS] have Germany as their employer
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q183 . ?t rdf:type ontology:Q502895 }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten have Germany as their employer
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Germany . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2514 Q57855 Q1492424
P106
Q12737077
USER
Which occupations are the professions of Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten ?
(Q2514,P106,c(Q12737077)) (Q57855,P106,c(Q12737077)) (Q1492424,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2514
relation P106
type Q12737077
action filter_type
action find
entity Q57855
relation P106
type Q12737077
action filter_type
action find
entity Q1492424
relation P106
type Q12737077
['Q2514', 'P106', {'concept': 'Q12737077'}] ['Q57855', 'P106', {'concept': 'Q12737077'}] ['Q1492424', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q12737077 . resource:Q57855 property:P106 ?l } UNION { resource:Q2514 property:P106 ?l . ?l rdf:type ontology:Q12737077 } }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action union
action filter_type
action find
entity Willy Brandt
relation occupation
type occupation
action filter_type
action find
entity Georg Friedrich Grotefend
relation occupation
type occupation
action filter_type
action find
entity Marieluise Deißmann-Merten
relation occupation
type occupation
['Willy Brandt', 'occupation', {'concept': 'occupation'}] ['Georg Friedrich Grotefend', 'occupation', {'concept': 'occupation'}] ['Marieluise Deißmann-Merten', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:occupation . resource:Georg_Friedrich_Grotefend property:occupation ?l } UNION { resource:Willy_Brandt property:occupation ?l . ?l rdf:type ontology:occupation } }
[]
occupation
Q2004963 Q1930187 Q1622272
SYSTEM
numismatist, journalist, university teacher
Q1930187 Q15980158 Q82955 Q14467526 Q20873384 Q1622272 Q2004963
(Q2514,P106,c(Q12737077)) (Q57855,P106,c(Q12737077)) (Q1492424,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2514
relation P106
type Q12737077
action filter_type
action find
entity Q57855
relation P106
type Q12737077
action filter_type
action find
entity Q1492424
relation P106
type Q12737077
The [ANSWERS] are the professions of Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten
['Q2514', 'P106', {'concept': 'Q12737077'}] ['Q57855', 'P106', {'concept': 'Q12737077'}] ['Q1492424', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q12737077 . resource:Q57855 property:P106 ?l } UNION { resource:Q2514 property:P106 ?l . ?l rdf:type ontology:Q12737077 } }
journalist non-fiction writer politician linguist historian of classical antiquity university teacher numismatist
The numismatist, journalist and university teacher are the professions of Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten
numismatist journalist university teacher
action union
action filter_type
action find
entity Willy Brandt
relation occupation
type occupation
action filter_type
action find
entity Georg Friedrich Grotefend
relation occupation
type occupation
action filter_type
action find
entity Marieluise Deißmann-Merten
relation occupation
type occupation
['Willy Brandt', 'occupation', {'concept': 'occupation'}] ['Georg Friedrich Grotefend', 'occupation', {'concept': 'occupation'}] ['Marieluise Deißmann-Merten', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:occupation . resource:Georg_Friedrich_Grotefend property:occupation ?l } UNION { resource:Willy_Brandt property:occupation ?l . ?l rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32530
P138
Q151885
USER
Which concept has Lusatia as its namesake ?
(c(Q151885),P138,Q32530)
action filter_type
action find_reverse
entity Q32530
relation P138
type Q151885
[{'concept': 'Q151885'}, 'P138', 'Q32530']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q32530 . ?j rdf:type ontology:Q151885 }
Lusatia
action filter_type
action find_reverse
entity Lusatia
relation named after
type concept
[{'concept': 'concept'}, 'named after', 'Lusatia']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Lusatia . ?j rdf:type ontology:concept }
[]
concept
Q611017
SYSTEM
Lusatian culture
Q611017
(c(Q151885),P138,Q32530)
action filter_type
action find_reverse
entity Q32530
relation P138
type Q151885
[ANSWER] has Lusatia as its namesake
[{'concept': 'Q151885'}, 'P138', 'Q32530']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q32530 . ?j rdf:type ontology:Q151885 }
Lusatian culture
Lusatian culture has Lusatia as its namesake
Lusatian culture
action filter_type
action find_reverse
entity Lusatia
relation named after
type concept
[{'concept': 'concept'}, 'named after', 'Lusatia']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Lusatia . ?j rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q107425 Q151885
USER
How many landscapes are exactly 1 concept located on ?
(c(Q151885),P706,c(Q107425))
action count
action equal
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
value 1
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P706 ?r . ?r rdf:type ontology:Q107425 . ?m rdf:type ontology:Q151885 } GROUP BY ?r } . FILTER ( ?t = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:located_on_terrain_feature ?r . ?r rdf:type ontology:landscape . ?m rdf:type ontology:concept } GROUP BY ?r } . FILTER ( ?t = 1 ) }
[]
landscape concept
SYSTEM
4
Q202207 Q11767 Q38272 Q172702
(c(Q151885),P706,c(Q107425))
action count
action equal
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
value 1
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P706 ?r . ?r rdf:type ontology:Q107425 . ?m rdf:type ontology:Q151885 } GROUP BY ?r } . FILTER ( ?t = 1 ) }
Po Valley Mesopotamia British Isles Karakum Desert
4
action count
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:located_on_terrain_feature ?r . ?r rdf:type ontology:landscape . ?m rdf:type ontology:concept } GROUP BY ?r } . FILTER ( ?t = 1 ) }
[]