Simple Question (Direct)
Simple Question
Q505028
P166
Q2003221
USER
What was received by Martin Peters ?
(Q505028,P166,c(Q2003221))
action filter_type
action find
entity Q505028
relation P166
type Q2003221
['Q505028', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?n WHERE { resource:Q505028 property:P166 ?n . ?n rdf:type ontology:Q2003221 }
Martin Peters
action filter_type
action find
entity Martin Peters
relation award received
type chivalric order
['Martin Peters', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?n WHERE { resource:Martin_Peters property:award_received ?n . ?n rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201526
SYSTEM
Member of the Order of the British Empire
Q12201526
(Q505028,P166,c(Q2003221))
action filter_type
action find
entity Q505028
relation P166
type Q2003221
The [ANSWER] was received by Martin Peters
['Q505028', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?n WHERE { resource:Q505028 property:P166 ?n . ?n rdf:type ontology:Q2003221 }
Member of the Order of the British Empire
The Member of the Order of the British Empire was received by Martin Peters
Member of the Order of the British Empire
action filter_type
action find
entity Martin Peters
relation award received
type chivalric order
['Martin Peters', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?n WHERE { resource:Martin_Peters property:award_received ?n . ?n rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q505028
P734
Q82799
USER
Which name is associated with Martin Peters ?
(Q505028,P734,c(Q82799))
action filter_type
action find
entity Q505028
relation P734
type Q82799
['Q505028', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q505028 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Martin Peters
action filter_type
action find
entity Martin Peters
relation family name
type name
['Martin Peters', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Martin_Peters property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q2079518
SYSTEM
Peters
Q2079518
(Q505028,P734,c(Q82799))
action filter_type
action find
entity Q505028
relation P734
type Q82799
Martin [ANSWER] is associated with Martin [ANSWER]
['Q505028', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q505028 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Peters
Martin Peters is associated with Martin Peters
Peters
action filter_type
action find
entity Martin Peters
relation family name
type name
['Martin Peters', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Martin_Peters property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11520942
Q82799
USER
And what about Kazuo Honma?
(Q11520942,P734,c(Q82799))
action filter_type
action find
entity Q11520942
relation P734
type Q82799
['Q11520942', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q11520942 property:P734 ?k }
Kazuo Honma
action filter_type
action find
entity Kazuo Honma
relation family name
type name
['Kazuo Honma', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Kazuo_Honma property:family_name ?k }
[]
name
Q1626124
SYSTEM
Honma
Q1626124
(Q11520942,P734,c(Q82799))
action filter_type
action find
entity Q11520942
relation P734
type Q82799
[ANSWER]
['Q11520942', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q11520942 property:P734 ?k }
Honma
Honma
action filter_type
action find
entity Kazuo Honma
relation family name
type name
['Kazuo Honma', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Kazuo_Honma property:family_name ?k }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q15709879 Q386724
USER
Which names are depicted in max number of artwork series and works ?
(c(Q15709879)|c(Q386724),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?v WHERE { ?j rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15709879 ) ( ontology:Q386724 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?g WHERE { { ?m property:P180 ?g . ?g rdf:type ontology:Q82799 . ?m rdf:type ontology:Q15709879 } UNION { ?m property:P180 ?g . ?m rdf:type ontology:Q386724 . ?g rdf:type ontology:Q82799 } } GROUP BY ?g } . FILTER ( ?d = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?v WHERE { ?j rdf:type ?e . VALUES ( ?e ) { ( ontology:artwork_series ) ( ontology:work ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?g WHERE { { ?m property:depicts ?g . ?g rdf:type ontology:name . ?m rdf:type ontology:artwork_series } UNION { ?m property:depicts ?g . ?m rdf:type ontology:work . ?g rdf:type ontology:name } } GROUP BY ?g } . FILTER ( ?d = ?t ) }
[]
name artwork series work
Q726
SYSTEM
horse
Q726
(c(Q15709879)|c(Q386724),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
The [ANSWER] is depicted in max number of artwork series and works
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?v WHERE { ?j rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15709879 ) ( ontology:Q386724 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?g WHERE { { ?m property:P180 ?g . ?g rdf:type ontology:Q82799 . ?m rdf:type ontology:Q15709879 } UNION { ?m property:P180 ?g . ?m rdf:type ontology:Q386724 . ?g rdf:type ontology:Q82799 } } GROUP BY ?g } . FILTER ( ?d = ?t ) }
horse
The horse is depicted in max number of artwork series and works
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?v WHERE { ?j rdf:type ?e . VALUES ( ?e ) { ( ontology:artwork_series ) ( ontology:work ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?g WHERE { { ?m property:depicts ?g . ?g rdf:type ontology:name . ?m rdf:type ontology:artwork_series } UNION { ?m property:depicts ?g . ?m rdf:type ontology:work . ?g rdf:type ontology:name } } GROUP BY ?g } . FILTER ( ?d = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q72470 Q505028
P19
Q56061
USER
Which administrative territories were Martin Peters or Aniela Cukier born ?
OR((Q505028,P19,c(Q56061)), (Q72470,P19,c(Q56061)))
action filter_type
action union
action find
entity Q505028
relation P19
action find
entity Q72470
relation P19
type Q56061
{'OR': [['Q505028', 'P19', {'concept': 'Q56061'}], ['Q72470', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Q505028 ) ( resource:Q72470 ) } . ?e property:P19 ?r } . ?r rdf:type ontology:Q56061 }
Aniela Cukier Martin Peters
action filter_type
action union
action find
entity Martin Peters
relation place of birth
action find
entity Aniela Cukier
relation place of birth
type administrative territorial entity
{'OR': [['Martin Peters', 'place of birth', {'concept': 'administrative territorial entity'}], ['Aniela Cukier', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Martin_Peters ) ( resource:Aniela_Cukier ) } . ?e property:place_of_birth ?r } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270 Q84
SYSTEM
Warsaw, London
Q270 Q84
OR((Q505028,P19,c(Q56061)), (Q72470,P19,c(Q56061)))
action filter_type
action union
action find
entity Q505028
relation P19
action find
entity Q72470
relation P19
type Q56061
Martin Peters or Aniela Cukier were born in [ANSWERS]
{'OR': [['Q505028', 'P19', {'concept': 'Q56061'}], ['Q72470', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Q505028 ) ( resource:Q72470 ) } . ?e property:P19 ?r } . ?r rdf:type ontology:Q56061 }
Warsaw London
Martin Peters or Aniela Cukier were born in Warsaw and London
Warsaw London
action filter_type
action union
action find
entity Martin Peters
relation place of birth
action find
entity Aniela Cukier
relation place of birth
type administrative territorial entity
{'OR': [['Martin Peters', 'place of birth', {'concept': 'administrative territorial entity'}], ['Aniela Cukier', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Martin_Peters ) ( resource:Aniela_Cukier ) } . ?e property:place_of_birth ?r } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19407368 Q11520942
P27 P17
Q15617994
USER
Which administrative territories are Kazuo Honma a civilian of or are Pastoor Clarijsstraat a part of ?
OR((Q11520942,P27,c(Q15617994)), (Q19407368,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11520942
relation P27
action find
entity Q19407368
relation P17
type Q15617994
{'OR': [['Q11520942', 'P27', {'concept': 'Q15617994'}], ['Q19407368', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q11520942 property:P27 ?k } UNION { resource:Q19407368 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Pastoor Clarijsstraat Kazuo Honma
action filter_type
action union
action find
entity Kazuo Honma
relation country of citizenship
action find
entity Pastoor Clarijsstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Kazuo Honma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pastoor Clarijsstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Kazuo_Honma property:country_of_citizenship ?k } UNION { resource:Pastoor_Clarijsstraat property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q55
SYSTEM
Japan, Netherlands
Q17 Q55
OR((Q11520942,P27,c(Q15617994)), (Q19407368,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11520942
relation P27
action find
entity Q19407368
relation P17
type Q15617994
[ANSWERS] are Kazuo Honma a civilian of or are Pastoor Clarijsstraat a part of
{'OR': [['Q11520942', 'P27', {'concept': 'Q15617994'}], ['Q19407368', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q11520942 property:P27 ?k } UNION { resource:Q19407368 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Japan Netherlands
Japan and Netherlands are Kazuo Honma a civilian of or are Pastoor Clarijsstraat a part of
Japan Netherlands
action filter_type
action union
action find
entity Kazuo Honma
relation country of citizenship
action find
entity Pastoor Clarijsstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Kazuo Honma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pastoor Clarijsstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Kazuo_Honma property:country_of_citizenship ?k } UNION { resource:Pastoor_Clarijsstraat property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have tactful political relations with those ones ?
(Q38,P530,Q17) (Q38,P530,Q55)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q17'] ['Q38', 'P530', 'Q55']
ASK WHERE { VALUES ( ?j ) { ( resource:Q17 ) ( resource:Q55 ) } . resource:Q38 property:P530 ?j }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Japan'] ['Italy', 'diplomatic relation', 'Netherlands']
ASK WHERE { VALUES ( ?j ) { ( resource:Japan ) ( resource:Netherlands ) } . resource:Italy property:diplomatic_relation ?j }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q17) (Q38,P530,Q55)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q17'] ['Q38', 'P530', 'Q55']
ASK WHERE { VALUES ( ?j ) { ( resource:Q17 ) ( resource:Q55 ) } . resource:Q38 property:P530 ?j }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Japan'] ['Italy', 'diplomatic relation', 'Netherlands']
ASK WHERE { VALUES ( ?j ) { ( resource:Japan ) ( resource:Netherlands ) } . resource:Italy property:diplomatic_relation ?j }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16106539 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and are the native countriesof Jóhannes Atlason ?
AND((Q38,P530,c(Q15617994)), (Q16106539,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q16106539
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q16106539', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q38 property:P530 ?f . resource:Q16106539 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Jóhannes Atlason Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Jóhannes Atlason
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jóhannes Atlason', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Italy property:diplomatic_relation ?f . resource:Jóhannes_Atlason property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q189
SYSTEM
Iceland
Q189
AND((Q38,P530,c(Q15617994)), (Q16106539,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q16106539
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Italy and are the native countriesof Jóhannes Atlason
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q16106539', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q38 property:P530 ?f . resource:Q16106539 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Iceland
Iceland have diplomatic relationships with Italy and are the native countriesof Jóhannes Atlason
Iceland
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Jóhannes Atlason
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jóhannes Atlason', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Italy property:diplomatic_relation ?f . resource:Jóhannes_Atlason property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q189 Q183
P530
Q1048835
USER
Does Germany have diplomatic relations with that administrative territory ?
(Q189,P530,Q183)
action is_in
entity Q183
action find
entity Q189
relation P530
['Q189', 'P530', 'Q183']
ASK WHERE { resource:Q189 property:P530 resource:Q183 }
Iceland Germany
action is_in
entity Germany
action find
entity Iceland
relation diplomatic relation
['Iceland', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Iceland property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q189,P530,Q183)
action is_in
entity Q183
action find
entity Q189
relation P530
[ANSWER]
['Q189', 'P530', 'Q183']
ASK WHERE { resource:Q189 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Iceland
relation diplomatic relation
['Iceland', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Iceland property:diplomatic_relation resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with approximately 40 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 40
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?i = 40 ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?i ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?g } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?i = 40 ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?i ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 40
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?i = 40 ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?i ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?g } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?i = 40 ) . { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?i ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189
P551
Q502895
USER
Who resides at Iceland ?
(c(Q502895),P551,Q189)
action filter_type
action find_reverse
entity Q189
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q189']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q189 }
Iceland
action filter_type
action find_reverse
entity Iceland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Iceland']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Iceland }
[]
common name
Q820323
SYSTEM
Bergsveinn Birgisson
Q820323
(c(Q502895),P551,Q189)
action filter_type
action find_reverse
entity Q189
relation P551
type Q502895
[ANSWER] resides at Iceland
[{'concept': 'Q502895'}, 'P551', 'Q189']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q189 }
Bergsveinn Birgisson
Bergsveinn Birgisson resides at Iceland
Bergsveinn Birgisson
action filter_type
action find_reverse
entity Iceland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Iceland']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Iceland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q820323
P21
Q290
USER
Which sex does that person possess ?
(Q820323,P21,c(Q290))
action filter_type
action find
entity Q820323
relation P21
type Q290
['Q820323', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q820323 property:P21 ?b . ?b rdf:type ontology:Q290 }
Bergsveinn Birgisson
action filter_type
action find
entity Bergsveinn Birgisson
relation gender
type sex
['Bergsveinn Birgisson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Bergsveinn_Birgisson property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q820323,P21,c(Q290))
action filter_type
action find
entity Q820323
relation P21
type Q290
That person possesses a [ANSWER]
['Q820323', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q820323 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Bergsveinn Birgisson
relation gender
type sex
['Bergsveinn Birgisson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Bergsveinn_Birgisson property:gender ?b . ?b rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q7077635
P21
Q502895
USER
Is Odell Borg a that sex ?
(Q7077635,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7077635
relation P21
['Q7077635', 'P21', 'Q6581097']
ASK WHERE { resource:Q7077635 property:P21 resource:Q6581097 }
male Odell Borg
action is_in
entity male
action find
entity Odell Borg
relation gender
['Odell Borg', 'gender', 'male']
ASK WHERE { resource:Odell_Borg property:gender resource:male }
[]
common name
SYSTEM
YES
(Q7077635,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7077635
relation P21
[ANSWER]
['Q7077635', 'P21', 'Q6581097']
ASK WHERE { resource:Q7077635 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Odell Borg
relation gender
['Odell Borg', 'gender', 'male']
ASK WHERE { resource:Odell_Borg property:gender resource:male }
[]