Simple Question (Direct)
Simple Question
Q4805424
P27
Q15617994
USER
Which administrative territory is the native country of Ashley Fernandes ?
(Q4805424,P27,c(Q15617994))
action filter_type
action find
entity Q4805424
relation P27
type Q15617994
['Q4805424', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4805424 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Ashley Fernandes
action filter_type
action find
entity Ashley Fernandes
relation country of citizenship
type designation for an administrative territorial entity
['Ashley Fernandes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ashley_Fernandes property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q4805424,P27,c(Q15617994))
action filter_type
action find
entity Q4805424
relation P27
type Q15617994
In [ANSWER] is the native country of Ashley Fernandes
['Q4805424', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4805424 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
India
In India is the native country of Ashley Fernandes
India
action filter_type
action find
entity Ashley Fernandes
relation country of citizenship
type designation for an administrative territorial entity
['Ashley Fernandes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ashley_Fernandes property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4805424
P21
Q290
USER
Which sex does Ashley Fernandes possess ?
(Q4805424,P21,c(Q290))
action filter_type
action find
entity Q4805424
relation P21
type Q290
['Q4805424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q4805424 property:P21 ?j . ?j rdf:type ontology:Q290 }
Ashley Fernandes
action filter_type
action find
entity Ashley Fernandes
relation gender
type sex
['Ashley Fernandes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Ashley_Fernandes property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4805424,P21,c(Q290))
action filter_type
action find
entity Q4805424
relation P21
type Q290
Ashley Fernandes possesses un [ANSWER]
['Q4805424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q4805424 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Ashley Fernandes possesses un male
male
action filter_type
action find
entity Ashley Fernandes
relation gender
type sex
['Ashley Fernandes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Ashley_Fernandes property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2546060
Q290
USER
And how about Walter Sauermilch?
(Q2546060,P21,c(Q290))
action filter_type
action find
entity Q2546060
relation P21
type Q290
['Q2546060', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q2546060 property:P21 ?m . ?m rdf:type ontology:Q290 }
Walter Sauermilch
action filter_type
action find
entity Walter Sauermilch
relation gender
type sex
['Walter Sauermilch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Walter_Sauermilch property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2546060,P21,c(Q290))
action filter_type
action find
entity Q2546060
relation P21
type Q290
[ANSWER]
['Q2546060', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q2546060 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Walter Sauermilch
relation gender
type sex
['Walter Sauermilch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Walter_Sauermilch property:gender ?m . ?m rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q556456
P21
Q502895
USER
Does Jan Peeters have the gender as that sex ?
(Q556456,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q556456
relation P21
['Q556456', 'P21', 'Q6581097']
ASK WHERE { resource:Q556456 property:P21 resource:Q6581097 }
male Jan Peeters
action is_in
entity male
action find
entity Jan Peeters
relation gender
['Jan Peeters', 'gender', 'male']
ASK WHERE { resource:Jan_Peeters property:gender resource:male }
[]
common name
SYSTEM
YES
(Q556456,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q556456
relation P21
[ANSWER]
['Q556456', 'P21', 'Q6581097']
ASK WHERE { resource:Q556456 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Jan Peeters
relation gender
['Jan Peeters', 'gender', 'male']
ASK WHERE { resource:Jan_Peeters property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q668 Q183 Q1792781
P530
Q1048835
USER
Does India have tactful political relations with Germany and Córrego do Bom Jesus ?
(Q668,P530,Q183) (Q668,P530,Q1792781)
action is_in
entity Q668
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q1792781
relation P530
['Q668', 'P530', 'Q183'] ['Q668', 'P530', 'Q1792781']
ASK WHERE { resource:Q668 property:P530 resource:Q183 . resource:Q668 property:P530 resource:Q1792781 }
India Germany Córrego do Bom Jesus
action is_in
entity India
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Córrego do Bom Jesus
relation diplomatic relation
['India', 'diplomatic relation', 'Germany'] ['India', 'diplomatic relation', 'Córrego do Bom Jesus']
ASK WHERE { resource:India property:diplomatic_relation resource:Germany . resource:India property:diplomatic_relation resource:Córrego_do_Bom_Jesus }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q668,P530,Q183) (Q668,P530,Q1792781)
action is_in
entity Q668
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q1792781
relation P530
[ANSWER]
['Q668', 'P530', 'Q183'] ['Q668', 'P530', 'Q1792781']
ASK WHERE { resource:Q668 property:P530 resource:Q183 . resource:Q668 property:P530 resource:Q1792781 }
YES and NO respectively
action is_in
entity India
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Córrego do Bom Jesus
relation diplomatic relation
['India', 'diplomatic relation', 'Germany'] ['India', 'diplomatic relation', 'Córrego do Bom Jesus']
ASK WHERE { resource:India property:diplomatic_relation resource:Germany . resource:India property:diplomatic_relation resource:Córrego_do_Bom_Jesus }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3660711 Q668
P17
Q15617994
USER
Which administrative territories do India or Haran belong to ?
OR((Q668,P17,c(Q15617994)), (Q3660711,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q668
relation P17
action find
entity Q3660711
relation P17
type Q15617994
{'OR': [['Q668', 'P17', {'concept': 'Q15617994'}], ['Q3660711', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q668 property:P17 ?q } UNION { resource:Q3660711 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Haran India
action filter_type
action union
action find
entity India
relation country
action find
entity Haran
relation country
type designation for an administrative territorial entity
{'OR': [['India', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Haran', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:India property:country ?q } UNION { resource:Haran property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q668
SYSTEM
Turkey, India
Q43 Q668
OR((Q668,P17,c(Q15617994)), (Q3660711,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q668
relation P17
action find
entity Q3660711
relation P17
type Q15617994
India or Haran belong to the [ANSWERS]
{'OR': [['Q668', 'P17', {'concept': 'Q15617994'}], ['Q3660711', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q668 property:P17 ?q } UNION { resource:Q3660711 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Turkey India
India or Haran belong to the Turkey and India
Turkey India
action filter_type
action union
action find
entity India
relation country
action find
entity Haran
relation country
type designation for an administrative territorial entity
{'OR': [['India', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Haran', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:India property:country ?q } UNION { resource:Haran property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q43 Q668
P17
Q15617994
USER
Which administrative territories are those ones present in ?
(Q43,P17,c(Q15617994)) (Q668,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q43', 'P17', {'concept': 'Q15617994'}] ['Q668', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . ?e property:P17 ?s . VALUES ( ?e ) { ( resource:Q43 ) ( resource:Q668 ) } }
Turkey India
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Turkey', 'country', {'concept': 'designation for an administrative territorial entity'}] ['India', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:country ?s . VALUES ( ?e ) { ( resource:Turkey ) ( resource:India ) } }
[]
designation for an administrative territorial entity
Q43 Q668
SYSTEM
Turkey, India
Q43 Q668
(Q43,P17,c(Q15617994)) (Q668,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Are those ones present in [ANSWERS] in
['Q43', 'P17', {'concept': 'Q15617994'}] ['Q668', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . ?e property:P17 ?s . VALUES ( ?e ) { ( resource:Q43 ) ( resource:Q668 ) } }
Turkey India
Are those ones present in Turkey and India in
Turkey India
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Turkey', 'country', {'concept': 'designation for an administrative territorial entity'}] ['India', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:country ?s . VALUES ( ?e ) { ( resource:Turkey ) ( resource:India ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P138
Q102786
USER
Which abbreviation is named after India ?
(c(Q102786),P138,Q43) (c(Q102786),P138,Q668)
action filter_type
action find_reverse
entity Q668
relation P138
type Q102786
[{'concept': 'Q102786'}, 'P138', 'Q43'] [{'concept': 'Q102786'}, 'P138', 'Q668']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q668 . ?r rdf:type ontology:Q102786 }
India
action filter_type
action find_reverse
entity India
relation named after
type abbreviation
[{'concept': 'abbreviation'}, 'named after', 'Turkey'] [{'concept': 'abbreviation'}, 'named after', 'India']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:India . ?r rdf:type ontology:abbreviation }
[]
abbreviation
Q833202
SYSTEM
BRIC
Q833202
(c(Q102786),P138,Q43) (c(Q102786),P138,Q668)
action filter_type
action find_reverse
entity Q668
relation P138
type Q102786
As [ANSWER] is named after India
[{'concept': 'Q102786'}, 'P138', 'Q43'] [{'concept': 'Q102786'}, 'P138', 'Q668']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q668 . ?r rdf:type ontology:Q102786 }
BRIC
As BRIC is named after India
BRIC
action filter_type
action find_reverse
entity India
relation named after
type abbreviation
[{'concept': 'abbreviation'}, 'named after', 'Turkey'] [{'concept': 'abbreviation'}, 'named after', 'India']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:India . ?r rdf:type ontology:abbreviation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3660711
P21 P20
Q502895
USER
Which people expired at Haran and have male as the sex ?
AND((c(Q502895),P20,Q3660711), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3660711
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q3660711'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P20 resource:Q3660711 . ?y property:P21 resource:Q6581097 }
male Haran
action filter_type
action intersection
action find_reverse
entity Haran
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Haran'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:place_of_death resource:Haran . ?y property:gender resource:male }
[]
common name
Q316221 Q382280 Q1446
SYSTEM
Ashur-uballit II, Publius Licinius Crassus, Caracalla
Q316221 Q382280 Q1446
AND((c(Q502895),P20,Q3660711), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3660711
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] expired at Haran and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q3660711'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P20 resource:Q3660711 . ?y property:P21 resource:Q6581097 }
Ashur-uballit II Publius Licinius Crassus Caracalla
Ashur-uballit II, Publius Licinius Crassus and Caracalla expired at Haran and have male as the sex
Ashur-uballit II Publius Licinius Crassus Caracalla
action filter_type
action intersection
action find_reverse
entity Haran
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Haran'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:place_of_death resource:Haran . ?y property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q316221 Q382280 Q1446
P21
Q290
USER
Which sexes do those people possess ?
(Q316221,P21,c(Q290)) (Q382280,P21,c(Q290)) (Q1446,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q316221', 'P21', {'concept': 'Q290'}] ['Q382280', 'P21', {'concept': 'Q290'}] ['Q1446', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Q316221 ) ( resource:Q382280 ) ( resource:Q1446 ) } . ?e property:P21 ?p . ?p rdf:type ontology:Q290 }
Ashur-uballit II Publius Licinius Crassus Caracalla
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ashur-uballit II', 'gender', {'concept': 'sex'}] ['Publius Licinius Crassus', 'gender', {'concept': 'sex'}] ['Caracalla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Ashur-uballit_II ) ( resource:Publius_Licinius_Crassus ) ( resource:Caracalla ) } . ?e property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q316221,P21,c(Q290)) (Q382280,P21,c(Q290)) (Q1446,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess a [ANSWER], [ANSWER] and [ANSWER]
['Q316221', 'P21', {'concept': 'Q290'}] ['Q382280', 'P21', {'concept': 'Q290'}] ['Q1446', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Q316221 ) ( resource:Q382280 ) ( resource:Q1446 ) } . ?e property:P21 ?p . ?p rdf:type ontology:Q290 }
male male male
Those people possess a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ashur-uballit II', 'gender', {'concept': 'sex'}] ['Publius Licinius Crassus', 'gender', {'concept': 'sex'}] ['Caracalla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?e ) { ( resource:Ashur-uballit_II ) ( resource:Publius_Licinius_Crassus ) ( resource:Caracalla ) } . ?e property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1446
P106
Q12737077
USER
What does Caracalla do for a living ?
(Q1446,P106,c(Q12737077))
action filter_type
action find
entity Q1446
relation P106
type Q12737077
['Q1446', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1446 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Caracalla
action filter_type
action find
entity Caracalla
relation occupation
type occupation
['Caracalla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Caracalla property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1446,P106,c(Q12737077))
action filter_type
action find
entity Q1446
relation P106
type Q12737077
[ANSWER] Caracalla does for a living
['Q1446', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1446 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
Politician Caracalla does for a living
politician
action filter_type
action find
entity Caracalla
relation occupation
type occupation
['Caracalla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Caracalla property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3183201
Q12737077
USER
And how about Jon Johnson?
(Q3183201,P106,c(Q12737077))
action filter_type
action find
entity Q3183201
relation P106
type Q12737077
['Q3183201', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3183201 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Jon Johnson
action filter_type
action find
entity Jon Johnson
relation occupation
type occupation
['Jon Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jon_Johnson property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q3180462
SYSTEM
sound editor
Q3180462
(Q3183201,P106,c(Q12737077))
action filter_type
action find
entity Q3183201
relation P106
type Q12737077
[ANSWER]
['Q3183201', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3183201 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
sound editor
sound editor
action filter_type
action find
entity Jon Johnson
relation occupation
type occupation
['Jon Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jon_Johnson property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q668 Q148
P17
Q14524493
USER
How many terrains are located in India and People's Republic of China ?
(c(Q14524493),P17,Q668) (c(Q14524493),P17,Q148)
action count
action intersection
action filter_type
action find_reverse
entity Q668
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q148
relation P17
type Q14524493
[{'concept': 'Q14524493'}, 'P17', 'Q668'] [{'concept': 'Q14524493'}, 'P17', 'Q148']
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P17 resource:Q148 . ?r rdf:type ontology:Q14524493 . ?r property:P17 resource:Q668 . ?r rdf:type ontology:Q14524493 }
India People's Republic of China
action count
action intersection
action filter_type
action find_reverse
entity India
relation country
type terrain
action filter_type
action find_reverse
entity People's Republic of China
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'India'] [{'concept': 'terrain'}, 'country', "People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:country resource:People's_Republic_of_China . ?r rdf:type ontology:terrain . ?r property:country resource:India . ?r rdf:type ontology:terrain }
[]
terrain
SYSTEM
2
Q7148872 Q7071061
(c(Q14524493),P17,Q668) (c(Q14524493),P17,Q148)
action count
action intersection
action filter_type
action find_reverse
entity Q668
relation P17
type Q14524493
action filter_type
action find_reverse
entity Q148
relation P17
type Q14524493
[ANSWER]
[{'concept': 'Q14524493'}, 'P17', 'Q668'] [{'concept': 'Q14524493'}, 'P17', 'Q148']
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P17 resource:Q148 . ?r rdf:type ontology:Q14524493 . ?r property:P17 resource:Q668 . ?r rdf:type ontology:Q14524493 }
Pauhunri Nyegyi Kansang
2
action count
action intersection
action filter_type
action find_reverse
entity India
relation country
type terrain
action filter_type
action find_reverse
entity People's Republic of China
relation country
type terrain
[{'concept': 'terrain'}, 'country', 'India'] [{'concept': 'terrain'}, 'country', "People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:country resource:People's_Republic_of_China . ?r rdf:type ontology:terrain . ?r property:country resource:India . ?r rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q391349
P417
Q1509831
USER
Which titles of Mary is the patron saint of Santa Maria Coghinas ?
(Q391349,P417,c(Q1509831))
action filter_type
action find
entity Q391349
relation P417
type Q1509831
['Q391349', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?l WHERE { resource:Q391349 property:P417 ?l . ?l rdf:type ontology:Q1509831 }
Santa Maria Coghinas
action filter_type
action find
entity Santa Maria Coghinas
relation patron saint
type titles of Mary
['Santa Maria Coghinas', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?l WHERE { resource:Santa_Maria_Coghinas property:patron_saint ?l . ?l rdf:type ontology:titles_of_Mary }
[]
titles of Mary
Q1636804
SYSTEM
Our Lady of Graces
Q1636804
(Q391349,P417,c(Q1509831))
action filter_type
action find
entity Q391349
relation P417
type Q1509831
[ANSWER] is the patron saint of Santa Maria Coghinas
['Q391349', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?l WHERE { resource:Q391349 property:P417 ?l . ?l rdf:type ontology:Q1509831 }
Our Lady of Graces
Our Lady of Graces is the patron saint of Santa Maria Coghinas
Our Lady of Graces
action filter_type
action find
entity Santa Maria Coghinas
relation patron saint
type titles of Mary
['Santa Maria Coghinas', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?l WHERE { resource:Santa_Maria_Coghinas property:patron_saint ?l . ?l rdf:type ontology:titles_of_Mary }
[]