Simple Question (Direct)
Simple Question
Q2748654
P172
Q2472587
USER
Which people does Avraham Shapira have as ethnic origin ?
(Q2748654,P172,c(Q2472587))
action filter_type
action find
entity Q2748654
relation P172
type Q2472587
['Q2748654', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q2748654 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Avraham Shapira
action filter_type
action find
entity Avraham Shapira
relation ethnic group
type people
['Avraham Shapira', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Avraham_Shapira property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q34069
SYSTEM
Ashkenazi Jews
Q34069
(Q2748654,P172,c(Q2472587))
action filter_type
action find
entity Q2748654
relation P172
type Q2472587
Avraham Shapira has described [ANSWER] as ethnic origin
['Q2748654', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q2748654 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Ashkenazi Jews
Avraham Shapira has described Ashkenazi Jews as ethnic origin
Ashkenazi Jews
action filter_type
action find
entity Avraham Shapira
relation ethnic group
type people
['Avraham Shapira', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Avraham_Shapira property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2748654
P1066
Q502895
USER
Who is a pupil of Avraham Shapira ?
(c(Q502895),P1066,Q2748654)
action filter_type
action find_reverse
entity Q2748654
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q2748654']
SELECT DISTINCT ?w WHERE { ?w property:P1066 resource:Q2748654 . ?w rdf:type ontology:Q502895 }
Avraham Shapira
action filter_type
action find_reverse
entity Avraham Shapira
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Avraham Shapira']
SELECT DISTINCT ?w WHERE { ?w property:student_of resource:Avraham_Shapira . ?w rdf:type ontology:common_name }
[]
common name
Q3177882
SYSTEM
David Stav
Q3177882
(c(Q502895),P1066,Q2748654)
action filter_type
action find_reverse
entity Q2748654
relation P1066
type Q502895
A pupil of Avraham Shapira is named [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q2748654']
SELECT DISTINCT ?w WHERE { ?w property:P1066 resource:Q2748654 . ?w rdf:type ontology:Q502895 }
David Stav
A pupil of Avraham Shapira is named David Stav
David Stav
action filter_type
action find_reverse
entity Avraham Shapira
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Avraham Shapira']
SELECT DISTINCT ?w WHERE { ?w property:student_of resource:Avraham_Shapira . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2748654
P802
Q502895
USER
Which person was Avraham Shapira a notable student of ?
(Q2748654,P802,c(Q502895))
action filter_type
action find
entity Q2748654
relation P802
type Q502895
['Q2748654', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2748654 property:P802 ?d . ?d rdf:type ontology:Q502895 }
Avraham Shapira
action filter_type
action find
entity Avraham Shapira
relation student
type common name
['Avraham Shapira', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Avraham_Shapira property:student ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3177882
SYSTEM
David Stav
Q3177882
(Q2748654,P802,c(Q502895))
action filter_type
action find
entity Q2748654
relation P802
type Q502895
[ANSWER] was Avraham Shapira a notable student of
['Q2748654', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2748654 property:P802 ?d . ?d rdf:type ontology:Q502895 }
David Stav
David Stav was Avraham Shapira a notable student of
David Stav
action filter_type
action find
entity Avraham Shapira
relation student
type common name
['Avraham Shapira', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Avraham_Shapira property:student ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2748654
P22
Q502895
USER
Which person has Avraham Shapira as dad ?
(c(Q502895),P22,Q2748654)
action filter_type
action find_reverse
entity Q2748654
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2748654']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q2748654 . ?p rdf:type ontology:Q502895 }
Avraham Shapira
action filter_type
action find_reverse
entity Avraham Shapira
relation father
type common name
[{'concept': 'common name'}, 'father', 'Avraham Shapira']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Avraham_Shapira . ?p rdf:type ontology:common_name }
[]
common name
Q6670069
SYSTEM
Yaakov Elazar Kahana Shapira
Q6670069
(c(Q502895),P22,Q2748654)
action filter_type
action find_reverse
entity Q2748654
relation P22
type Q502895
[ANSWER] has Avraham Shapira as dad
[{'concept': 'Q502895'}, 'P22', 'Q2748654']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q2748654 . ?p rdf:type ontology:Q502895 }
Yaakov Elazar Kahana Shapira
Yaakov Elazar Kahana Shapira has Avraham Shapira as dad
Yaakov Elazar Kahana Shapira
action filter_type
action find_reverse
entity Avraham Shapira
relation father
type common name
[{'concept': 'common name'}, 'father', 'Avraham Shapira']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Avraham_Shapira . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6670069
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q6670069)
action filter_type
action find_reverse
entity Q6670069
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6670069']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q6670069 . ?o rdf:type ontology:Q502895 }
Yaakov Elazar Kahana Shapira
action filter_type
action find_reverse
entity Yaakov Elazar Kahana Shapira
relation child
type common name
[{'concept': 'common name'}, 'child', 'Yaakov Elazar Kahana Shapira']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Yaakov_Elazar_Kahana_Shapira . ?o rdf:type ontology:common_name }
[]
common name
Q2748654
SYSTEM
Avraham Shapira
Q2748654
(c(Q502895),P40,Q6670069)
action filter_type
action find_reverse
entity Q6670069
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q6670069']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q6670069 . ?o rdf:type ontology:Q502895 }
Avraham Shapira
Avraham Shapira has that one as a child
Avraham Shapira
action filter_type
action find_reverse
entity Yaakov Elazar Kahana Shapira
relation child
type common name
[{'concept': 'common name'}, 'child', 'Yaakov Elazar Kahana Shapira']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Yaakov_Elazar_Kahana_Shapira . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1770485 Q2748654
P40
Q502895
USER
Which people are the children of Avraham Shapira or Richard, Count of Évreux ?
OR((Q2748654,P40,c(Q502895)), (Q1770485,P40,c(Q502895)))
action filter_type
action union
action find
entity Q2748654
relation P40
action find
entity Q1770485
relation P40
type Q502895
{'OR': [['Q2748654', 'P40', {'concept': 'Q502895'}], ['Q1770485', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?p ) { ( resource:Q2748654 ) ( resource:Q1770485 ) } . ?p property:P40 ?x } . ?x rdf:type ontology:Q502895 }
Richard, Count of Évreux Avraham Shapira
action filter_type
action union
action find
entity Avraham Shapira
relation child
action find
entity Richard, Count of Évreux
relation child
type common name
{'OR': [['Avraham Shapira', 'child', {'concept': 'common name'}], ['Richard, Count of Évreux', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?p ) { ( resource:Avraham_Shapira ) ( resource:Richard,_Count_of_Évreux ) } . ?p property:child ?x } . ?x rdf:type ontology:common_name }
[]
common name
Q6670069 Q2827020 Q1509395
SYSTEM
Yaakov Elazar Kahana Shapira, Agnes, Countess of Evreux, William, Count of Évreux
Q6670069 Q2827020 Q1509395
OR((Q2748654,P40,c(Q502895)), (Q1770485,P40,c(Q502895)))
action filter_type
action union
action find
entity Q2748654
relation P40
action find
entity Q1770485
relation P40
type Q502895
[ANSWERS]
{'OR': [['Q2748654', 'P40', {'concept': 'Q502895'}], ['Q1770485', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?p ) { ( resource:Q2748654 ) ( resource:Q1770485 ) } . ?p property:P40 ?x } . ?x rdf:type ontology:Q502895 }
Yaakov Elazar Kahana Shapira Agnes, Countess of Evreux William, Count of Évreux
Yaakov Elazar Kahana Shapira, Agnes, Countess of Evreux and William, Count of Évreux are the children of Avraham Shapira or Richard, Count of Évreux
Yaakov Elazar Kahana Shapira Agnes, Countess of Evreux William, Count of Évreux
action filter_type
action union
action find
entity Avraham Shapira
relation child
action find
entity Richard, Count of Évreux
relation child
type common name
{'OR': [['Avraham Shapira', 'child', {'concept': 'common name'}], ['Richard, Count of Évreux', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?p ) { ( resource:Avraham_Shapira ) ( resource:Richard,_Count_of_Évreux ) } . ?p property:child ?x } . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 7028 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7028
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P1303 ?l . ?k rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } . FILTER ( ?a <= 7028 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7028
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:instrument ?l . ?k rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } . FILTER ( ?a <= 7028 ) }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7028
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P1303 ?l . ?k rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } . FILTER ( ?a <= 7028 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7028
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:instrument ?l . ?k rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } . FILTER ( ?a <= 7028 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q713298
P1303
Q34379 Q502895
USER
How many musical instruments are played by less number of people than geomungo ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q713298
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P1303 resource:Q713298 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?b < ?l ) }
geomungo
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity geomungo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:instrument resource:geomungo . ?d rdf:type ontology:common_name } } . FILTER ( ?b < ?l ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q713298
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P1303 resource:Q713298 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?b < ?l ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity geomungo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:instrument resource:geomungo . ?d rdf:type ontology:common_name } } . FILTER ( ?b < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q862501
P1303
Q34379 Q502895
USER
And also tell me about ondes Martenot?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q862501
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P1303 ?v . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P1303 resource:Q862501 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?i < ?e ) }
ondes Martenot
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity ondes Martenot
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:instrument ?v . ?d rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:instrument resource:ondes_Martenot . ?m rdf:type ontology:common_name } } . FILTER ( ?i < ?e ) }
[]
musical instrument common name
SYSTEM
36
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q862501
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P1303 ?v . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P1303 resource:Q862501 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?i < ?e ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
36
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity ondes Martenot
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:instrument ?v . ?d rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:instrument resource:ondes_Martenot . ?m rdf:type ontology:common_name } } . FILTER ( ?i < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2748654
P27
Q15617994
USER
Which administrative territory is the native country of Avraham Shapira ?
(Q2748654,P27,c(Q15617994))
action filter_type
action find
entity Q2748654
relation P27
type Q15617994
['Q2748654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q2748654 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Avraham Shapira
action filter_type
action find
entity Avraham Shapira
relation country of citizenship
type designation for an administrative territorial entity
['Avraham Shapira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Avraham_Shapira property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2748654,P27,c(Q15617994))
action filter_type
action find
entity Q2748654
relation P27
type Q15617994
[ANSWER] is the native country of Avraham Shapira
['Q2748654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q2748654 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Israel
Israel is the native country of Avraham Shapira
Israel
action filter_type
action find
entity Avraham Shapira
relation country of citizenship
type designation for an administrative territorial entity
['Avraham Shapira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Avraham_Shapira property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q801
P36
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(Q801,P36,c(Q56061))
action filter_type
action find
entity Q801
relation P36
type Q56061
['Q801', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q801 property:P36 ?s . ?s rdf:type ontology:Q56061 }
Israel
action filter_type
action find
entity Israel
relation capital
type administrative territorial entity
['Israel', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Israel property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q801,P36,c(Q56061))
action filter_type
action find
entity Q801
relation P36
type Q56061
[ANSWER] is the capital of that administrative territory
['Q801', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q801 property:P36 ?s . ?s rdf:type ontology:Q56061 }
Jerusalem
Jerusalem is the capital of that administrative territory
Jerusalem
action filter_type
action find
entity Israel
relation capital
type administrative territorial entity
['Israel', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Israel property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1218 Q5564159 Q801
P17
Q15617994
USER
Is that administrative territory present in Girard School District and Israel ?
(Q1218,P17,Q5564159) (Q1218,P17,Q801)
action is_in
entity Q1218
action intersection
action find_reverse
entity Q5564159
relation P17
action find_reverse
entity Q801
relation P17
['Q1218', 'P17', 'Q5564159'] ['Q1218', 'P17', 'Q801']
ASK WHERE { resource:Q1218 property:P17 resource:Q5564159 . resource:Q1218 property:P17 resource:Q801 }
Jerusalem Girard School District Israel
action is_in
entity Jerusalem
action intersection
action find_reverse
entity Girard School District
relation country
action find_reverse
entity Israel
relation country
['Jerusalem', 'country', 'Girard School District'] ['Jerusalem', 'country', 'Israel']
ASK WHERE { resource:Jerusalem property:country resource:Girard_School_District . resource:Jerusalem property:country resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1218,P17,Q5564159) (Q1218,P17,Q801)
action is_in
entity Q1218
action intersection
action find_reverse
entity Q5564159
relation P17
action find_reverse
entity Q801
relation P17
[ANSWER]
['Q1218', 'P17', 'Q5564159'] ['Q1218', 'P17', 'Q801']
ASK WHERE { resource:Q1218 property:P17 resource:Q5564159 . resource:Q1218 property:P17 resource:Q801 }
NO and YES respectively
action is_in
entity Jerusalem
action intersection
action find_reverse
entity Girard School District
relation country
action find_reverse
entity Israel
relation country
['Jerusalem', 'country', 'Girard School District'] ['Jerusalem', 'country', 'Israel']
ASK WHERE { resource:Jerusalem property:country resource:Girard_School_District . resource:Jerusalem property:country resource:Israel }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2748654 Q1218
P19
Q56061
USER
Is Jerusalem the birthplace of that person ?
(Q2748654,P19,Q1218)
action is_in
entity Q1218
action find
entity Q2748654
relation P19
['Q2748654', 'P19', 'Q1218']
ASK WHERE { resource:Q2748654 property:P19 resource:Q1218 }
Avraham Shapira Jerusalem
action is_in
entity Jerusalem
action find
entity Avraham Shapira
relation place of birth
['Avraham Shapira', 'place of birth', 'Jerusalem']
ASK WHERE { resource:Avraham_Shapira property:place_of_birth resource:Jerusalem }
[]
administrative territorial entity
SYSTEM
YES
(Q2748654,P19,Q1218)
action is_in
entity Q1218
action find
entity Q2748654
relation P19
[ANSWER]
['Q2748654', 'P19', 'Q1218']
ASK WHERE { resource:Q2748654 property:P19 resource:Q1218 }
Yes
action is_in
entity Jerusalem
action find
entity Avraham Shapira
relation place of birth
['Avraham Shapira', 'place of birth', 'Jerusalem']
ASK WHERE { resource:Avraham_Shapira property:place_of_birth resource:Jerusalem }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1509395 Q2827020
P9
Q502895
USER
Is Agnes, Countess of Evreux the sibling of William, Count of Évreux ?
(Q1509395,P9,Q2827020)
action is_in
entity Q2827020
action find
entity Q1509395
relation P9
['Q1509395', 'P9', 'Q2827020']
ASK WHERE { resource:Q1509395 property:P9 resource:Q2827020 }
William, Count of Évreux Agnes, Countess of Evreux
action is_in
entity Agnes, Countess of Evreux
action find
entity William, Count of Évreux
relation sister
['William, Count of Évreux', 'sister', 'Agnes, Countess of Evreux']
ASK WHERE { resource:William,_Count_of_Évreux property:sister resource:Agnes,_Countess_of_Evreux }
[]
common name
SYSTEM
YES
(Q1509395,P9,Q2827020)
action is_in
entity Q2827020
action find
entity Q1509395
relation P9
[ANSWER]
['Q1509395', 'P9', 'Q2827020']
ASK WHERE { resource:Q1509395 property:P9 resource:Q2827020 }
Yes
action is_in
entity Agnes, Countess of Evreux
action find
entity William, Count of Évreux
relation sister
['William, Count of Évreux', 'sister', 'Agnes, Countess of Evreux']
ASK WHERE { resource:William,_Count_of_Évreux property:sister resource:Agnes,_Countess_of_Evreux }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6670069 Q801
P27
Q15617994
USER
Does Yaakov Elazar Kahana Shapira belong to Israel ?
(Q6670069,P27,Q801)
action is_in
entity Q801
action find
entity Q6670069
relation P27
['Q6670069', 'P27', 'Q801']
ASK WHERE { resource:Q6670069 property:P27 resource:Q801 }
Yaakov Elazar Kahana Shapira Israel
action is_in
entity Israel
action find
entity Yaakov Elazar Kahana Shapira
relation country of citizenship
['Yaakov Elazar Kahana Shapira', 'country of citizenship', 'Israel']
ASK WHERE { resource:Yaakov_Elazar_Kahana_Shapira property:country_of_citizenship resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6670069,P27,Q801)
action is_in
entity Q801
action find
entity Q6670069
relation P27
[ANSWER]
['Q6670069', 'P27', 'Q801']
ASK WHERE { resource:Q6670069 property:P27 resource:Q801 }
Yes
action is_in
entity Israel
action find
entity Yaakov Elazar Kahana Shapira
relation country of citizenship
['Yaakov Elazar Kahana Shapira', 'country of citizenship', 'Israel']
ASK WHERE { resource:Yaakov_Elazar_Kahana_Shapira property:country_of_citizenship resource:Israel }
[]