Simple Question (Direct)
Simple Question
Q446672
P166
Q618779
USER
Which award was Marie-Guite Dufay awarded with ?
(Q446672,P166,c(Q618779))
action filter_type
action find
entity Q446672
relation P166
type Q618779
['Q446672', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q618779 . resource:Q446672 property:P166 ?d }
Marie-Guite Dufay
action filter_type
action find
entity Marie-Guite Dufay
relation award received
type award
['Marie-Guite Dufay', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:award . resource:Marie-Guite_Dufay property:award_received ?d }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q446672,P166,c(Q618779))
action filter_type
action find
entity Q446672
relation P166
type Q618779
Marie-Guite Dufay was awarded a [ANSWER]
['Q446672', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q618779 . resource:Q446672 property:P166 ?d }
Knight of the Legion of Honour
Marie-Guite Dufay was awarded a Knight of the Legion of Honour
Knight of the Legion of Honour
action filter_type
action find
entity Marie-Guite Dufay
relation award received
type award
['Marie-Guite Dufay', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:award . resource:Marie-Guite_Dufay property:award_received ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q446672
P21
Q290
USER
What is the sex of Marie-Guite Dufay ?
(Q446672,P21,c(Q290))
action filter_type
action find
entity Q446672
relation P21
type Q290
['Q446672', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q446672 property:P21 ?i . ?i rdf:type ontology:Q290 }
Marie-Guite Dufay
action filter_type
action find
entity Marie-Guite Dufay
relation gender
type sex
['Marie-Guite Dufay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Marie-Guite_Dufay property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q446672,P21,c(Q290))
action filter_type
action find
entity Q446672
relation P21
type Q290
The sex of Marie-Guite Dufay is the [ANSWER]
['Q446672', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q446672 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
The sex of Marie-Guite Dufay is the female
female
action filter_type
action find
entity Marie-Guite Dufay
relation gender
type sex
['Marie-Guite Dufay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Marie-Guite_Dufay property:gender ?i . ?i rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q2545457
P21
Q502895
USER
Does Jaap Haartsen have the gender as that sex ?
(Q2545457,P21,Q6581072)
action is_in
entity Q2545457
action find
entity Q6581072
relation P21
['Q2545457', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q2545457 }
female Jaap Haartsen
action is_in
entity Jaap Haartsen
action find
entity female
relation gender
['Jaap Haartsen', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Jaap_Haartsen }
[]
common name
SYSTEM
NO
(Q2545457,P21,Q6581072)
action is_in
entity Q2545457
action find
entity Q6581072
relation P21
[ANSWER]
['Q2545457', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q2545457 }
No
action is_in
entity Jaap Haartsen
action find
entity female
relation gender
['Jaap Haartsen', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Jaap_Haartsen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q446672 Q90
P19
Q56061
USER
Was Marie-Guite Dufay born in Paris ?
(Q446672,P19,Q90)
action is_in
entity Q90
action find
entity Q446672
relation P19
['Q446672', 'P19', 'Q90']
ASK WHERE { resource:Q446672 property:P19 resource:Q90 }
Marie-Guite Dufay Paris
action is_in
entity Paris
action find
entity Marie-Guite Dufay
relation place of birth
['Marie-Guite Dufay', 'place of birth', 'Paris']
ASK WHERE { resource:Marie-Guite_Dufay property:place_of_birth resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q446672,P19,Q90)
action is_in
entity Q90
action find
entity Q446672
relation P19
[ANSWER]
['Q446672', 'P19', 'Q90']
ASK WHERE { resource:Q446672 property:P19 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Marie-Guite Dufay
relation place of birth
['Marie-Guite Dufay', 'place of birth', 'Paris']
ASK WHERE { resource:Marie-Guite_Dufay property:place_of_birth resource:Paris }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q446672
P69
Q3914
USER
Which school was Marie-Guite Dufay educated at ?
(Q446672,P69,c(Q3914))
action filter_type
action find
entity Q446672
relation P69
type Q3914
['Q446672', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?o WHERE { resource:Q446672 property:P69 ?o . ?o rdf:type ontology:Q3914 }
Marie-Guite Dufay
action filter_type
action find
entity Marie-Guite Dufay
relation educated at
type school
['Marie-Guite Dufay', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?o WHERE { resource:Marie-Guite_Dufay property:educated_at ?o . ?o rdf:type ontology:school }
[]
school
Q859363
SYSTEM
Sciences Po
Q859363
(Q446672,P69,c(Q3914))
action filter_type
action find
entity Q446672
relation P69
type Q3914
Marie-Guite Dufay was educated at [ANSWER]
['Q446672', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?o WHERE { resource:Q446672 property:P69 ?o . ?o rdf:type ontology:Q3914 }
Sciences Po
Marie-Guite Dufay was educated at Sciences Po
Sciences Po
action filter_type
action find
entity Marie-Guite Dufay
relation educated at
type school
['Marie-Guite Dufay', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?o WHERE { resource:Marie-Guite_Dufay property:educated_at ?o . ?o rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q446672
P39
Q12737077
USER
What was the position held by that person ?
(Q859363,P39,c(Q12737077))
action filter_type
action find
entity Q446672
relation P39
type Q12737077
['Q859363', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q446672 property:P39 ?z }
Marie-Guite Dufay
action filter_type
action find
entity Marie-Guite Dufay
relation position held
type occupation
['Sciences Po', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Marie-Guite_Dufay property:position_held ?z }
[]
occupation
Q16886136
SYSTEM
conseiller régional
Q16886136
(Q859363,P39,c(Q12737077))
action filter_type
action find
entity Q446672
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q859363', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q446672 property:P39 ?z }
conseiller régional
The position held by that person was conseiller régional
conseiller régional
action filter_type
action find
entity Marie-Guite Dufay
relation position held
type occupation
['Sciences Po', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Marie-Guite_Dufay property:position_held ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16886136
P361
Q1752346
USER
What is that occupation a portion of ?
(Q16886136,P361,c(Q1752346))
action filter_type
action find
entity Q16886136
relation P361
type Q1752346
['Q16886136', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { resource:Q16886136 property:P361 ?c . ?c rdf:type ontology:Q1752346 }
conseiller régional
action filter_type
action find
entity conseiller régional
relation part of
type assembly
['conseiller régional', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { resource:conseiller_régional property:part_of ?c . ?c rdf:type ontology:assembly }
[]
assembly
Q583157
SYSTEM
regional council
Q583157
(Q16886136,P361,c(Q1752346))
action filter_type
action find
entity Q16886136
relation P361
type Q1752346
That occupation a portion of is a [ANSWER]
['Q16886136', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { resource:Q16886136 property:P361 ?c . ?c rdf:type ontology:Q1752346 }
regional council
That occupation a portion of is a regional council
regional council
action filter_type
action find
entity conseiller régional
relation part of
type assembly
['conseiller régional', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { resource:conseiller_régional property:part_of ?c . ?c rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15063715 Q583157
P17
Q15617994
USER
Which administrative territories do regional council or Mullikkoräme mine belong to ?
OR((Q583157,P17,c(Q15617994)), (Q15063715,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q583157
relation P17
action find
entity Q15063715
relation P17
type Q15617994
{'OR': [['Q583157', 'P17', {'concept': 'Q15617994'}], ['Q15063715', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q583157 property:P17 ?y } UNION { resource:Q15063715 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Mullikkoräme mine regional council
action filter_type
action union
action find
entity regional council
relation country
action find
entity Mullikkoräme mine
relation country
type designation for an administrative territorial entity
{'OR': [['regional council', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mullikkoräme mine', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:regional_council property:country ?y } UNION { resource:Mullikkoräme_mine property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q33
SYSTEM
France, Finland
Q142 Q33
OR((Q583157,P17,c(Q15617994)), (Q15063715,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q583157
relation P17
action find
entity Q15063715
relation P17
type Q15617994
Regional council or Mullikkoräme mine belong to the [ANSWERS]
{'OR': [['Q583157', 'P17', {'concept': 'Q15617994'}], ['Q15063715', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q583157 property:P17 ?y } UNION { resource:Q15063715 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
France Finland
Regional council or Mullikkoräme mine belong to the France and Finland
France Finland
action filter_type
action union
action find
entity regional council
relation country
action find
entity Mullikkoräme mine
relation country
type designation for an administrative territorial entity
{'OR': [['regional council', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mullikkoräme mine', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:regional_council property:country ?y } UNION { resource:Mullikkoräme_mine property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q33
P6
Q502895
USER
What people are France and Finland the head of goverment of ?
(Q142,P6,c(Q502895)) (Q33,P6,c(Q502895))
action union
action filter_type
action find
entity Q142
relation P6
type Q502895
action filter_type
action find
entity Q33
relation P6
type Q502895
['Q142', 'P6', {'concept': 'Q502895'}] ['Q33', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?b property:P6 ?j . VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q33 ) } }
France Finland
action union
action filter_type
action find
entity France
relation head of government
type common name
action filter_type
action find
entity Finland
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}] ['Finland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?b property:head_of_government ?j . VALUES ( ?b ) { ( resource:France ) ( resource:Finland ) } }
[]
common name
Q10287 Q57638 Q7711
SYSTEM
Manuel Valls, Jyrki Katainen, Jean-Marc Ayrault
Q10287 Q7711 Q1711532 Q57638 Q503143
(Q142,P6,c(Q502895)) (Q33,P6,c(Q502895))
action union
action filter_type
action find
entity Q142
relation P6
type Q502895
action filter_type
action find
entity Q33
relation P6
type Q502895
[ANSWERS] are France and Finland the head of goverment of
['Q142', 'P6', {'concept': 'Q502895'}] ['Q33', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?b property:P6 ?j . VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q33 ) } }
Manuel Valls Jean-Marc Ayrault Juha Sipilä Jyrki Katainen Alexander Stubb
Manuel Valls, Jyrki Katainen and Jean-Marc Ayrault are France and Finland the head of goverment of
Manuel Valls Jyrki Katainen Jean-Marc Ayrault
action union
action filter_type
action find
entity France
relation head of government
type common name
action filter_type
action find
entity Finland
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}] ['Finland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?b property:head_of_government ?j . VALUES ( ?b ) { ( resource:France ) ( resource:Finland ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7711
P102
Q7210356
USER
Which party does that person belong to ?
(Q7711,P102,c(Q7210356))
action filter_type
action find
entity Q7711
relation P102
type Q7210356
['Q7711', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q7711 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Jean-Marc Ayrault
action filter_type
action find
entity Jean-Marc Ayrault
relation member of political party
type political organization
['Jean-Marc Ayrault', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Marc_Ayrault property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q57638
SYSTEM
Did you mean Jyrki Katainen ?
Q10287 Q57638 Q7711
(Q10287,P102,c(Q7210356)) (Q57638,P102,c(Q7210356)) (Q7711,P102,c(Q7210356))
[ANSWER]
['Q10287', 'P102', {'concept': 'Q7210356'}] ['Q57638', 'P102', {'concept': 'Q7210356'}] ['Q7711', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q7711 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Manuel Valls Jyrki Katainen Jean-Marc Ayrault
Did you mean Jyrki Katainen ?
Jyrki Katainen
['Manuel Valls', 'member of political party', {'concept': 'political organization'}] ['Jyrki Katainen', 'member of political party', {'concept': 'political organization'}] ['Jean-Marc Ayrault', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Marc_Ayrault property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Jean-Marc Ayrault. Could you tell me the answer for that?
(Q7711,P102,c(Q7210356))
Q7711
['Q7711', 'P102', {'concept': 'Q7210356'}]
['Jean-Marc Ayrault', 'member of political party', {'concept': 'political organization'}]
[]
Q170972
SYSTEM
Socialist Party
Q170972
(Q7711,P102,c(Q7210356))
action filter_type
action find
entity Q7711
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q7711', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q7711 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Socialist Party
That person belongs to Socialist Party
Socialist Party
action filter_type
action find
entity Jean-Marc Ayrault
relation member of political party
type political organization
['Jean-Marc Ayrault', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Marc_Ayrault property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]