Simple Question (Direct)
Simple Question
Q6182823
P69
Q163740
USER
Which nonprofit organization was Jerome Lyle Rappaport educated at ?
(Q6182823,P69,c(Q163740))
action filter_type
action find
entity Q6182823
relation P69
type Q163740
['Q6182823', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q163740 . resource:Q6182823 property:P69 ?n }
Jerome Lyle Rappaport
action filter_type
action find
entity Jerome Lyle Rappaport
relation educated at
type nonprofit organization
['Jerome Lyle Rappaport', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:nonprofit_organization . resource:Jerome_Lyle_Rappaport property:educated_at ?n }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q6182823,P69,c(Q163740))
action filter_type
action find
entity Q6182823
relation P69
type Q163740
Jerome Lyle Rappaport was educated at [ANSWER]
['Q6182823', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q163740 . resource:Q6182823 property:P69 ?n }
Harvard University
Jerome Lyle Rappaport was educated at Harvard University
Harvard University
action filter_type
action find
entity Jerome Lyle Rappaport
relation educated at
type nonprofit organization
['Jerome Lyle Rappaport', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:nonprofit_organization . resource:Jerome_Lyle_Rappaport property:educated_at ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6182823
P21
Q290
USER
Which sex does Jerome Lyle Rappaport have ?
(Q6182823,P21,c(Q290))
action filter_type
action find
entity Q6182823
relation P21
type Q290
['Q6182823', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q6182823 property:P21 ?x . ?x rdf:type ontology:Q290 }
Jerome Lyle Rappaport
action filter_type
action find
entity Jerome Lyle Rappaport
relation gender
type sex
['Jerome Lyle Rappaport', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Jerome_Lyle_Rappaport property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6182823,P21,c(Q290))
action filter_type
action find
entity Q6182823
relation P21
type Q290
Jerome Lyle Rappaport has a [ANSWER]
['Q6182823', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q6182823 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Jerome Lyle Rappaport has a male
male
action filter_type
action find
entity Jerome Lyle Rappaport
relation gender
type sex
['Jerome Lyle Rappaport', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Jerome_Lyle_Rappaport property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22569283
Q290
USER
And what about Aurelio Zonghi?
(Q22569283,P21,c(Q290))
action filter_type
action find
entity Q22569283
relation P21
type Q290
['Q22569283', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q22569283 property:P21 ?u . ?u rdf:type ontology:Q290 }
Aurelio Zonghi
action filter_type
action find
entity Aurelio Zonghi
relation gender
type sex
['Aurelio Zonghi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Aurelio_Zonghi property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22569283,P21,c(Q290))
action filter_type
action find
entity Q22569283
relation P21
type Q290
[ANSWER]
['Q22569283', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q22569283 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Aurelio Zonghi
relation gender
type sex
['Aurelio Zonghi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Aurelio_Zonghi property:gender ?u . ?u rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12028289 Q6182823
P19
Q56061
USER
Which administrative territories were Jerome Lyle Rappaport or Karel Jerie born in ?
OR((Q6182823,P19,c(Q56061)), (Q12028289,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6182823
relation P19
action find
entity Q12028289
relation P19
type Q56061
{'OR': [['Q6182823', 'P19', {'concept': 'Q56061'}], ['Q12028289', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( resource:Q6182823 ) ( resource:Q12028289 ) } . ?q property:P19 ?y } . ?y rdf:type ontology:Q56061 }
Karel Jerie Jerome Lyle Rappaport
action filter_type
action union
action find
entity Jerome Lyle Rappaport
relation place of birth
action find
entity Karel Jerie
relation place of birth
type administrative territorial entity
{'OR': [['Jerome Lyle Rappaport', 'place of birth', {'concept': 'administrative territorial entity'}], ['Karel Jerie', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( resource:Jerome_Lyle_Rappaport ) ( resource:Karel_Jerie ) } . ?q property:place_of_birth ?y } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q1085
SYSTEM
New York City, Prague
Q60 Q1085
OR((Q6182823,P19,c(Q56061)), (Q12028289,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6182823
relation P19
action find
entity Q12028289
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q6182823', 'P19', {'concept': 'Q56061'}], ['Q12028289', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( resource:Q6182823 ) ( resource:Q12028289 ) } . ?q property:P19 ?y } . ?y rdf:type ontology:Q56061 }
New York City Prague
Which administrative territories were Jerome Lyle Rappaport or Karel Jerie born in
New York City Prague
action filter_type
action union
action find
entity Jerome Lyle Rappaport
relation place of birth
action find
entity Karel Jerie
relation place of birth
type administrative territorial entity
{'OR': [['Jerome Lyle Rappaport', 'place of birth', {'concept': 'administrative territorial entity'}], ['Karel Jerie', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( resource:Jerome_Lyle_Rappaport ) ( resource:Karel_Jerie ) } . ?q property:place_of_birth ?y } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q310110
P190
Q56061
USER
Are Al-Zahra twin city of those ones ?
(Q310110,P190,Q60) (Q310110,P190,Q1085)
action is_in
entity prev_answer
action find
entity Q310110
relation P190
['Q310110', 'P190', 'Q60'] ['Q310110', 'P190', 'Q1085']
ASK WHERE { VALUES ( ?p ) { ( resource:Q60 ) ( resource:Q1085 ) } . resource:Q310110 property:P190 ?p }
Al-Zahra
action is_in
entity prev_answer
action find
entity Al-Zahra
relation sister city
['Al-Zahra', 'sister city', 'New York City'] ['Al-Zahra', 'sister city', 'Prague']
ASK WHERE { VALUES ( ?p ) { ( resource:New_York_City ) ( resource:Prague ) } . resource:Al-Zahra property:sister_city ?p }
[]
administrative territorial entity
SYSTEM
NO
(Q310110,P190,Q60) (Q310110,P190,Q1085)
action is_in
entity prev_answer
action find
entity Q310110
relation P190
[ANSWER]
['Q310110', 'P190', 'Q60'] ['Q310110', 'P190', 'Q1085']
ASK WHERE { VALUES ( ?p ) { ( resource:Q60 ) ( resource:Q1085 ) } . resource:Q310110 property:P190 ?p }
No
action is_in
entity prev_answer
action find
entity Al-Zahra
relation sister city
['Al-Zahra', 'sister city', 'New York City'] ['Al-Zahra', 'sister city', 'Prague']
ASK WHERE { VALUES ( ?p ) { ( resource:New_York_City ) ( resource:Prague ) } . resource:Al-Zahra property:sister_city ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q371362 Q6182823
P19
Q56061
USER
Which administrative territories were Jerome Lyle Rappaport or Jan van Cauwelaert born at ?
OR((Q6182823,P19,c(Q56061)), (Q371362,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6182823
relation P19
action find
entity Q371362
relation P19
type Q56061
{'OR': [['Q6182823', 'P19', {'concept': 'Q56061'}], ['Q371362', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6182823 property:P19 ?p } UNION { resource:Q371362 property:P19 ?p } } . ?p rdf:type ontology:Q56061 }
Jan van Cauwelaert Jerome Lyle Rappaport
action filter_type
action union
action find
entity Jerome Lyle Rappaport
relation place of birth
action find
entity Jan van Cauwelaert
relation place of birth
type administrative territorial entity
{'OR': [['Jerome Lyle Rappaport', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jan van Cauwelaert', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jerome_Lyle_Rappaport property:place_of_birth ?p } UNION { resource:Jan_van_Cauwelaert property:place_of_birth ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12892 Q60
SYSTEM
Antwerp, New York City
Q12892 Q60
OR((Q6182823,P19,c(Q56061)), (Q371362,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6182823
relation P19
action find
entity Q371362
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q6182823', 'P19', {'concept': 'Q56061'}], ['Q371362', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6182823 property:P19 ?p } UNION { resource:Q371362 property:P19 ?p } } . ?p rdf:type ontology:Q56061 }
Antwerp New York City
Which administrative territories were Jerome Lyle Rappaport or Jan van Cauwelaert born at
Antwerp New York City
action filter_type
action union
action find
entity Jerome Lyle Rappaport
relation place of birth
action find
entity Jan van Cauwelaert
relation place of birth
type administrative territorial entity
{'OR': [['Jerome Lyle Rappaport', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jan van Cauwelaert', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jerome_Lyle_Rappaport property:place_of_birth ?p } UNION { resource:Jan_van_Cauwelaert property:place_of_birth ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q585
P190
Q56061
USER
Are Oslo partner town of those ones ?
(Q585,P190,Q12892) (Q585,P190,Q60)
action is_in
entity prev_answer
action find
entity Q585
relation P190
['Q585', 'P190', 'Q12892'] ['Q585', 'P190', 'Q60']
ASK WHERE { VALUES ( ?b ) { ( resource:Q12892 ) ( resource:Q60 ) } . resource:Q585 property:P190 ?b }
Oslo
action is_in
entity prev_answer
action find
entity Oslo
relation sister city
['Oslo', 'sister city', 'Antwerp'] ['Oslo', 'sister city', 'New York City']
ASK WHERE { VALUES ( ?b ) { ( resource:Antwerp ) ( resource:New_York_City ) } . resource:Oslo property:sister_city ?b }
[]
administrative territorial entity
SYSTEM
YES
(Q585,P190,Q12892) (Q585,P190,Q60)
action is_in
entity prev_answer
action find
entity Q585
relation P190
[ANSWER]
['Q585', 'P190', 'Q12892'] ['Q585', 'P190', 'Q60']
ASK WHERE { VALUES ( ?b ) { ( resource:Q12892 ) ( resource:Q60 ) } . resource:Q585 property:P190 ?b }
Yes
action is_in
entity prev_answer
action find
entity Oslo
relation sister city
['Oslo', 'sister city', 'Antwerp'] ['Oslo', 'sister city', 'New York City']
ASK WHERE { VALUES ( ?b ) { ( resource:Antwerp ) ( resource:New_York_City ) } . resource:Oslo property:sister_city ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12892 Q317834
P190
Q515
USER
Is Kokubunji City partner town of Antwerp ?
(Q12892,P190,Q317834)
action is_in
entity Q317834
action find
entity Q12892
relation P190
['Q12892', 'P190', 'Q317834']
ASK WHERE { resource:Q12892 property:P190 resource:Q317834 }
Antwerp Kokubunji City
action is_in
entity Kokubunji City
action find
entity Antwerp
relation sister city
['Antwerp', 'sister city', 'Kokubunji City']
ASK WHERE { resource:Antwerp property:sister_city resource:Kokubunji_City }
[]
city
SYSTEM
NO
(Q12892,P190,Q317834)
action is_in
entity Q317834
action find
entity Q12892
relation P190
[ANSWER]
['Q12892', 'P190', 'Q317834']
ASK WHERE { resource:Q12892 property:P190 resource:Q317834 }
No
action is_in
entity Kokubunji City
action find
entity Antwerp
relation sister city
['Antwerp', 'sister city', 'Kokubunji City']
ASK WHERE { resource:Antwerp property:sister_city resource:Kokubunji_City }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12892 Q10972151
P6
Q502895
USER
How many people are the heads of the government of Antwerp or Morelia Municipality ?
(Q12892,P6,c(Q502895)) (Q10972151,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q12892
relation P6
type Q502895
action filter_type
action find
entity Q10972151
relation P6
type Q502895
['Q12892', 'P6', {'concept': 'Q502895'}] ['Q10972151', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Q12892 property:P6 ?s . ?s rdf:type ontology:Q502895 } UNION { resource:Q10972151 property:P6 ?s . ?s rdf:type ontology:Q502895 } }
Antwerp Morelia Municipality
action count
action union
action filter_type
action find
entity Antwerp
relation head of government
type common name
action filter_type
action find
entity Morelia Municipality
relation head of government
type common name
['Antwerp', 'head of government', {'concept': 'common name'}] ['Morelia Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Antwerp property:head_of_government ?s . ?s rdf:type ontology:common_name } UNION { resource:Morelia_Municipality property:head_of_government ?s . ?s rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q5666989 Q336599
(Q12892,P6,c(Q502895)) (Q10972151,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q12892
relation P6
type Q502895
action filter_type
action find
entity Q10972151
relation P6
type Q502895
[ANSWER]
['Q12892', 'P6', {'concept': 'Q502895'}] ['Q10972151', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Q12892 property:P6 ?s . ?s rdf:type ontology:Q502895 } UNION { resource:Q10972151 property:P6 ?s . ?s rdf:type ontology:Q502895 } }
Alfonso Martínez Alcázar Bart De Wever
2
action count
action union
action filter_type
action find
entity Antwerp
relation head of government
type common name
action filter_type
action find
entity Morelia Municipality
relation head of government
type common name
['Antwerp', 'head of government', {'concept': 'common name'}] ['Morelia Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Antwerp property:head_of_government ?s . ?s rdf:type ontology:common_name } UNION { resource:Morelia_Municipality property:head_of_government ?s . ?s rdf:type ontology:common_name } }
[]