Simple Question (Direct)
Simple Question
Q1795549
P19
Q486972
USER
Where was Kaethe Schulken born ?
(Q1795549,P19,c(Q486972))
action filter_type
action find
entity Q1795549
relation P19
type Q486972
['Q1795549', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q1795549 property:P19 ?i . ?i rdf:type ontology:Q486972 }
Kaethe Schulken
action filter_type
action find
entity Kaethe Schulken
relation place of birth
type human settlement
['Kaethe Schulken', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Kaethe_Schulken property:place_of_birth ?i . ?i rdf:type ontology:human_settlement }
[]
human settlement
Q315005
SYSTEM
Bremen-Vegesack
Q315005
(Q1795549,P19,c(Q486972))
action filter_type
action find
entity Q1795549
relation P19
type Q486972
Kaethe Schulken was born in [ANSWER]
['Q1795549', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q1795549 property:P19 ?i . ?i rdf:type ontology:Q486972 }
Bremen-Vegesack
Kaethe Schulken was born in Bremen-Vegesack
Bremen-Vegesack
action filter_type
action find
entity Kaethe Schulken
relation place of birth
type human settlement
['Kaethe Schulken', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Kaethe_Schulken property:place_of_birth ?i . ?i rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1795549
P106
Q12737077
USER
What is the job of Kaethe Schulken ?
(Q1795549,P106,c(Q12737077))
action filter_type
action find
entity Q1795549
relation P106
type Q12737077
['Q1795549', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1795549 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Kaethe Schulken
action filter_type
action find
entity Kaethe Schulken
relation occupation
type occupation
['Kaethe Schulken', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Kaethe_Schulken property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q1795549,P106,c(Q12737077))
action filter_type
action find
entity Q1795549
relation P106
type Q12737077
The job of Kaethe Schulken is a [ANSWER]
['Q1795549', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1795549 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
writer
The job of Kaethe Schulken is a writer
writer
action filter_type
action find
entity Kaethe Schulken
relation occupation
type occupation
['Kaethe Schulken', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Kaethe_Schulken property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1795549
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q36180,P27,c(Q1048835))
action filter_type
action find
entity Q1795549
relation P27
type Q1048835
['Q36180', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1795549 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Kaethe Schulken
action filter_type
action find
entity Kaethe Schulken
relation country of citizenship
type political territorial entity
['writer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Kaethe_Schulken property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q36180,P27,c(Q1048835))
action filter_type
action find
entity Q1795549
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q36180', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1795549 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Kaethe Schulken
relation country of citizenship
type political territorial entity
['writer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Kaethe_Schulken property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3307471 Q183
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are Sarpo Laggo Glacier located in ?
AND((Q183,P530,c(Q15617994)), (Q3307471,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q3307471
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q3307471', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q183 property:P530 ?o . resource:Q3307471 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Sarpo Laggo Glacier Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Sarpo Laggo Glacier
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sarpo Laggo Glacier', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Germany property:diplomatic_relation ?o . resource:Sarpo_Laggo_Glacier property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
AND((Q183,P530,c(Q15617994)), (Q3307471,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q3307471
relation P17
type Q15617994
[ANSWER] holds diplomatic relationship with Germany and are Sarpo Laggo Glacier located in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q3307471', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q183 property:P530 ?o . resource:Q3307471 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China holds diplomatic relationship with Germany and are Sarpo Laggo Glacier located in
People's Republic of China
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Sarpo Laggo Glacier
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sarpo Laggo Glacier', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Germany property:diplomatic_relation ?o . resource:Sarpo_Laggo_Glacier property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3350222
P609
Q486972 Q83620 Q34442
USER
Which human settlements are the destination of greater number of thoroughfares or roads than Old Town ?
(c(Q83620)|c(Q34442),P609,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q83620
action find_reverse_tuple_counts
relation P609
type Q486972
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q3350222
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?l WHERE { { ?j property:P609 ?l . ?l rdf:type ontology:Q486972 . ?j rdf:type ontology:Q83620 } UNION { ?j property:P609 ?l . ?l rdf:type ontology:Q486972 . ?j rdf:type ontology:Q34442 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P609 resource:Q3350222 . { { ?y rdf:type ontology:Q83620 } UNION { ?y rdf:type ontology:Q34442 } } } } . FILTER ( ?g > ?m ) }
Old Town
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type human settlement
type road
action count
action filter_multi_types
action find_reverse
entity Old Town
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?l WHERE { { ?j property:terminus_location ?l . ?l rdf:type ontology:human_settlement . ?j rdf:type ontology:thoroughfare } UNION { ?j property:terminus_location ?l . ?l rdf:type ontology:human_settlement . ?j rdf:type ontology:road } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:terminus_location resource:Old_Town . { { ?y rdf:type ontology:thoroughfare } UNION { ?y rdf:type ontology:road } } } } . FILTER ( ?g > ?m ) }
[]
human settlement thoroughfare road
Q81220 Q465833 Q755788
SYSTEM
Goes, Schagen, Glasgow
Q755788 Q730342 Q3471654 Q7108480 Q2482972 Q2323239 Q680911 Q465833 Q81220 Q755958
(c(Q83620)|c(Q34442),P609,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q83620
action find_reverse_tuple_counts
relation P609
type Q486972
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q3350222
relation P609
type Q83620
type Q34442
[ANSWERS] are the destination of greater number of thoroughfares or roads than Old Town
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?l WHERE { { ?j property:P609 ?l . ?l rdf:type ontology:Q486972 . ?j rdf:type ontology:Q83620 } UNION { ?j property:P609 ?l . ?l rdf:type ontology:Q486972 . ?j rdf:type ontology:Q34442 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P609 resource:Q3350222 . { { ?y rdf:type ontology:Q83620 } UNION { ?y rdf:type ontology:Q34442 } } } } . FILTER ( ?g > ?m ) }
Glasgow Oscoda San Ysidro Otay Mesa Mount Charleston Silver Springs Minden Schagen Goes Claymont
Goes, Schagen and Glasgow are the destination of greater number of thoroughfares or roads than Old Town
Goes Schagen Glasgow
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type human settlement
type road
action count
action filter_multi_types
action find_reverse
entity Old Town
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?l WHERE { { ?j property:terminus_location ?l . ?l rdf:type ontology:human_settlement . ?j rdf:type ontology:thoroughfare } UNION { ?j property:terminus_location ?l . ?l rdf:type ontology:human_settlement . ?j rdf:type ontology:road } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:terminus_location resource:Old_Town . { { ?y rdf:type ontology:thoroughfare } UNION { ?y rdf:type ontology:road } } } } . FILTER ( ?g > ?m ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q81220 Q465833 Q755788
P19
Q502895
USER
Which people were born at those human settlements ?
(c(Q502895),P19,Q81220) (c(Q502895),P19,Q465833) (c(Q502895),P19,Q755788)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q81220'] [{'concept': 'Q502895'}, 'P19', 'Q465833'] [{'concept': 'Q502895'}, 'P19', 'Q755788']
SELECT DISTINCT ?w WHERE { VALUES ( ?j ) { ( resource:Q755788 ) ( resource:Q730342 ) ( resource:Q3471654 ) } . ?w rdf:type ontology:Q502895 . ?w property:P19 ?j }
Goes Schagen Glasgow
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Goes'] [{'concept': 'common name'}, 'place of birth', 'Schagen'] [{'concept': 'common name'}, 'place of birth', 'Glasgow']
SELECT DISTINCT ?w WHERE { VALUES ( ?j ) { ( resource:Glasgow ) ( resource:Oscoda ) ( resource:San_Ysidro ) } . ?w rdf:type ontology:common_name . ?w property:place_of_birth ?j }
[]
common name
Q441099 Q649721 Q1151302
SYSTEM
C. H. D. Buys Ballot, Isaäc Dignus Fransen van de Putte, Frans de Munck
Q2674794 Q4949351 Q3644480 Q6111090 Q2124019 Q2110258 Q321171 Q1813467 Q2214653 Q2086330 Q809744 Q2753667 Q2741884 Q2342367 Q19678825 Q19973872 Q2536637 Q2865808 Q14855243 Q2519764 Q2658805 Q14942839 Q20972393 Q2483268 Q5171218 Q441099 Q1971531 Q2520778 Q3536868 Q2154303 Q5561450 Q1982252 Q20894975 Q649721 Q784758 Q1151302 Q13815073 Q2285592 Q315077 Q888345
(c(Q502895),P19,Q81220) (c(Q502895),P19,Q465833) (c(Q502895),P19,Q755788)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[ANSWERS] were born at those human settlements
[{'concept': 'Q502895'}, 'P19', 'Q81220'] [{'concept': 'Q502895'}, 'P19', 'Q465833'] [{'concept': 'Q502895'}, 'P19', 'Q755788']
SELECT DISTINCT ?w WHERE { VALUES ( ?j ) { ( resource:Q755788 ) ( resource:Q730342 ) ( resource:Q3471654 ) } . ?w rdf:type ontology:Q502895 . ?w property:P19 ?j }
Piet Leupen Boudewijn Vincent Bonebakker John van Melle Rogier Petrus Johannes de Kok Herre Kingma Y. Né Toine van Renterghem Joannes Antonides van der Goes Jan de Kok Mattheus Smallegange Bas van Fraassen Jacob Adriaan de Wilde Peter van Dijk Leo van Doeselaar Jaap Rus Henricus Joannes Witkam Guus Vleugel Albert J.R. Heck Rody Hoegee Myrna Veenstra Stefan de Die Lesley Kerkhove Thomas van den Houten Hannes Minnaar Cornelis Caesar C. H. D. Buys Ballot Suze Sanders Marinus Robyn van der Goes Willem Eversdijck Rinus Ferdinandusse Gilbertus Happart Erwin Nuytinck Pieter Jacobus Wemelsfelder Isaäc Dignus Fransen van de Putte Joop de Kubber Frans de Munck Margreet Schouwenaar Country Wilma Rein Boomsma Richard C. McMullen
C. H. D. Buys Ballot, Isaäc Dignus Fransen van de Putte and Frans de Munck were born at those human settlements
C. H. D. Buys Ballot Isaäc Dignus Fransen van de Putte Frans de Munck
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Goes'] [{'concept': 'common name'}, 'place of birth', 'Schagen'] [{'concept': 'common name'}, 'place of birth', 'Glasgow']
SELECT DISTINCT ?w WHERE { VALUES ( ?j ) { ( resource:Glasgow ) ( resource:Oscoda ) ( resource:San_Ysidro ) } . ?w rdf:type ontology:common_name . ?w property:place_of_birth ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1151302
P641
Q349
USER
Which sport was that person a part of ?
(Q1151302,P641,c(Q349))
action filter_type
action find
entity Q1151302
relation P641
type Q349
['Q1151302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1151302 property:P641 ?v }
Frans de Munck
action filter_type
action find
entity Frans de Munck
relation sport
type sport
['Frans de Munck', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Frans_de_Munck property:sport ?v }
[]
sport
Clarification for simple ques.
Q649721
SYSTEM
Did you mean Isaäc Dignus Fransen van de Putte ?
Q441099 Q649721 Q1151302
(Q441099,P641,c(Q349)) (Q649721,P641,c(Q349)) (Q1151302,P641,c(Q349))
[ANSWER]
['Q441099', 'P641', {'concept': 'Q349'}] ['Q649721', 'P641', {'concept': 'Q349'}] ['Q1151302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1151302 property:P641 ?v }
C. H. D. Buys Ballot Isaäc Dignus Fransen van de Putte Frans de Munck
Did you mean Isaäc Dignus Fransen van de Putte ?
Isaäc Dignus Fransen van de Putte
['C. H. D. Buys Ballot', 'sport', {'concept': 'sport'}] ['Isaäc Dignus Fransen van de Putte', 'sport', {'concept': 'sport'}] ['Frans de Munck', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Frans_de_Munck property:sport ?v }
[]
Simple Question (Coreferenced)
USER
No, I meant Frans de Munck. Could you tell me the answer for that?
(Q1151302,P641,c(Q349))
Q1151302
['Q1151302', 'P641', {'concept': 'Q349'}]
['Frans de Munck', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q1151302,P641,c(Q349))
action filter_type
action find
entity Q1151302
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q1151302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1151302 property:P641 ?v }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Frans de Munck
relation sport
type sport
['Frans de Munck', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Frans_de_Munck property:sport ?v }
[]