Simple Question (Direct)
Simple Question
Q536528
P21
Q290
USER
Which sex does Richard Montague belong to ?
(Q536528,P21,c(Q290))
action filter_type
action find
entity Q536528
relation P21
type Q290
['Q536528', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q536528 property:P21 ?a . ?a rdf:type ontology:Q290 }
Richard Montague
action filter_type
action find
entity Richard Montague
relation gender
type sex
['Richard Montague', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Richard_Montague property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q536528,P21,c(Q290))
action filter_type
action find
entity Q536528
relation P21
type Q290
Richard Montague belongs to [ANSWER]
['Q536528', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q536528 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Richard Montague belongs to male
male
action filter_type
action find
entity Richard Montague
relation gender
type sex
['Richard Montague', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Richard_Montague property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q536528
P184
Q502895
USER
Which person was the doctoral supervisor of that one ?
(Q6581097,P184,c(Q502895))
action filter_type
action find
entity Q536528
relation P184
type Q502895
['Q6581097', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q536528 property:P184 ?k . ?k rdf:type ontology:Q502895 }
Richard Montague
action filter_type
action find
entity Richard Montague
relation doctoral advisor
type common name
['male', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Richard_Montague property:doctoral_advisor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q207534
SYSTEM
Alfred Tarski
Q207534
(Q6581097,P184,c(Q502895))
action filter_type
action find
entity Q536528
relation P184
type Q502895
[ANSWER] was the doctoral supervisor of that one
['Q6581097', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q536528 property:P184 ?k . ?k rdf:type ontology:Q502895 }
Alfred Tarski
Alfred Tarski was the doctoral supervisor of that one
Alfred Tarski
action filter_type
action find
entity Richard Montague
relation doctoral advisor
type common name
['male', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Richard_Montague property:doctoral_advisor ?k . ?k 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 around 729 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 729
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?o = 729 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 729
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?o = 729 ) }
[]
musical instrument common name
SYSTEM
62
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 729
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?o = 729 ) }
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 cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 729
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?o = 729 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207534
P802
Q502895
USER
Who was a notable student of Alfred Tarski ?
(c(Q502895),P802,Q207534)
action filter_type
action find_reverse
entity Q207534
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q207534']
SELECT DISTINCT ?t WHERE { ?t property:P802 resource:Q207534 . ?t rdf:type ontology:Q502895 }
Alfred Tarski
action filter_type
action find_reverse
entity Alfred Tarski
relation student
type common name
[{'concept': 'common name'}, 'student', 'Alfred Tarski']
SELECT DISTINCT ?t WHERE { ?t property:student resource:Alfred_Tarski . ?t rdf:type ontology:common_name }
[]
common name
Q313454
SYSTEM
Jan Łukasiewicz
Q313454
(c(Q502895),P802,Q207534)
action filter_type
action find_reverse
entity Q207534
relation P802
type Q502895
A notable student of Alfred Tarski was born [ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q207534']
SELECT DISTINCT ?t WHERE { ?t property:P802 resource:Q207534 . ?t rdf:type ontology:Q502895 }
Jan Łukasiewicz
A notable student of Alfred Tarski was born Jan Łukasiewicz
Jan Łukasiewicz
action filter_type
action find_reverse
entity Alfred Tarski
relation student
type common name
[{'concept': 'common name'}, 'student', 'Alfred Tarski']
SELECT DISTINCT ?t WHERE { ?t property:student resource:Alfred_Tarski . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313454
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q313454,P19,c(Q56061))
action filter_type
action find
entity Q313454
relation P19
type Q56061
['Q313454', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q313454 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Jan Łukasiewicz
action filter_type
action find
entity Jan Łukasiewicz
relation place of birth
type administrative territorial entity
['Jan Łukasiewicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Łukasiewicz property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q313454,P19,c(Q56061))
action filter_type
action find
entity Q313454
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q313454', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q313454 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Lviv
Lviv is the birthplace of that person
Lviv
action filter_type
action find
entity Jan Łukasiewicz
relation place of birth
type administrative territorial entity
['Jan Łukasiewicz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Łukasiewicz property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36036 Q7418730
P190
Q56061
USER
Is Sankiniana partner town of that one ?
(Q36036,P190,Q7418730)
action is_in
entity Q7418730
action find
entity Q36036
relation P190
['Q36036', 'P190', 'Q7418730']
ASK WHERE { resource:Q36036 property:P190 resource:Q7418730 }
Lviv Sankiniana
action is_in
entity Sankiniana
action find
entity Lviv
relation sister city
['Lviv', 'sister city', 'Sankiniana']
ASK WHERE { resource:Lviv property:sister_city resource:Sankiniana }
[]
administrative territorial entity
SYSTEM
NO
(Q36036,P190,Q7418730)
action is_in
entity Q7418730
action find
entity Q36036
relation P190
[ANSWER]
['Q36036', 'P190', 'Q7418730']
ASK WHERE { resource:Q36036 property:P190 resource:Q7418730 }
No
action is_in
entity Sankiniana
action find
entity Lviv
relation sister city
['Lviv', 'sister city', 'Sankiniana']
ASK WHERE { resource:Lviv property:sister_city resource:Sankiniana }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36036
P1376
Q1048835
USER
What has Lviv as its capital ?
(Q36036,P1376,c(Q1048835))
action filter_type
action find
entity Q36036
relation P1376
type Q1048835
['Q36036', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q36036 property:P1376 ?i . ?i rdf:type ontology:Q1048835 }
Lviv
action filter_type
action find
entity Lviv
relation capital of
type political territorial entity
['Lviv', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Lviv property:capital_of ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q164193
SYSTEM
Lviv Oblast
Q164193
(Q36036,P1376,c(Q1048835))
action filter_type
action find
entity Q36036
relation P1376
type Q1048835
The [ANSWER] has Lviv as its capital
['Q36036', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q36036 property:P1376 ?i . ?i rdf:type ontology:Q1048835 }
Lviv Oblast
The Lviv Oblast has Lviv as its capital
Lviv Oblast
action filter_type
action find
entity Lviv
relation capital of
type political territorial entity
['Lviv', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Lviv property:capital_of ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q664
P495
Q1048835 Q201658 Q2342494
USER
How many political territories did lesser number of film genres and collectables originate than New Zealand ?
(c(Q201658)|c(Q2342494),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q664
relation P495
type Q201658
type Q2342494
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?u ) WHERE { { ?z property:P495 ?g . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q201658 . ?z property:P495 ?g } } GROUP BY ?g } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P495 resource:Q664 . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } } } } }
New Zealand
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity New Zealand
relation country of origin
type film genre
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?u ) WHERE { { ?z property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:collectable } UNION { ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:film_genre . ?z property:country_of_origin ?g } } GROUP BY ?g } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:country_of_origin resource:New_Zealand . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:collectable ) } } } } }
[]
political territorial entity film genre collectable
SYSTEM
20
Q1000 Q1747689 Q838261 Q769 Q763 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q407199 Q778 Q691 Q234 Q2991382 Q9337 Q23635 Q31747 Q129286
(c(Q201658)|c(Q2342494),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q664
relation P495
type Q201658
type Q2342494
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?u ) WHERE { { ?z property:P495 ?g . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q201658 . ?z property:P495 ?g } } GROUP BY ?g } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P495 resource:Q664 . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } } } } }
Gabon Ancient Rome Federal Republic of Yugoslavia Grenada Saint Kitts and Nevis Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Flemish Region Bermuda Irish Free State British Raj
20
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity New Zealand
relation country of origin
type film genre
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?u ) WHERE { { ?z property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:collectable } UNION { ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:film_genre . ?z property:country_of_origin ?g } } GROUP BY ?g } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:country_of_origin resource:New_Zealand . { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:collectable ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q40
P495
Q1048835 Q201658 Q2342494
USER
And how about Austria?
(c(Q201658)|c(Q2342494),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q40
relation P495
type Q201658
type Q2342494
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?r WHERE { VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } . ?z rdf:type ?q } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P495 resource:Q40 . { { ?i rdf:type ontology:Q201658 } UNION { ?i rdf:type ontology:Q2342494 } } } } . FILTER ( ?j < ?d ) }
Austria
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Austria
relation country of origin
type film genre
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?r WHERE { VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:collectable ) } . ?z rdf:type ?q } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:country_of_origin resource:Austria . { { ?i rdf:type ontology:film_genre } UNION { ?i rdf:type ontology:collectable } } } } . FILTER ( ?j < ?d ) }
[]
political territorial entity film genre collectable
SYSTEM
21
Q1000 Q1747689 Q838261 Q769 Q763 Q664 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q407199 Q778 Q691 Q234 Q2991382 Q9337 Q23635 Q31747 Q129286
(c(Q201658)|c(Q2342494),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q40
relation P495
type Q201658
type Q2342494
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?r WHERE { VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q2342494 ) } . ?z rdf:type ?q } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P495 resource:Q40 . { { ?i rdf:type ontology:Q201658 } UNION { ?i rdf:type ontology:Q2342494 } } } } . FILTER ( ?j < ?d ) }
Gabon Ancient Rome Federal Republic of Yugoslavia Grenada Saint Kitts and Nevis New Zealand Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Flemish Region Bermuda Irish Free State British Raj
21
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Austria
relation country of origin
type film genre
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?r WHERE { VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:collectable ) } . ?z rdf:type ?q } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:country_of_origin resource:Austria . { { ?i rdf:type ontology:film_genre } UNION { ?i rdf:type ontology:collectable } } } } . FILTER ( ?j < ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313454
P1066
Q502895
USER
Which people are a pupil of Jan Łukasiewicz ?
(c(Q502895),P1066,Q313454)
action filter_type
action find_reverse
entity Q313454
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q313454']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P1066 resource:Q313454 }
Jan Łukasiewicz
action filter_type
action find_reverse
entity Jan Łukasiewicz
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jan Łukasiewicz']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:student_of resource:Jan_Łukasiewicz }
[]
common name
Q20671736 Q207534
SYSTEM
Mordchaj Wajsberg, Alfred Tarski
Q20671736 Q207534
(c(Q502895),P1066,Q313454)
action filter_type
action find_reverse
entity Q313454
relation P1066
type Q502895
[ANSWERS] are a pupil of Jan Łukasiewicz
[{'concept': 'Q502895'}, 'P1066', 'Q313454']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P1066 resource:Q313454 }
Mordchaj Wajsberg Alfred Tarski
Mordchaj Wajsberg and Alfred Tarski are a pupil of Jan Łukasiewicz
Mordchaj Wajsberg Alfred Tarski
action filter_type
action find_reverse
entity Jan Łukasiewicz
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jan Łukasiewicz']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:student_of resource:Jan_Łukasiewicz }
[]
Clarification
Simple Question|Single Entity|Indirect
Q207534
P108
Q163740
USER
Which nonprofit organization is the employer of that person ?
(Q207534,P108,c(Q163740))
action filter_type
action find
entity Q207534
relation P108
type Q163740
['Q207534', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q207534 property:P108 ?n . ?n rdf:type ontology:Q163740 }
Alfred Tarski
action filter_type
action find
entity Alfred Tarski
relation employer
type nonprofit organization
['Alfred Tarski', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Alfred_Tarski property:employer ?n . ?n rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Clarification for simple ques.
Q207534
SYSTEM
Did you mean Alfred Tarski ?
Q20671736 Q207534
(Q20671736,P108,c(Q163740)) (Q207534,P108,c(Q163740))
[ANSWER]
['Q20671736', 'P108', {'concept': 'Q163740'}] ['Q207534', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q207534 property:P108 ?n . ?n rdf:type ontology:Q163740 }
Mordchaj Wajsberg Alfred Tarski
Did you mean Alfred Tarski ?
Alfred Tarski
['Mordchaj Wajsberg', 'employer', {'concept': 'nonprofit organization'}] ['Alfred Tarski', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Alfred_Tarski property:employer ?n . ?n rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q207534,P108,c(Q163740))
['Q207534', 'P108', {'concept': 'Q163740'}]
['Alfred Tarski', 'employer', {'concept': 'nonprofit organization'}]
[]
Q13371
SYSTEM
Harvard University
Q13371
(Q207534,P108,c(Q163740))
action filter_type
action find
entity Q207534
relation P108
type Q163740
[ANSWER] is the employer of that person
['Q207534', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q207534 property:P108 ?n . ?n rdf:type ontology:Q163740 }
Harvard University
Harvard University is the employer of that person
Harvard University
action filter_type
action find
entity Alfred Tarski
relation employer
type nonprofit organization
['Alfred Tarski', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Alfred_Tarski property:employer ?n . ?n rdf:type ontology:nonprofit_organization }
[]