Simple Question (Direct)
Simple Question
Q167749
P190
Q20667921
USER
Which french administrative division is partner town of Nahariya ?
(Q167749,P190,c(Q20667921))
action filter_type
action find
entity Q167749
relation P190
type Q20667921
['Q167749', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q167749 property:P190 ?p }
Nahariya
action filter_type
action find
entity Nahariya
relation sister city
type type of french administrative division
['Nahariya', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Nahariya property:sister_city ?p }
[]
type of french administrative division
Q135265
SYSTEM
Issy-les-Moulineaux
Q135265
(Q167749,P190,c(Q20667921))
action filter_type
action find
entity Q167749
relation P190
type Q20667921
[ANSWER] is partner town of Nahariya
['Q167749', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q167749 property:P190 ?p }
Issy-les-Moulineaux
Issy-les-Moulineaux is partner town of Nahariya
Issy-les-Moulineaux
action filter_type
action find
entity Nahariya
relation sister city
type type of french administrative division
['Nahariya', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Nahariya property:sister_city ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q167749
P17
Q15617994
USER
Which administrative territory is Nahariya situated in ?
(Q167749,P17,c(Q15617994))
action filter_type
action find
entity Q167749
relation P17
type Q15617994
['Q167749', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q167749 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Nahariya
action filter_type
action find
entity Nahariya
relation country
type designation for an administrative territorial entity
['Nahariya', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Nahariya property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q167749,P17,c(Q15617994))
action filter_type
action find
entity Q167749
relation P17
type Q15617994
Nahariya is situated in [ANSWER]
['Q167749', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q167749 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Israel
Nahariya is situated in Israel
Israel
action filter_type
action find
entity Nahariya
relation country
type designation for an administrative territorial entity
['Nahariya', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Nahariya property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q801
P915
Q838948
USER
Which work of art had that administrative territory as its location of filming ?
(c(Q838948),P915,Q801)
action filter_type
action find_reverse
entity Q801
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q801']
SELECT DISTINCT ?e WHERE { ?e property:P915 resource:Q801 . ?e rdf:type ontology:Q838948 }
Israel
action filter_type
action find_reverse
entity Israel
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Israel']
SELECT DISTINCT ?e WHERE { ?e property:filming_location resource:Israel . ?e rdf:type ontology:work_of_art }
[]
work of art
Q3574953
SYSTEM
Zaytoun
Q3574953
(c(Q838948),P915,Q801)
action filter_type
action find_reverse
entity Q801
relation P915
type Q838948
[ANSWER] had that administrative territory as its location of filming
[{'concept': 'Q838948'}, 'P915', 'Q801']
SELECT DISTINCT ?e WHERE { ?e property:P915 resource:Q801 . ?e rdf:type ontology:Q838948 }
Zaytoun
Zaytoun had that administrative territory as its location of filming
Zaytoun
action filter_type
action find_reverse
entity Israel
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Israel']
SELECT DISTINCT ?e WHERE { ?e property:filming_location resource:Israel . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3574953
P161
Q502895
USER
Which people are in that work of art ?
(Q3574953,P161,c(Q502895))
action filter_type
action find
entity Q3574953
relation P161
type Q502895
['Q3574953', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3574953 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Zaytoun
action filter_type
action find
entity Zaytoun
relation cast member
type common name
['Zaytoun', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Zaytoun property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q236056 Q265232 Q6585260
SYSTEM
Mira Awad, Alice Taglioni, Doron Amit
Q6585260 Q334195 Q265232 Q2836362 Q236056 Q6970720 Q3257588 Q3036966 Q3515717 Q3182852 Q2866585 Q11855186
(Q3574953,P161,c(Q502895))
action filter_type
action find
entity Q3574953
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q3574953', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3574953 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Doron Amit Stephen Dorff Alice Taglioni Ali Suliman Mira Awad Vered Feldman Loai Nofi Doraid Liddawi Tarik Kopty Johnny Arbid Ashraf Barhom Abdallah El Akal
Mira Awad, Alice Taglioni and Doron Amit are in that work of art
Mira Awad Alice Taglioni Doron Amit
action filter_type
action find
entity Zaytoun
relation cast member
type common name
['Zaytoun', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Zaytoun property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q236056
P21
Q290
USER
Which sex does that person belong to ?
(Q236056,P21,c(Q290))
action filter_type
action find
entity Q236056
relation P21
type Q290
['Q236056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q236056 property:P21 ?l . ?l rdf:type ontology:Q290 }
Mira Awad
action filter_type
action find
entity Mira Awad
relation gender
type sex
['Mira Awad', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Mira_Awad property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q265232
SYSTEM
Did you mean Alice Taglioni ?
Q236056 Q265232 Q6585260
(Q236056,P21,c(Q290)) (Q265232,P21,c(Q290)) (Q6585260,P21,c(Q290))
[ANSWER]
['Q236056', 'P21', {'concept': 'Q290'}] ['Q265232', 'P21', {'concept': 'Q290'}] ['Q6585260', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q236056 property:P21 ?l . ?l rdf:type ontology:Q290 }
Mira Awad Alice Taglioni Doron Amit
Did you mean Alice Taglioni ?
Alice Taglioni
['Mira Awad', 'gender', {'concept': 'sex'}] ['Alice Taglioni', 'gender', {'concept': 'sex'}] ['Doron Amit', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Mira_Awad property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Mira Awad. Could you tell me the answer for that?
(Q236056,P21,c(Q290))
Q236056
['Q236056', 'P21', {'concept': 'Q290'}]
['Mira Awad', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q236056,P21,c(Q290))
action filter_type
action find
entity Q236056
relation P21
type Q290
That person belongs to [ANSWER]
['Q236056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q236056 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Mira Awad
relation gender
type sex
['Mira Awad', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Mira_Awad property:gender ?l . ?l rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes do more number of people possess than that sex ?
(c(Q502895),P21,c(Q290))
action count
action greater
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P21 ?k . ?k rdf:type ontology:Q290 . ?m rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q6581072 property:P21 ?w . ?w rdf:type ontology:Q290 } } . FILTER ( ?t > ?d ) }
action count
action greater
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:gender ?k . ?k rdf:type ontology:sex . ?m rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:female property:gender ?w . ?w rdf:type ontology:sex } } . FILTER ( ?t > ?d ) }
[]
sex common name
SYSTEM
1
Q6581097
(c(Q502895),P21,c(Q290))
action count
action greater
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P21 ?k . ?k rdf:type ontology:Q290 . ?m rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q6581072 property:P21 ?w . ?w rdf:type ontology:Q290 } } . FILTER ( ?t > ?d ) }
male
1
action count
action greater
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:gender ?k . ?k rdf:type ontology:sex . ?m rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:female property:gender ?w . ?w rdf:type ontology:sex } } . FILTER ( ?t > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P740
Q43229
USER
Which are the organizations that originates at Israel ?
(c(Q43229),P740,Q801)
action filter_type
action find_reverse
entity Q801
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q801']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q801 . ?f rdf:type ontology:Q43229 }
Israel
action filter_type
action find_reverse
entity Israel
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Israel']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Israel . ?f rdf:type ontology:organization }
[]
organization
Q2573130 Q5644134 Q6810355
SYSTEM
Walla!, Hamashbir Lazarchan, Meitar Liquornik Geva & Leshem Brandwein
Q18153138 Q18207478 Q18208057 Q5644134 Q16985671 Q6810355 Q2903718 Q18347886 Q18156866 Q2909872 Q18349855 Q18344752 Q18149433 Q2573130
(c(Q43229),P740,Q801)
action filter_type
action find_reverse
entity Q801
relation P740
type Q43229
The organizations that originates at Israel are [ANSWERS]
[{'concept': 'Q43229'}, 'P740', 'Q801']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q801 . ?f rdf:type ontology:Q43229 }
KFC Israel Black Bar 'n' Burger Dunkin' Donuts Israel Hamashbir Lazarchan Burger King Israel Meitar Liquornik Geva & Leshem Brandwein Tiv Ta'am HaShamen Pizza Hut Israel Aroma Espresso Bar Holy Bagel Mike's Place Domino's Pizza Israel Walla!
The organizations that originates at Israel are Walla!, Hamashbir Lazarchan and Meitar Liquornik Geva & Leshem Brandwein
Walla! Hamashbir Lazarchan Meitar Liquornik Geva & Leshem Brandwein
action filter_type
action find_reverse
entity Israel
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Israel']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Israel . ?f rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P710
Q1190554
USER
Which event has Israel as its participant ?
(c(Q1190554),P710,Q801)
action filter_type
action find_reverse
entity Q801
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q801']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q801 . ?j rdf:type ontology:Q1190554 }
Israel
action filter_type
action find_reverse
entity Israel
relation participant
type event
[{'concept': 'event'}, 'participant', 'Israel']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Israel . ?j rdf:type ontology:event }
[]
event
Q21083298
SYSTEM
Israeli–Palestinian conflict
Q21083298
(c(Q1190554),P710,Q801)
action filter_type
action find_reverse
entity Q801
relation P710
type Q1190554
[ANSWER] has Israel as its participant
[{'concept': 'Q1190554'}, 'P710', 'Q801']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q801 . ?j rdf:type ontology:Q1190554 }
Israeli–Palestinian conflict
Israeli–Palestinian conflict has Israel as its participant
Israeli–Palestinian conflict
action filter_type
action find_reverse
entity Israel
relation participant
type event
[{'concept': 'event'}, 'participant', 'Israel']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Israel . ?j rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21083298
P361
Q491040
USER
Which violent crime is a portion of that event ?
(c(Q491040),P361,Q21083298)
action filter_type
action find_reverse
entity Q21083298
relation P361
type Q491040
[{'concept': 'Q491040'}, 'P361', 'Q21083298']
SELECT DISTINCT ?y WHERE { ?y property:P361 resource:Q21083298 . ?y rdf:type ontology:Q491040 }
Israeli–Palestinian conflict
action filter_type
action find_reverse
entity Israeli–Palestinian conflict
relation part of
type violent crime
[{'concept': 'violent crime'}, 'part of', 'Israeli–Palestinian conflict']
SELECT DISTINCT ?y WHERE { ?y property:part_of resource:Israeli–Palestinian_conflict . ?y rdf:type ontology:violent_crime }
[]
violent crime
Q23019045
SYSTEM
2016 Tel Aviv stabbings
Q23019045
(c(Q491040),P361,Q21083298)
action filter_type
action find_reverse
entity Q21083298
relation P361
type Q491040
[ANSWER] is a portion of that event
[{'concept': 'Q491040'}, 'P361', 'Q21083298']
SELECT DISTINCT ?y WHERE { ?y property:P361 resource:Q21083298 . ?y rdf:type ontology:Q491040 }
2016 Tel Aviv stabbings
2016 Tel Aviv stabbings is a portion of that event
2016 Tel Aviv stabbings
action filter_type
action find_reverse
entity Israeli–Palestinian conflict
relation part of
type violent crime
[{'concept': 'violent crime'}, 'part of', 'Israeli–Palestinian conflict']
SELECT DISTINCT ?y WHERE { ?y property:part_of resource:Israeli–Palestinian_conflict . ?y rdf:type ontology:violent_crime }
[]