Simple Question (Direct)
Simple Question
Q584632
P27
Q15617994
USER
Which administrative territory is the native country of Mario Agnes ?
(Q584632,P27,c(Q15617994))
action filter_type
action find
entity Q584632
relation P27
type Q15617994
['Q584632', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q584632 property:P27 ?j }
Mario Agnes
action filter_type
action find
entity Mario Agnes
relation country of citizenship
type designation for an administrative territorial entity
['Mario Agnes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mario_Agnes property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q584632,P27,c(Q15617994))
action filter_type
action find
entity Q584632
relation P27
type Q15617994
Of [ANSWER] is the native country of Mario Agnes
['Q584632', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q584632 property:P27 ?j }
Italy
Of Italy is the native country of Mario Agnes
Italy
action filter_type
action find
entity Mario Agnes
relation country of citizenship
type designation for an administrative territorial entity
['Mario Agnes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mario_Agnes property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q584632
P21
Q290
USER
What is the sex of that person ?
(Q38,P21,c(Q290))
action filter_type
action find
entity Q584632
relation P21
type Q290
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q584632 property:P21 ?i . ?i rdf:type ontology:Q290 }
Mario Agnes
action filter_type
action find
entity Mario Agnes
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Mario_Agnes property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q38,P21,c(Q290))
action filter_type
action find
entity Q584632
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q584632 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Mario Agnes
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Mario_Agnes property:gender ?i . ?i rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around 15 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?v ) WHERE { ?a property:P530 ?t . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?v = 15 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?v ) WHERE { ?a property:diplomatic_relation ?t . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?v = 15 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
11
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q43 Q17 Q79 Q1011
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?v ) WHERE { ?a property:P530 ?t . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?v = 15 ) }
Israel Yemen India France United Kingdom People's Republic of China Serbia Turkey Japan Egypt Cape Verde
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?v ) WHERE { ?a property:diplomatic_relation ?t . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?v = 15 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q584632
P7
Q502895
USER
Who is a sibling of Mario Agnes ?
(c(Q502895),P7,Q584632)
action filter_type
action find
entity Q584632
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q584632']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q584632 property:P7 ?t }
Mario Agnes
action filter_type
action find
entity Mario Agnes
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Mario Agnes']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Mario_Agnes property:brother ?t }
[]
common name
Q855240
SYSTEM
Biagio Agnes
Q855240
(c(Q502895),P7,Q584632)
action filter_type
action find
entity Q584632
relation P7
type Q502895
A sibling of Mario Agnes is called [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q584632']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q584632 property:P7 ?t }
Biagio Agnes
A sibling of Mario Agnes is called Biagio Agnes
Biagio Agnes
action filter_type
action find
entity Mario Agnes
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Mario Agnes']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Mario_Agnes property:brother ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P921
Q2342494
USER
Which collectable is Italy a main subject of ?
(c(Q2342494),P921,Q38)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q38']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2342494 . ?n property:P921 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Italy']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:collectable . ?n property:main_subject resource:Italy }
[]
collectable
Q455305
SYSTEM
Italian Journey
Q455305
(c(Q2342494),P921,Q38)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
Which collectable is Italy a main subject of
[{'concept': 'Q2342494'}, 'P921', 'Q38']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2342494 . ?n property:P921 resource:Q38 }
Italian Journey
Which collectable is Italy a main subject of
Italian Journey
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Italy']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:collectable . ?n property:main_subject resource:Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P937
Q502895
USER
Who are an people who works at Italy ?
(c(Q502895),P937,Q38)
action filter_type
action find_reverse
entity Q38
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q38']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P937 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Italy']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:work_location resource:Italy }
[]
common name
Q61423 Q21402689 Q26709650
SYSTEM
Adolf Furtwängler, Frank McClean, Antoine Boudet
Q455777 Q12062202 Q26709650 Q21402689 Q961250 Q22247199 Q1748504 Q61423 Q77033
(c(Q502895),P937,Q38)
action filter_type
action find_reverse
entity Q38
relation P937
type Q502895
An people works at Italy are [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q38']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P937 resource:Q38 }
Amato Lusitano Charles Fairfax Murray Antoine Boudet Frank McClean Emilio Menéndez Master of San Pietro in Sylvis Maurice Poli Adolf Furtwängler Wilhelm von Gloeden
An people works at Italy are Adolf Furtwängler, Frank McClean and Antoine Boudet
Adolf Furtwängler Frank McClean Antoine Boudet
action filter_type
action find_reverse
entity Italy
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Italy']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:work_location resource:Italy }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q61423 Q21402689 Q26709650
P106
Q12737077
USER
Which occupations have Adolf Furtwängler, Frank McClean and Antoine Boudet as his/her 's career ?
(Q61423,P106,c(Q12737077)) (Q21402689,P106,c(Q12737077)) (Q26709650,P106,c(Q12737077))
action union
action filter_type
action find
entity Q61423
relation P106
type Q12737077
action filter_type
action find
entity Q21402689
relation P106
type Q12737077
action filter_type
action find
entity Q26709650
relation P106
type Q12737077
['Q61423', 'P106', {'concept': 'Q12737077'}] ['Q21402689', 'P106', {'concept': 'Q12737077'}] ['Q26709650', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q12737077 . resource:Q21402689 property:P106 ?m } UNION { resource:Q61423 property:P106 ?m . ?m rdf:type ontology:Q12737077 } }
Adolf Furtwängler Frank McClean Antoine Boudet
action union
action filter_type
action find
entity Adolf Furtwängler
relation occupation
type occupation
action filter_type
action find
entity Frank McClean
relation occupation
type occupation
action filter_type
action find
entity Antoine Boudet
relation occupation
type occupation
['Adolf Furtwängler', 'occupation', {'concept': 'occupation'}] ['Frank McClean', 'occupation', {'concept': 'occupation'}] ['Antoine Boudet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:occupation . resource:Frank_McClean property:occupation ?m } UNION { resource:Adolf_Furtwängler property:occupation ?m . ?m rdf:type ontology:occupation } }
[]
occupation
Q3621491 Q3665646 Q998550
SYSTEM
archaeologist, basketball player, bookseller
Q3621491 Q4773904 Q1792450 Q3357567 Q3665646 Q177220 Q175151 Q998550
(Q61423,P106,c(Q12737077)) (Q21402689,P106,c(Q12737077)) (Q26709650,P106,c(Q12737077))
action union
action filter_type
action find
entity Q61423
relation P106
type Q12737077
action filter_type
action find
entity Q21402689
relation P106
type Q12737077
action filter_type
action find
entity Q26709650
relation P106
type Q12737077
The [ANSWERS] have Adolf Furtwängler, Frank McClean and Antoine Boudet as his/her 's career
['Q61423', 'P106', {'concept': 'Q12737077'}] ['Q21402689', 'P106', {'concept': 'Q12737077'}] ['Q26709650', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q12737077 . resource:Q21402689 property:P106 ?m } UNION { resource:Q61423 property:P106 ?m . ?m rdf:type ontology:Q12737077 } }
archaeologist anthropologist art historian fashion model basketball player singer printer bookseller
The archaeologist, basketball player and bookseller have Adolf Furtwängler, Frank McClean and Antoine Boudet as his/her 's career
archaeologist basketball player bookseller
action union
action filter_type
action find
entity Adolf Furtwängler
relation occupation
type occupation
action filter_type
action find
entity Frank McClean
relation occupation
type occupation
action filter_type
action find
entity Antoine Boudet
relation occupation
type occupation
['Adolf Furtwängler', 'occupation', {'concept': 'occupation'}] ['Frank McClean', 'occupation', {'concept': 'occupation'}] ['Antoine Boudet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:occupation . resource:Frank_McClean property:occupation ?m } UNION { resource:Adolf_Furtwängler property:occupation ?m . ?m rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61423
P40
Q502895
USER
Which person is an offspring of Adolf Furtwängler ?
(Q61423,P40,c(Q502895))
action filter_type
action find
entity Q61423
relation P40
type Q502895
['Q61423', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q61423 property:P40 ?m }
Adolf Furtwängler
action filter_type
action find
entity Adolf Furtwängler
relation child
type common name
['Adolf Furtwängler', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Adolf_Furtwängler property:child ?m }
[]
common name
Q57285
SYSTEM
Wilhelm Furtwängler
Q57285
(Q61423,P40,c(Q502895))
action filter_type
action find
entity Q61423
relation P40
type Q502895
[ANSWER] is an offspring of Adolf Furtwängler
['Q61423', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q61423 property:P40 ?m }
Wilhelm Furtwängler
Wilhelm Furtwängler is an offspring of Adolf Furtwängler
Wilhelm Furtwängler
action filter_type
action find
entity Adolf Furtwängler
relation child
type common name
['Adolf Furtwängler', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Adolf_Furtwängler property:child ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19375368
Q502895
USER
And also tell me about Johan Gustaf Kinberg?
(Q19375368,P40,c(Q502895))
action filter_type
action find
entity Q19375368
relation P40
type Q502895
['Q19375368', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19375368 property:P40 ?z . ?z rdf:type ontology:Q502895 }
Johan Gustaf Kinberg
action filter_type
action find
entity Johan Gustaf Kinberg
relation child
type common name
['Johan Gustaf Kinberg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Johan_Gustaf_Kinberg property:child ?z . ?z rdf:type ontology:common_name }
[]
common name
Q19375297
SYSTEM
Henrik Kinberg
Q19375297
(Q19375368,P40,c(Q502895))
action filter_type
action find
entity Q19375368
relation P40
type Q502895
[ANSWER]
['Q19375368', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19375368 property:P40 ?z . ?z rdf:type ontology:Q502895 }
Henrik Kinberg
Henrik Kinberg
action filter_type
action find
entity Johan Gustaf Kinberg
relation child
type common name
['Johan Gustaf Kinberg', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Johan_Gustaf_Kinberg property:child ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19375297 Q34
P27
Q15617994
USER
Is Henrik Kinberg an inhabitant of Sweden ?
(Q19375297,P27,Q34)
action is_in
entity Q34
action find
entity Q19375297
relation P27
['Q19375297', 'P27', 'Q34']
ASK WHERE { resource:Q19375297 property:P27 resource:Q34 }
Henrik Kinberg Sweden
action is_in
entity Sweden
action find
entity Henrik Kinberg
relation country of citizenship
['Henrik Kinberg', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Henrik_Kinberg property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q19375297,P27,Q34)
action is_in
entity Q34
action find
entity Q19375297
relation P27
[ANSWER]
['Q19375297', 'P27', 'Q34']
ASK WHERE { resource:Q19375297 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Henrik Kinberg
relation country of citizenship
['Henrik Kinberg', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Henrik_Kinberg property:country_of_citizenship resource:Sweden }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21402689 Q2288638 Q1369555
P937
Q486972
USER
Does Frank McClean have Przerośl and Luetzingen as work location ?
(Q21402689,P937,Q2288638) (Q21402689,P937,Q1369555)
action is_in
entity Q21402689
action intersection
action find_reverse
entity Q2288638
relation P937
action find_reverse
entity Q1369555
relation P937
['Q21402689', 'P937', 'Q2288638'] ['Q21402689', 'P937', 'Q1369555']
ASK WHERE { resource:Q21402689 property:P937 resource:Q2288638 . resource:Q21402689 property:P937 resource:Q1369555 }
Frank McClean Przerośl Luetzingen
action is_in
entity Frank McClean
action intersection
action find_reverse
entity Przerośl
relation work location
action find_reverse
entity Luetzingen
relation work location
['Frank McClean', 'work location', 'Przerośl'] ['Frank McClean', 'work location', 'Luetzingen']
ASK WHERE { resource:Frank_McClean property:work_location resource:Przerośl . resource:Frank_McClean property:work_location resource:Luetzingen }
[]
human settlement
SYSTEM
NO
(Q21402689,P937,Q2288638) (Q21402689,P937,Q1369555)
action is_in
entity Q21402689
action intersection
action find_reverse
entity Q2288638
relation P937
action find_reverse
entity Q1369555
relation P937
[ANSWER]
['Q21402689', 'P937', 'Q2288638'] ['Q21402689', 'P937', 'Q1369555']
ASK WHERE { resource:Q21402689 property:P937 resource:Q2288638 . resource:Q21402689 property:P937 resource:Q1369555 }
No
action is_in
entity Frank McClean
action intersection
action find_reverse
entity Przerośl
relation work location
action find_reverse
entity Luetzingen
relation work location
['Frank McClean', 'work location', 'Przerośl'] ['Frank McClean', 'work location', 'Luetzingen']
ASK WHERE { resource:Frank_McClean property:work_location resource:Przerośl . resource:Frank_McClean property:work_location resource:Luetzingen }
[]