Simple Question (Direct)
Simple Question
Q17277890
P106
Q28640
USER
What is the profession of Sherman Ong ?
(Q17277890,P106,c(Q28640))
action filter_type
action find
entity Q17277890
relation P106
type Q28640
['Q17277890', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?a WHERE { resource:Q17277890 property:P106 ?a . ?a rdf:type ontology:Q28640 }
Sherman Ong
action filter_type
action find
entity Sherman Ong
relation occupation
type profession
['Sherman Ong', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?a WHERE { resource:Sherman_Ong property:occupation ?a . ?a rdf:type ontology:profession }
[]
profession
Q2526255
SYSTEM
film director
Q2526255
(Q17277890,P106,c(Q28640))
action filter_type
action find
entity Q17277890
relation P106
type Q28640
The profession of Sherman Ong is a [ANSWER]
['Q17277890', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?a WHERE { resource:Q17277890 property:P106 ?a . ?a rdf:type ontology:Q28640 }
film director
The profession of Sherman Ong is a film director
film director
action filter_type
action find
entity Sherman Ong
relation occupation
type profession
['Sherman Ong', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?a WHERE { resource:Sherman_Ong property:occupation ?a . ?a rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2526255
P39
Q502895
USER
Which people held the position of that profession ?
(c(Q502895),P39,Q2526255)
action filter_type
action find_reverse
entity Q2526255
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q2526255']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q2526255 . ?r rdf:type ontology:Q502895 }
film director
action filter_type
action find_reverse
entity film director
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'film director']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:film_director . ?r rdf:type ontology:common_name }
[]
common name
Q20630782 Q3446637 Q21575014
SYSTEM
Émilie Sengelin, Ruddy Pomarède, Mollie Miller
Q20630782 Q3446637 Q21575014
(c(Q502895),P39,Q2526255)
action filter_type
action find_reverse
entity Q2526255
relation P39
type Q502895
[ANSWERS] held the position of that profession
[{'concept': 'Q502895'}, 'P39', 'Q2526255']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q2526255 . ?r rdf:type ontology:Q502895 }
Émilie Sengelin Ruddy Pomarède Mollie Miller
Émilie Sengelin, Ruddy Pomarède and Mollie Miller held the position of that profession
Émilie Sengelin Ruddy Pomarède Mollie Miller
action filter_type
action find_reverse
entity film director
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'film director']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:film_director . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20630782
P21
Q290
USER
Which sex does that person possess ?
(Q20630782,P21,c(Q290))
action filter_type
action find
entity Q20630782
relation P21
type Q290
['Q20630782', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q20630782 property:P21 ?f . ?f rdf:type ontology:Q290 }
Émilie Sengelin
action filter_type
action find
entity Émilie Sengelin
relation gender
type sex
['Émilie Sengelin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Émilie_Sengelin property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q21575014
SYSTEM
Did you mean Mollie Miller ?
Q20630782 Q3446637 Q21575014
(Q20630782,P21,c(Q290)) (Q3446637,P21,c(Q290)) (Q21575014,P21,c(Q290))
[ANSWER]
['Q20630782', 'P21', {'concept': 'Q290'}] ['Q3446637', 'P21', {'concept': 'Q290'}] ['Q21575014', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q20630782 property:P21 ?f . ?f rdf:type ontology:Q290 }
Émilie Sengelin Ruddy Pomarède Mollie Miller
Did you mean Mollie Miller ?
Mollie Miller
['Émilie Sengelin', 'gender', {'concept': 'sex'}] ['Ruddy Pomarède', 'gender', {'concept': 'sex'}] ['Mollie Miller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Émilie_Sengelin property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Émilie Sengelin. Could you tell me the answer for that?
(Q20630782,P21,c(Q290))
Q20630782
['Q20630782', 'P21', {'concept': 'Q290'}]
['Émilie Sengelin', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q20630782,P21,c(Q290))
action filter_type
action find
entity Q20630782
relation P21
type Q290
That person possesses the [ANSWER]
['Q20630782', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q20630782 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Émilie Sengelin
relation gender
type sex
['Émilie Sengelin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Émilie_Sengelin property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581072
P136
Q502895
USER
Which people have that sex as their type ?
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?o WHERE { ?o property:P136 resource:Q6581072 . ?o rdf:type ontology:Q502895 }
female
action filter_type
action find_reverse
entity female
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?o WHERE { ?o property:genre resource:female . ?o rdf:type ontology:common_name }
[]
common name
Q19831537 Q23688633
SYSTEM
Luisa María Martí García, Eva Jospin
Q19831537 Q23688633
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[ANSWERS] have that sex as their type
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?o WHERE { ?o property:P136 resource:Q6581072 . ?o rdf:type ontology:Q502895 }
Luisa María Martí García Eva Jospin
Luisa María Martí García and Eva Jospin have that sex as their type
Luisa María Martí García Eva Jospin
action filter_type
action find_reverse
entity female
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?o WHERE { ?o property:genre resource:female . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23688633
P22
Q502895
USER
Who was the father of that one ?
(Q23688633,P22,c(Q502895))
action filter_type
action find
entity Q23688633
relation P22
type Q502895
['Q23688633', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q23688633 property:P22 ?d }
Eva Jospin
action filter_type
action find
entity Eva Jospin
relation father
type common name
['Eva Jospin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Eva_Jospin property:father ?d }
[]
common name
Clarification for simple ques.
Q19831537
SYSTEM
Did you mean Luisa María Martí García ?
Q19831537 Q23688633
(Q19831537,P22,c(Q502895)) (Q23688633,P22,c(Q502895))
[ANSWER]
['Q19831537', 'P22', {'concept': 'Q502895'}] ['Q23688633', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q23688633 property:P22 ?d }
Luisa María Martí García Eva Jospin
Did you mean Luisa María Martí García ?
Luisa María Martí García
['Luisa María Martí García', 'father', {'concept': 'common name'}] ['Eva Jospin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Eva_Jospin property:father ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Eva Jospin. Could you tell me the answer for that?
(Q23688633,P22,c(Q502895))
Q23688633
['Q23688633', 'P22', {'concept': 'Q502895'}]
['Eva Jospin', 'father', {'concept': 'common name'}]
[]
Q187099
SYSTEM
Lionel Jospin
Q187099
(Q23688633,P22,c(Q502895))
action filter_type
action find
entity Q23688633
relation P22
type Q502895
The father of that one was Father [ANSWER]
['Q23688633', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q23688633 property:P22 ?d }
Lionel Jospin
The father of that one was Father Lionel Jospin
Lionel Jospin
action filter_type
action find
entity Eva Jospin
relation father
type common name
['Eva Jospin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Eva_Jospin property:father ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q187099 Q151711
P161
Q838948
USER
Does Marie-Jo and Her Two Lovers have that person as actor ?
(Q151711,P161,Q187099)
action is_in
entity Q187099
action find
entity Q151711
relation P161
['Q151711', 'P161', 'Q187099']
ASK WHERE { resource:Q151711 property:P161 resource:Q187099 }
Lionel Jospin Marie-Jo and Her Two Lovers
action is_in
entity Lionel Jospin
action find
entity Marie-Jo and Her Two Lovers
relation cast member
['Marie-Jo and Her Two Lovers', 'cast member', 'Lionel Jospin']
ASK WHERE { resource:Marie-Jo_and_Her_Two_Lovers property:cast_member resource:Lionel_Jospin }
[]
work of art
SYSTEM
YES
(Q151711,P161,Q187099)
action is_in
entity Q187099
action find
entity Q151711
relation P161
[ANSWER]
['Q151711', 'P161', 'Q187099']
ASK WHERE { resource:Q151711 property:P161 resource:Q187099 }
Yes
action is_in
entity Lionel Jospin
action find
entity Marie-Jo and Her Two Lovers
relation cast member
['Marie-Jo and Her Two Lovers', 'cast member', 'Lionel Jospin']
ASK WHERE { resource:Marie-Jo_and_Her_Two_Lovers property:cast_member resource:Lionel_Jospin }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q12973014 Q2235308
USER
How many people were crew members of approximately 3 sports teams and ship types ?
(c(Q12973014)|c(Q2235308),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
value 3
[[{'concept': 'Q12973014'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?d WHERE { { ?w property:P1029 ?d . ?w rdf:type ontology:Q12973014 . ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q502895 . ?w rdf:type ontology:Q2235308 . ?w property:P1029 ?d } } GROUP BY ?d } . FILTER ( ?r = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
value 3
[[{'concept': 'sports team'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?d WHERE { { ?w property:crew_member ?d . ?w rdf:type ontology:sports_team . ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:common_name . ?w rdf:type ontology:ship_type . ?w property:crew_member ?d } } GROUP BY ?d } . FILTER ( ?r = 3 ) }
[]
common name sports team ship type
SYSTEM
2
Q97007 Q461881
(c(Q12973014)|c(Q2235308),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
value 3
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?d WHERE { { ?w property:P1029 ?d . ?w rdf:type ontology:Q12973014 . ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q502895 . ?w rdf:type ontology:Q2235308 . ?w property:P1029 ?d } } GROUP BY ?d } . FILTER ( ?r = 3 ) }
Alexandre Imperatori Mike Conway
2
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
value 3
[[{'concept': 'sports team'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?d WHERE { { ?w property:crew_member ?d . ?w rdf:type ontology:sports_team . ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:common_name . ?w rdf:type ontology:ship_type . ?w property:crew_member ?d } } GROUP BY ?d } . FILTER ( ?r = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q187099
P50
Q820655
USER
Which statute was written by Lionel Jospin ?
(c(Q820655),P50,Q187099)
action filter_type
action find_reverse
entity Q187099
relation P50
type Q820655
[{'concept': 'Q820655'}, 'P50', 'Q187099']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q187099 . ?n rdf:type ontology:Q820655 }
Lionel Jospin
action filter_type
action find_reverse
entity Lionel Jospin
relation author
type statute
[{'concept': 'statute'}, 'author', 'Lionel Jospin']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Lionel_Jospin . ?n rdf:type ontology:statute }
[]
statute
Q15079601
SYSTEM
loi n° 2002-5 du 4 janvier 2002 relative aux musées de France
Q15079601
(c(Q820655),P50,Q187099)
action filter_type
action find_reverse
entity Q187099
relation P50
type Q820655
[ANSWER] was written by Lionel Jospin
[{'concept': 'Q820655'}, 'P50', 'Q187099']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q187099 . ?n rdf:type ontology:Q820655 }
loi n° 2002-5 du 4 janvier 2002 relative aux musées de France
Loi n° 2002-5 du 4 janvier 2002 relative aux musées de France was written by Lionel Jospin
loi n° 2002-5 du 4 janvier 2002 relative aux musées de France
action filter_type
action find_reverse
entity Lionel Jospin
relation author
type statute
[{'concept': 'statute'}, 'author', 'Lionel Jospin']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Lionel_Jospin . ?n rdf:type ontology:statute }
[]