Simple Question (Direct)
Simple Question
Q3027611
P734
Q82799
USER
Which name is associated with Dieudonné Lancelot ?
(Q3027611,P734,c(Q82799))
action filter_type
action find
entity Q3027611
relation P734
type Q82799
['Q3027611', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3027611 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Dieudonné Lancelot
action filter_type
action find
entity Dieudonné Lancelot
relation family name
type name
['Dieudonné Lancelot', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Dieudonné_Lancelot property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q24698749
SYSTEM
Lancelot
Q24698749
(Q3027611,P734,c(Q82799))
action filter_type
action find
entity Q3027611
relation P734
type Q82799
[ANSWER] is associated with Dieudonné [ANSWER]
['Q3027611', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3027611 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Lancelot
Lancelot is associated with Dieudonné Lancelot
Lancelot
action filter_type
action find
entity Dieudonné Lancelot
relation family name
type name
['Dieudonné Lancelot', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Dieudonné_Lancelot property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3027611
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q24698749,P20,c(Q56061))
action filter_type
action find
entity Q3027611
relation P20
type Q56061
['Q24698749', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q3027611 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Dieudonné Lancelot
action filter_type
action find
entity Dieudonné Lancelot
relation place of death
type administrative territorial entity
['Lancelot', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dieudonné_Lancelot property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q24698749,P20,c(Q56061))
action filter_type
action find
entity Q3027611
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q24698749', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q3027611 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Paris
The expiration of that person occurred in Paris
Paris
action filter_type
action find
entity Dieudonné Lancelot
relation place of death
type administrative territorial entity
['Lancelot', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dieudonné_Lancelot property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
How many administrative territories are lesser number of holidays a patron saint of than that administrative territory ?
(c(Q56061),P417,c(Q1445650))
action count
action less
action find_tuple_counts
relation P417
type Q1445650
type Q56061
action count
action filter_type
action find
entity Q90
relation P417
type Q1445650
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j rdf:type ontology:Q1445650 . resource:Q90 property:P417 ?j } } . FILTER ( ?m < ?t ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?m ) WHERE { ?g property:P417 ?n . ?g rdf:type ontology:Q1445650 . ?n rdf:type ontology:Q56061 } GROUP BY ?g } }
action count
action less
action find_tuple_counts
relation patron saint
type holiday
type administrative territorial entity
action count
action filter_type
action find
entity Paris
relation patron saint
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j rdf:type ontology:holiday . resource:Paris property:patron_saint ?j } } . FILTER ( ?m < ?t ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?m ) WHERE { ?g property:patron_saint ?n . ?g rdf:type ontology:holiday . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } }
[]
holiday administrative territorial entity
SYSTEM
0
(c(Q56061),P417,c(Q1445650))
action count
action less
action find_tuple_counts
relation P417
type Q1445650
type Q56061
action count
action filter_type
action find
entity Q90
relation P417
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j rdf:type ontology:Q1445650 . resource:Q90 property:P417 ?j } } . FILTER ( ?m < ?t ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?m ) WHERE { ?g property:P417 ?n . ?g rdf:type ontology:Q1445650 . ?n rdf:type ontology:Q56061 } GROUP BY ?g } }
0
action count
action less
action find_tuple_counts
relation patron saint
type holiday
type administrative territorial entity
action count
action filter_type
action find
entity Paris
relation patron saint
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j rdf:type ontology:holiday . resource:Paris property:patron_saint ?j } } . FILTER ( ?m < ?t ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?m ) WHERE { ?g property:patron_saint ?n . ?g rdf:type ontology:holiday . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21074140 Q3027611
P27
Q15617994
USER
Which administrative territories are Dieudonné Lancelot or Johannes De Paepe a civilian of ?
OR((Q3027611,P27,c(Q15617994)), (Q21074140,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3027611
relation P27
action find
entity Q21074140
relation P27
type Q15617994
{'OR': [['Q3027611', 'P27', {'concept': 'Q15617994'}], ['Q21074140', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3027611 property:P27 ?g } UNION { resource:Q21074140 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Johannes De Paepe Dieudonné Lancelot
action filter_type
action union
action find
entity Dieudonné Lancelot
relation country of citizenship
action find
entity Johannes De Paepe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dieudonné Lancelot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Johannes De Paepe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dieudonné_Lancelot property:country_of_citizenship ?g } UNION { resource:Johannes_De_Paepe property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31
SYSTEM
France, Belgium
Q142 Q31
OR((Q3027611,P27,c(Q15617994)), (Q21074140,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3027611
relation P27
action find
entity Q21074140
relation P27
type Q15617994
[ANSWERS] are Dieudonné Lancelot or Johannes De Paepe a civilian of
{'OR': [['Q3027611', 'P27', {'concept': 'Q15617994'}], ['Q21074140', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3027611 property:P27 ?g } UNION { resource:Q21074140 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
France Belgium
France and Belgium are Dieudonné Lancelot or Johannes De Paepe a civilian of
France Belgium
action filter_type
action union
action find
entity Dieudonné Lancelot
relation country of citizenship
action find
entity Johannes De Paepe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dieudonné Lancelot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Johannes De Paepe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dieudonné_Lancelot property:country_of_citizenship ?g } UNION { resource:Johannes_De_Paepe property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16553446
P495
Q15416
USER
Did Orphan Black season 2 originate in those administrative territories ?
(Q16553446,P495,Q142) (Q16553446,P495,Q31)
action is_in
entity prev_answer
action find
entity Q16553446
relation P495
['Q16553446', 'P495', 'Q142'] ['Q16553446', 'P495', 'Q31']
ASK WHERE { VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q31 ) } . resource:Q16553446 property:P495 ?b }
Orphan Black season 2
action is_in
entity prev_answer
action find
entity Orphan Black season 2
relation country of origin
['Orphan Black season 2', 'country of origin', 'France'] ['Orphan Black season 2', 'country of origin', 'Belgium']
ASK WHERE { VALUES ( ?b ) { ( resource:France ) ( resource:Belgium ) } . resource:Orphan_Black_season_2 property:country_of_origin ?b }
[]
television program
SYSTEM
NO
(Q16553446,P495,Q142) (Q16553446,P495,Q31)
action is_in
entity prev_answer
action find
entity Q16553446
relation P495
[ANSWER]
['Q16553446', 'P495', 'Q142'] ['Q16553446', 'P495', 'Q31']
ASK WHERE { VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q31 ) } . resource:Q16553446 property:P495 ?b }
No
action is_in
entity prev_answer
action find
entity Orphan Black season 2
relation country of origin
['Orphan Black season 2', 'country of origin', 'France'] ['Orphan Black season 2', 'country of origin', 'Belgium']
ASK WHERE { VALUES ( ?b ) { ( resource:France ) ( resource:Belgium ) } . resource:Orphan_Black_season_2 property:country_of_origin ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q846
P463
Q43229
USER
How many organizations were France and Qatar a member of ?
(Q142,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q846 property:P463 ?j . ?j rdf:type ontology:Q43229 . resource:Q142 property:P463 ?j . ?j rdf:type ontology:Q43229 }
France Qatar
action count
action intersection
action filter_type
action find
entity France
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['France', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Qatar property:member_of ?j . ?j rdf:type ontology:organization . resource:France property:member_of ?j . ?j rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q7825 Q191384 Q899770 Q656801
(Q142,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
[ANSWER]
['Q142', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q846 property:P463 ?j . ?j rdf:type ontology:Q43229 . resource:Q142 property:P463 ?j . ?j rdf:type ontology:Q43229 }
World Trade Organization International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation
4
action count
action intersection
action filter_type
action find
entity France
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['France', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Qatar property:member_of ?j . ?j rdf:type ontology:organization . resource:France property:member_of ?j . ?j rdf:type ontology:organization }
[]