Simple Question (Direct)
Simple Question
Q3625152
P21
Q290
USER
Which sex does Asion Daja have ?
(Q3625152,P21,c(Q290))
action filter_type
action find
entity Q3625152
relation P21
type Q290
['Q3625152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3625152 property:P21 ?t }
Asion Daja
action filter_type
action find
entity Asion Daja
relation gender
type sex
['Asion Daja', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Asion_Daja property:gender ?t }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3625152,P21,c(Q290))
action filter_type
action find
entity Q3625152
relation P21
type Q290
Asion Daja has a [ANSWER]
['Q3625152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3625152 property:P21 ?t }
male
Asion Daja has a male
male
action filter_type
action find
entity Asion Daja
relation gender
type sex
['Asion Daja', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Asion_Daja property:gender ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3625152
P19
Q515
USER
Which city was Asion Daja born in ?
(Q3625152,P19,c(Q515))
action filter_type
action find
entity Q3625152
relation P19
type Q515
['Q3625152', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q3625152 property:P19 ?y . ?y rdf:type ontology:Q515 }
Asion Daja
action filter_type
action find
entity Asion Daja
relation place of birth
type city
['Asion Daja', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Asion_Daja property:place_of_birth ?y . ?y rdf:type ontology:city }
[]
city
Q19689
SYSTEM
Tirana
Q19689
(Q3625152,P19,c(Q515))
action filter_type
action find
entity Q3625152
relation P19
type Q515
Asion Daja was born in [ANSWER]
['Q3625152', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q3625152 property:P19 ?y . ?y rdf:type ontology:Q515 }
Tirana
Asion Daja was born in Tirana
Tirana
action filter_type
action find
entity Asion Daja
relation place of birth
type city
['Asion Daja', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Asion_Daja property:place_of_birth ?y . ?y rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3625152
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Asion Daja ?
(Q3625152,P27,c(Q15617994))
action filter_type
action find
entity Q3625152
relation P27
type Q15617994
['Q3625152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q3625152 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Asion Daja
action filter_type
action find
entity Asion Daja
relation country of citizenship
type designation for an administrative territorial entity
['Asion Daja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Asion_Daja property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222
SYSTEM
Albania
Q222
(Q3625152,P27,c(Q15617994))
action filter_type
action find
entity Q3625152
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Asion Daja
['Q3625152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q3625152 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Albania
Albania is the country of citizenship of Asion Daja
Albania
action filter_type
action find
entity Asion Daja
relation country of citizenship
type designation for an administrative territorial entity
['Asion Daja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Asion_Daja property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q213615 Q3625152
P27 P20
Q15617994
USER
Which administrative territories are the countries of citizenship of Asion Daja or are the places of death of Otto Abetz ?
OR((Q3625152,P27,c(Q15617994)), (Q213615,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q3625152
relation P27
action find
entity Q213615
relation P20
type Q15617994
{'OR': [['Q3625152', 'P27', {'concept': 'Q15617994'}], ['Q213615', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q3625152 property:P27 ?f } UNION { resource:Q213615 property:P20 ?f } } }
Otto Abetz Asion Daja
action filter_type
action union
action find
entity Asion Daja
relation country of citizenship
action find
entity Otto Abetz
relation place of death
type designation for an administrative territorial entity
{'OR': [['Asion Daja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Otto Abetz', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Asion_Daja property:country_of_citizenship ?f } UNION { resource:Otto_Abetz property:place_of_death ?f } } }
[]
designation for an administrative territorial entity
Q225055 Q4048 Q222
SYSTEM
Langenberg (Westphalia), Langenfeld, Albania
Q225055 Q4048 Q222
OR((Q3625152,P27,c(Q15617994)), (Q213615,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q3625152
relation P27
action find
entity Q213615
relation P20
type Q15617994
[ANSWERS] are the countries of citizenship of Asion Daja or are the places of death of Otto Abetz
{'OR': [['Q3625152', 'P27', {'concept': 'Q15617994'}], ['Q213615', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q3625152 property:P27 ?f } UNION { resource:Q213615 property:P20 ?f } } }
Langenberg (Westphalia) Langenfeld Albania
Langenberg (Westphalia), Langenfeld and Albania are the countries of citizenship of Asion Daja or are the places of death of Otto Abetz
Langenberg (Westphalia) Langenfeld Albania
action filter_type
action union
action find
entity Asion Daja
relation country of citizenship
action find
entity Otto Abetz
relation place of death
type designation for an administrative territorial entity
{'OR': [['Asion Daja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Otto Abetz', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Asion_Daja property:country_of_citizenship ?f } UNION { resource:Otto_Abetz property:place_of_death ?f } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q222 Q334
P463
Q43229
USER
How many organizations were Albania and Singapore a member of ?
(Q222,P463,c(Q43229)) (Q334,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q222
relation P463
type Q43229
action filter_type
action find
entity Q334
relation P463
type Q43229
['Q222', 'P463', {'concept': 'Q43229'}] ['Q334', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q334 property:P463 ?g . ?g rdf:type ontology:Q43229 . resource:Q222 property:P463 ?g . ?g rdf:type ontology:Q43229 }
Albania Singapore
action count
action intersection
action filter_type
action find
entity Albania
relation member of
type organization
action filter_type
action find
entity Singapore
relation member of
type organization
['Albania', 'member of', {'concept': 'organization'}] ['Singapore', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Singapore property:member_of ?g . ?g rdf:type ontology:organization . resource:Albania property:member_of ?g . ?g rdf:type ontology:organization }
[]
organization
SYSTEM
5
Q7825 Q191384 Q656801 Q899770 Q827525
(Q222,P463,c(Q43229)) (Q334,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q222
relation P463
type Q43229
action filter_type
action find
entity Q334
relation P463
type Q43229
[ANSWER]
['Q222', 'P463', {'concept': 'Q43229'}] ['Q334', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q334 property:P463 ?g . ?g rdf:type ontology:Q43229 . resource:Q222 property:P463 ?g . ?g rdf:type ontology:Q43229 }
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes International Development Association
5
action count
action intersection
action filter_type
action find
entity Albania
relation member of
type organization
action filter_type
action find
entity Singapore
relation member of
type organization
['Albania', 'member of', {'concept': 'organization'}] ['Singapore', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Singapore property:member_of ?g . ?g rdf:type ontology:organization . resource:Albania property:member_of ?g . ?g rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q222
P47
Q56061 Q7275
USER
How many administrative territories or states share border with Albania ?
(Q222,P47,c(Q56061)) (Q222,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q222
relation P47
type Q56061
action filter_type
action find
entity Q222
relation P47
type Q7275
['Q222', 'P47', {'concept': 'Q56061'}] ['Q222', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } }
Albania
action count
action union
action filter_type
action find
entity Albania
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Albania
relation shares border with
type state
['Albania', 'shares border with', {'concept': 'administrative territorial entity'}] ['Albania', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } }
[]
administrative territorial entity state
SYSTEM
2
Q458 Q36704
(Q222,P47,c(Q56061)) (Q222,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q222
relation P47
type Q56061
action filter_type
action find
entity Q222
relation P47
type Q7275
[ANSWER]
['Q222', 'P47', {'concept': 'Q56061'}] ['Q222', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } }
European Union Yugoslavia
2
action count
action union
action filter_type
action find
entity Albania
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Albania
relation shares border with
type state
['Albania', 'shares border with', {'concept': 'administrative territorial entity'}] ['Albania', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q222 Q16
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Albania and Canada ?
(c(Q15617994),P530,Q222) (c(Q15617994),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q222
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q16
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q222'] [{'concept': 'Q15617994'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P530 resource:Q222 . ?e rdf:type ontology:Q15617994 . ?e property:P530 resource:Q16 . ?e rdf:type ontology:Q15617994 }
Albania Canada
action count
action intersection
action filter_type
action find_reverse
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Albania'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:diplomatic_relation resource:Albania . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation resource:Canada . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q30 Q230 Q38 Q889
(c(Q15617994),P530,Q222) (c(Q15617994),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q222
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q222'] [{'concept': 'Q15617994'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P530 resource:Q222 . ?e rdf:type ontology:Q15617994 . ?e property:P530 resource:Q16 . ?e rdf:type ontology:Q15617994 }
United States of America Georgia Italy Afghanistan
4
action count
action intersection
action filter_type
action find_reverse
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Albania'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:diplomatic_relation resource:Albania . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation resource:Canada . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]