Simple Question (Direct)
Simple Question
Q2901508
P106
Q12737077
USER
Which occupation is the profession of George Flash ?
(Q2901508,P106,c(Q12737077))
action filter_type
action find
entity Q2901508
relation P106
type Q12737077
['Q2901508', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2901508 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
George Flash
action filter_type
action find
entity George Flash
relation occupation
type occupation
['George Flash', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:George_Flash property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2901508,P106,c(Q12737077))
action filter_type
action find
entity Q2901508
relation P106
type Q12737077
The [ANSWER] is the profession of George Flash
['Q2901508', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2901508 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
The politician is the profession of George Flash
politician
action filter_type
action find
entity George Flash
relation occupation
type occupation
['George Flash', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:George_Flash property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Which person was appointed for the position of that occupation ?
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q82955 . ?s rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:politician . ?s rdf:type ontology:common_name }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] was appointed for the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q82955 . ?s rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari was appointed for the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:politician . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Who is associated with the field of occupation politician ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?q WHERE { resource:Q82955 property:P425 ?q . ?q rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?q WHERE { resource:politician property:field_of_this_occupation ?q . ?q rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
The [ANSWER] is associated with the field of occupation politician
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?q WHERE { resource:Q82955 property:P425 ?q . ?q rdf:type ontology:Q3769299 }
politics
The politics is associated with the field of occupation politician
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?q WHERE { resource:politician property:field_of_this_occupation ?q . ?q rdf:type ontology:human_behaviour }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q82955 Q119285
P921
Q191067
USER
How many articles were mainly based on politician or Aleutian Islands ?
(c(Q191067),P921,Q82955) (c(Q191067),P921,Q119285)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P921
type Q191067
action filter_type
action find_reverse
entity Q119285
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q82955'] [{'concept': 'Q191067'}, 'P921', 'Q119285']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u rdf:type ontology:Q191067 . ?u property:P921 resource:Q82955 } UNION { ?u property:P921 resource:Q119285 . ?u rdf:type ontology:Q191067 } }
politician Aleutian Islands
action count
action union
action filter_type
action find_reverse
entity politician
relation main subject
type article
action filter_type
action find_reverse
entity Aleutian Islands
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'politician'] [{'concept': 'article'}, 'main subject', 'Aleutian Islands']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u rdf:type ontology:article . ?u property:main_subject resource:politician } UNION { ?u property:main_subject resource:Aleutian_Islands . ?u rdf:type ontology:article } }
[]
article
SYSTEM
2
Q26388735 Q26388158
(c(Q191067),P921,Q82955) (c(Q191067),P921,Q119285)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P921
type Q191067
action filter_type
action find_reverse
entity Q119285
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q82955'] [{'concept': 'Q191067'}, 'P921', 'Q119285']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u rdf:type ontology:Q191067 . ?u property:P921 resource:Q82955 } UNION { ?u property:P921 resource:Q119285 . ?u rdf:type ontology:Q191067 } }
NIE / Aleutian Islands EB-11 / Aleutian Islands
2
action count
action union
action filter_type
action find_reverse
entity politician
relation main subject
type article
action filter_type
action find_reverse
entity Aleutian Islands
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'politician'] [{'concept': 'article'}, 'main subject', 'Aleutian Islands']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { ?u rdf:type ontology:article . ?u property:main_subject resource:politician } UNION { ?u property:main_subject resource:Aleutian_Islands . ?u rdf:type ontology:article } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26215129
P27
Q15617994
USER
Which administrative territory is the native country of Morteza Azari ?
(Q26215129,P27,c(Q15617994))
action filter_type
action find
entity Q26215129
relation P27
type Q15617994
['Q26215129', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q26215129 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation country of citizenship
type designation for an administrative territorial entity
['Morteza Azari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Morteza_Azari property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q26215129,P27,c(Q15617994))
action filter_type
action find
entity Q26215129
relation P27
type Q15617994
[ANSWER] is the native country of Morteza Azari
['Q26215129', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q26215129 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Iran
Iran is the native country of Morteza Azari
Iran
action filter_type
action find
entity Morteza Azari
relation country of citizenship
type designation for an administrative territorial entity
['Morteza Azari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Morteza_Azari property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q794
P101
Q502895
USER
Which people work in the domain of that administrative territory ?
(c(Q502895),P101,Q794)
action filter_type
action find_reverse
entity Q794
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q794']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q794 . ?c rdf:type ontology:Q502895 }
Iran
action filter_type
action find_reverse
entity Iran
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Iran']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:Iran . ?c rdf:type ontology:common_name }
[]
common name
Q20741355 Q25991769
SYSTEM
Negar Mortazavi, Holly Dagres
Q20741355 Q25991769
(c(Q502895),P101,Q794)
action filter_type
action find_reverse
entity Q794
relation P101
type Q502895
[ANSWERS] work in the domain of that administrative territory
[{'concept': 'Q502895'}, 'P101', 'Q794']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q794 . ?c rdf:type ontology:Q502895 }
Negar Mortazavi Holly Dagres
Negar Mortazavi and Holly Dagres work in the domain of that administrative territory
Negar Mortazavi Holly Dagres
action filter_type
action find_reverse
entity Iran
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Iran']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:Iran . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25991769
P21
Q290
USER
Which sex does that person belong to ?
(Q25991769,P21,c(Q290))
action filter_type
action find
entity Q25991769
relation P21
type Q290
['Q25991769', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q25991769 property:P21 ?i . ?i rdf:type ontology:Q290 }
Holly Dagres
action filter_type
action find
entity Holly Dagres
relation gender
type sex
['Holly Dagres', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Holly_Dagres property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q25991769
SYSTEM
Did you mean Holly Dagres ?
Q20741355 Q25991769
(Q20741355,P21,c(Q290)) (Q25991769,P21,c(Q290))
[ANSWER]
['Q20741355', 'P21', {'concept': 'Q290'}] ['Q25991769', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q25991769 property:P21 ?i . ?i rdf:type ontology:Q290 }
Negar Mortazavi Holly Dagres
Did you mean Holly Dagres ?
Holly Dagres
['Negar Mortazavi', 'gender', {'concept': 'sex'}] ['Holly Dagres', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Holly_Dagres property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q25991769,P21,c(Q290))
['Q25991769', 'P21', {'concept': 'Q290'}]
['Holly Dagres', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q25991769,P21,c(Q290))
action filter_type
action find
entity Q25991769
relation P21
type Q290
That person belongs to [ANSWER]
['Q25991769', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q25991769 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Holly Dagres
relation gender
type sex
['Holly Dagres', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Holly_Dagres property:gender ?i . ?i rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q2207288 Q193291
USER
How many crafts or spirits are a that sex ?
(c(Q2207288),P21,Q6581072) (c(Q193291),P21,Q6581072) (c(Q2207288),P21,Q6581072) (c(Q193291),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q2207288
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q193291
[{'concept': 'Q2207288'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072'] [{'concept': 'Q2207288'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:Q193291 ) ( ontology:Q2207288 ) } }
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type craft
action filter_type
action find_reverse
entity female
relation gender
type spirit
[{'concept': 'craft'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female'] [{'concept': 'craft'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:spirit ) ( ontology:craft ) } }
[]
craft spirit
SYSTEM
16
Q6727083 Q1888154 Q1359465 Q4683151 Q26436145 Q2454771 Q5594049 Q4750939 Q3293278 Q739947 Q6799152 Q5423293 Q1930712 Q1477162 Q6799149 Q1888234
(c(Q2207288),P21,Q6581072) (c(Q193291),P21,Q6581072) (c(Q2207288),P21,Q6581072) (c(Q193291),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q2207288
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q193291
[ANSWER]
[{'concept': 'Q2207288'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072'] [{'concept': 'Q2207288'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:Q193291 ) ( ontology:Q2207288 ) } }
Mademoiselle Charlotte Maman Brigitte Erzulie Adjassou-Linguetor Liz Climo Mawu Gran Maître Anaisa Pye Marinette Ayizan Maîtresse Hounon'gon Ezili Dantor Ayida-Weddo Yemaja Maîtresse Délai Mami Wata
16
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type craft
action filter_type
action find_reverse
entity female
relation gender
type spirit
[{'concept': 'craft'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female'] [{'concept': 'craft'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?d . VALUES ( ?d ) { ( ontology:spirit ) ( ontology:craft ) } }
[]