Simple Question (Direct)
Simple Question
Q1704254
P1412
Q34770
USER
Which language can Pacheta understand ?
(Q1704254,P1412,c(Q34770))
action filter_type
action find
entity Q1704254
relation P1412
type Q34770
['Q1704254', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q1704254 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Pacheta
action filter_type
action find
entity Pacheta
relation languages spoken, written or signed
type language
['Pacheta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Pacheta property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1704254,P1412,c(Q34770))
action filter_type
action find
entity Q1704254
relation P1412
type Q34770
Pacheta can understand the [ANSWER]
['Q1704254', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q1704254 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Spanish
Pacheta can understand the Spanish
Spanish
action filter_type
action find
entity Pacheta
relation languages spoken, written or signed
type language
['Pacheta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Pacheta property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1704254
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Pacheta ?
(Q1704254,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1704254
relation P27
type Q15617994
['Q1704254', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q1704254 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Pacheta
action count
action filter_type
action find
entity Pacheta
relation country of citizenship
type designation for an administrative territorial entity
['Pacheta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Pacheta property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q1704254,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1704254
relation P27
type Q15617994
[ANSWER]
['Q1704254', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q1704254 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Pacheta
relation country of citizenship
type designation for an administrative territorial entity
['Pacheta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Pacheta property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1704254
P21
Q290
USER
What is the sex of that person ?
action filter_type
action find
entity Q1704254
relation P21
type Q290
SELECT DISTINCT ?a WHERE { resource:Q1704254 property:P21 ?a . ?a rdf:type ontology:Q290 }
Pacheta
action filter_type
action find
entity Pacheta
relation gender
type sex
SELECT DISTINCT ?a WHERE { resource:Pacheta property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q1704254
relation P21
type Q290
The sex of that person is a [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q1704254 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Pacheta
relation gender
type sex
SELECT DISTINCT ?a WHERE { resource:Pacheta property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1704254
P106
Q12737077
USER
What do Pacheta do for a living ?
(Q1704254,P106,c(Q12737077))
action filter_type
action find
entity Q1704254
relation P106
type Q12737077
['Q1704254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1704254 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Pacheta
action filter_type
action find
entity Pacheta
relation occupation
type occupation
['Pacheta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Pacheta property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q1704254,P106,c(Q12737077))
action filter_type
action find
entity Q1704254
relation P106
type Q12737077
Pacheta do for a living [ANSWERS]
['Q1704254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1704254 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football manager association football player
Pacheta do for a living association football manager and association football player
association football manager association football player
action filter_type
action find
entity Pacheta
relation occupation
type occupation
['Pacheta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Pacheta property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3059704
Q12737077
USER
And also tell me about Eugène Azémar?
(Q3059704,P106,c(Q12737077))
action filter_type
action find
entity Q3059704
relation P106
type Q12737077
['Q3059704', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q3059704 property:P106 ?s }
Eugène Azémar
action filter_type
action find
entity Eugène Azémar
relation occupation
type occupation
['Eugène Azémar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Eugène_Azémar property:occupation ?s }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3059704,P106,c(Q12737077))
action filter_type
action find
entity Q3059704
relation P106
type Q12737077
[ANSWER]
['Q3059704', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q3059704 property:P106 ?s }
politician
politician
action filter_type
action find
entity Eugène Azémar
relation occupation
type occupation
['Eugène Azémar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Eugène_Azémar property:occupation ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q17638008 Q3305213
USER
Which occupations are demonstrated in max number of game equipment or paintings ?
(c(Q17638008)|c(Q3305213),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
[[{'concept': 'Q17638008'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?p WHERE { VALUES ( ?o ) { ( ontology:Q17638008 ) ( ontology:Q3305213 ) } . ?h rdf:type ?o } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?x WHERE { { ?a property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q17638008 } UNION { ?a property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q3305213 } } GROUP BY ?x } . FILTER ( ?m = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
[[{'concept': 'game equipment'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?p WHERE { VALUES ( ?o ) { ( ontology:game_equipment ) ( ontology:painting ) } . ?h rdf:type ?o } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?x WHERE { { ?a property:depicts ?x . ?x rdf:type ontology:occupation . ?a rdf:type ontology:game_equipment } UNION { ?a property:depicts ?x . ?x rdf:type ontology:occupation . ?a rdf:type ontology:painting } } GROUP BY ?x } . FILTER ( ?m = ?y ) }
[]
occupation game equipment painting
Q12097
SYSTEM
king
Q12097
(c(Q17638008)|c(Q3305213),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
[ANSWER] is demonstrated in max number of game equipment or paintings
[[{'concept': 'Q17638008'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?p WHERE { VALUES ( ?o ) { ( ontology:Q17638008 ) ( ontology:Q3305213 ) } . ?h rdf:type ?o } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?x WHERE { { ?a property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q17638008 } UNION { ?a property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q3305213 } } GROUP BY ?x } . FILTER ( ?m = ?y ) }
king
King is demonstrated in max number of game equipment or paintings
king
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
[[{'concept': 'game equipment'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?p WHERE { VALUES ( ?o ) { ( ontology:game_equipment ) ( ontology:painting ) } . ?h rdf:type ?o } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?x WHERE { { ?a property:depicts ?x . ?x rdf:type ontology:occupation . ?a rdf:type ontology:game_equipment } UNION { ?a property:depicts ?x . ?x rdf:type ontology:occupation . ?a rdf:type ontology:painting } } GROUP BY ?x } . FILTER ( ?m = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q22988604 Q15619164
USER
How many mythological Greek characters or abstract beings have the profession as that occupation ?
(c(Q22988604),P106,Q12097) (c(Q15619164),P106,Q12097) (c(Q22988604),P106,Q12097) (c(Q15619164),P106,Q12097)
action count
action union
action filter_type
action find_reverse
entity Q12097
relation P106
type Q22988604
action filter_type
action find_reverse
entity Q12097
relation P106
type Q15619164
[{'concept': 'Q22988604'}, 'P106', 'Q12097'] [{'concept': 'Q15619164'}, 'P106', 'Q12097'] [{'concept': 'Q22988604'}, 'P106', 'Q12097'] [{'concept': 'Q15619164'}, 'P106', 'Q12097']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:Q22988604 . ?g property:P106 resource:Q12097 } UNION { ?g property:P106 resource:Q12097 . ?g rdf:type ontology:Q15619164 } }
action count
action union
action filter_type
action find_reverse
entity king
relation occupation
type mythological Greek character
action filter_type
action find_reverse
entity king
relation occupation
type abstract being
[{'concept': 'mythological Greek character'}, 'occupation', 'king'] [{'concept': 'abstract being'}, 'occupation', 'king'] [{'concept': 'mythological Greek character'}, 'occupation', 'king'] [{'concept': 'abstract being'}, 'occupation', 'king']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:mythological_Greek_character . ?g property:occupation resource:king } UNION { ?g property:occupation resource:king . ?g rdf:type ontology:abstract_being } }
[]
mythological Greek character abstract being
SYSTEM
4
Q160213 Q603537 Q1320718 Q22344581
(c(Q22988604),P106,Q12097) (c(Q15619164),P106,Q12097) (c(Q22988604),P106,Q12097) (c(Q15619164),P106,Q12097)
action count
action union
action filter_type
action find_reverse
entity Q12097
relation P106
type Q22988604
action filter_type
action find_reverse
entity Q12097
relation P106
type Q15619164
[ANSWER]
[{'concept': 'Q22988604'}, 'P106', 'Q12097'] [{'concept': 'Q15619164'}, 'P106', 'Q12097'] [{'concept': 'Q22988604'}, 'P106', 'Q12097'] [{'concept': 'Q15619164'}, 'P106', 'Q12097']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:Q22988604 . ?g property:P106 resource:Q12097 } UNION { ?g property:P106 resource:Q12097 . ?g rdf:type ontology:Q15619164 } }
Rama Telestes Theseus Alcimus
4
action count
action union
action filter_type
action find_reverse
entity king
relation occupation
type mythological Greek character
action filter_type
action find_reverse
entity king
relation occupation
type abstract being
[{'concept': 'mythological Greek character'}, 'occupation', 'king'] [{'concept': 'abstract being'}, 'occupation', 'king'] [{'concept': 'mythological Greek character'}, 'occupation', 'king'] [{'concept': 'abstract being'}, 'occupation', 'king']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:mythological_Greek_character . ?g property:occupation resource:king } UNION { ?g property:occupation resource:king . ?g rdf:type ontology:abstract_being } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q423696
P361
Q1047113
USER
How many special fields are association football player or Akuem a component of ?
(Q937857,P361,c(Q1047113)) (Q423696,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q937857
relation P361
type Q1047113
action filter_type
action find
entity Q423696
relation P361
type Q1047113
['Q937857', 'P361', {'concept': 'Q1047113'}] ['Q423696', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?k property:P361 ?x . VALUES ( ?k ) { ( resource:Q937857 ) ( resource:Q423696 ) } }
association football player Akuem
action count
action union
action filter_type
action find
entity association football player
relation part of
type special field
action filter_type
action find
entity Akuem
relation part of
type special field
['association football player', 'part of', {'concept': 'special field'}] ['Akuem', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?k property:part_of ?x . VALUES ( ?k ) { ( resource:association_football_player ) ( resource:Akuem ) } }
[]
special field
SYSTEM
2
Q35395 Q81009
(Q937857,P361,c(Q1047113)) (Q423696,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q937857
relation P361
type Q1047113
action filter_type
action find
entity Q423696
relation P361
type Q1047113
[ANSWER]
['Q937857', 'P361', {'concept': 'Q1047113'}] ['Q423696', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?k property:P361 ?x . VALUES ( ?k ) { ( resource:Q937857 ) ( resource:Q423696 ) } }
phonetics rhetoric
2
action count
action union
action filter_type
action find
entity association football player
relation part of
type special field
action filter_type
action find
entity Akuem
relation part of
type special field
['association football player', 'part of', {'concept': 'special field'}] ['Akuem', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?k property:part_of ?x . VALUES ( ?k ) { ( resource:association_football_player ) ( resource:Akuem ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1704254
P27
Q15617994
USER
Which administrative territory is the native country of Pacheta ?
(Q1704254,P27,c(Q15617994))
action filter_type
action find
entity Q1704254
relation P27
type Q15617994
['Q1704254', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1704254 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Pacheta
action filter_type
action find
entity Pacheta
relation country of citizenship
type designation for an administrative territorial entity
['Pacheta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pacheta property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1704254,P27,c(Q15617994))
action filter_type
action find
entity Q1704254
relation P27
type Q15617994
[ANSWER] is the native country of Pacheta
['Q1704254', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1704254 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Spain
Spain is the native country of Pacheta
Spain
action filter_type
action find
entity Pacheta
relation country of citizenship
type designation for an administrative territorial entity
['Pacheta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pacheta property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]