Simple Question (Direct)
Simple Question
Q2573061
P102
Q7278
USER
Which political party is Wilhelm Hausmann a member of ?
(Q2573061,P102,c(Q7278))
action filter_type
action find
entity Q2573061
relation P102
type Q7278
['Q2573061', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { resource:Q2573061 property:P102 ?q . ?q rdf:type ontology:Q7278 }
Wilhelm Hausmann
action filter_type
action find
entity Wilhelm Hausmann
relation member of political party
type political party
['Wilhelm Hausmann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { resource:Wilhelm_Hausmann property:member_of_political_party ?q . ?q rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q2573061,P102,c(Q7278))
action filter_type
action find
entity Q2573061
relation P102
type Q7278
Party [ANSWER] is Wilhelm Hausmann a member of
['Q2573061', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { resource:Q2573061 property:P102 ?q . ?q rdf:type ontology:Q7278 }
Christian Democratic Union
Party Christian Democratic Union is Wilhelm Hausmann a member of
Christian Democratic Union
action filter_type
action find
entity Wilhelm Hausmann
relation member of political party
type political party
['Wilhelm Hausmann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { resource:Wilhelm_Hausmann property:member_of_political_party ?q . ?q rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2573061
P39
Q12737077
USER
What was the position held by Wilhelm Hausmann ?
(Q2573061,P39,c(Q12737077))
action filter_type
action find
entity Q2573061
relation P39
type Q12737077
['Q2573061', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q2573061 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Wilhelm Hausmann
action filter_type
action find
entity Wilhelm Hausmann
relation position held
type occupation
['Wilhelm Hausmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Wilhelm_Hausmann property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q2573061,P39,c(Q12737077))
action filter_type
action find
entity Q2573061
relation P39
type Q12737077
The position held by Wilhelm Hausmann was a [ANSWER]
['Q2573061', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q2573061 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
member of the Landtag of North Rhine-Westphalia
The position held by Wilhelm Hausmann was a member of the Landtag of North Rhine-Westphalia
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Wilhelm Hausmann
relation position held
type occupation
['Wilhelm Hausmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Wilhelm_Hausmann property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17781726 Q183
P17
Q1048835
USER
Does that occupation belong to Germany ?
(Q17781726,P17,Q183)
action is_in
entity Q183
action find
entity Q17781726
relation P17
['Q17781726', 'P17', 'Q183']
ASK WHERE { resource:Q17781726 property:P17 resource:Q183 }
member of the Landtag of North Rhine-Westphalia Germany
action is_in
entity Germany
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Germany']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17781726,P17,Q183)
action is_in
entity Q183
action find
entity Q17781726
relation P17
[ANSWER]
['Q17781726', 'P17', 'Q183']
ASK WHERE { resource:Q17781726 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity member of the Landtag of North Rhine-Westphalia
relation country
['member of the Landtag of North Rhine-Westphalia', 'country', 'Germany']
ASK WHERE { resource:member_of_the_Landtag_of_North_Rhine-Westphalia property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19758169 Q49762
P27 P17
Q1048835
USER
Which political territories are Christian Democratic Union located in and are Werner Henning an inhabitant of ?
AND((Q49762,P17,c(Q1048835)), (Q19758169,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q49762
relation P17
action find
entity Q19758169
relation P27
type Q1048835
{'AND': [['Q49762', 'P17', {'concept': 'Q1048835'}], ['Q19758169', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . resource:Q49762 property:P17 ?r . resource:Q19758169 property:P27 ?r }
Werner Henning Christian Democratic Union
action filter_type
action intersection
action find
entity Christian Democratic Union
relation country
action find
entity Werner Henning
relation country of citizenship
type political territorial entity
{'AND': [['Christian Democratic Union', 'country', {'concept': 'political territorial entity'}], ['Werner Henning', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . resource:Christian_Democratic_Union property:country ?r . resource:Werner_Henning property:country_of_citizenship ?r }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q49762,P17,c(Q1048835)), (Q19758169,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q49762
relation P17
action find
entity Q19758169
relation P27
type Q1048835
Which political territories is Christian Democratic Union located in and is Werner Henning an inhabitant of
{'AND': [['Q49762', 'P17', {'concept': 'Q1048835'}], ['Q19758169', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . resource:Q49762 property:P17 ?r . resource:Q19758169 property:P27 ?r }
Germany
Which political territories is Christian Democratic Union located in and is Werner Henning an inhabitant of
Germany
action filter_type
action intersection
action find
entity Christian Democratic Union
relation country
action find
entity Werner Henning
relation country of citizenship
type political territorial entity
{'AND': [['Christian Democratic Union', 'country', {'concept': 'political territorial entity'}], ['Werner Henning', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . resource:Christian_Democratic_Union property:country ?r . resource:Werner_Henning property:country_of_citizenship ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q245068
P921
Q12737077 Q838948 Q191067
USER
Which occupations were discussed in lesser number of works of art and articles than comedian ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q245068
relation P921
type Q838948
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?d WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?n rdf:type ?p } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } . ?e property:P921 resource:Q245068 } } . FILTER ( ?l < ?k ) }
comedian
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity comedian
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?d WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:article ) } . ?n rdf:type ?p } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:article ) } } . ?e property:main_subject resource:comedian } } . FILTER ( ?l < ?k ) }
[]
occupation work of art article
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q2259532 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q245068
relation P921
type Q838948
type Q191067
The [ANSWERS] were discussed in lesser number of works of art and articles than comedian
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?d WHERE { VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?n rdf:type ?p } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } . ?e property:P921 resource:Q245068 } } . FILTER ( ?l < ?k ) }
member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician poet medical examiner police officer statesman political scientist cleric police officer baseball umpire Member of Parliament in the United Kingdom
The farmer, architect and Member of Parliament in the United Kingdom were discussed in lesser number of works of art and articles than comedian
farmer architect Member of Parliament in the United Kingdom
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity comedian
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?d WHERE { VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:article ) } . ?n rdf:type ?p } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:article ) } } . ?e property:main_subject resource:comedian } } . FILTER ( ?l < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2095549
P921
Q12737077 Q838948 Q191067
USER
And also tell me about aviator?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q2095549
relation P921
type Q838948
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:P921 ?o . ?t rdf:type ontology:Q838948 . ?o rdf:type ontology:Q12737077 } UNION { ?t property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q191067 } } GROUP BY ?o } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P921 resource:Q2095549 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q191067 } } } } }
aviator
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity aviator
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:main_subject ?o . ?t rdf:type ontology:work_of_art . ?o rdf:type ontology:occupation } UNION { ?t property:main_subject ?o . ?o rdf:type ontology:occupation . ?t rdf:type ontology:article } } GROUP BY ?o } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:main_subject resource:aviator . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:article } } } } }
[]
occupation work of art article
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q2259532 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q2095549
relation P921
type Q838948
type Q191067
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:P921 ?o . ?t rdf:type ontology:Q838948 . ?o rdf:type ontology:Q12737077 } UNION { ?t property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q191067 } } GROUP BY ?o } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P921 resource:Q2095549 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q191067 } } } } }
member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician poet medical examiner police officer statesman political scientist cleric police officer baseball umpire Member of Parliament in the United Kingdom
farmer architect Member of Parliament in the United Kingdom
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity aviator
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:main_subject ?o . ?t rdf:type ontology:work_of_art . ?o rdf:type ontology:occupation } UNION { ?t property:main_subject ?o . ?o rdf:type ontology:occupation . ?t rdf:type ontology:article } } GROUP BY ?o } . FILTER ( ?g < ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:main_subject resource:aviator . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:article } } } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P138
Q12737077 Q79007 Q151885
USER
Which occupations are greater number of streets or concepts named after than that occupation ?
(c(Q79007)|c(Q151885),P138,c(Q12737077))
[[{'concept': 'Q79007'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q151885 }
[[{'concept': 'street'}, {'concept': 'concept'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:street . ?y rdf:type ontology:occupation . ?x rdf:type ontology:concept }
[]
occupation street concept
Comparative|More/Less|Mult. entity type|Clarification
Q16707842
SYSTEM
Did you mean Member of Parliament in the United Kingdom ?
(c(Q79007)|c(Q151885),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q79007'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q151885 }
Did you mean Member of Parliament in the United Kingdom ?
Member of Parliament in the United Kingdom
[[{'concept': 'street'}, {'concept': 'concept'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:street . ?y rdf:type ontology:occupation . ?x rdf:type ontology:concept }
[]
Comparative Reasoning (All)
USER
No, I meant farmer. Could you tell me the answer for that?
(c(Q79007)|c(Q151885),P138,c(Q12737077))
Q131512
[[{'concept': 'Q79007'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q12737077'}]
[[{'concept': 'street'}, {'concept': 'concept'}], 'named after', {'concept': 'occupation'}]
[]
Q242468 Q1410101 Q475604
SYSTEM
tailor, pyrotechnist, maritime pilot
Q475604 Q171692 Q326358 Q242468 Q1410101
(c(Q79007)|c(Q151885),P138,c(Q12737077))
[ANSWERS] are greater number of streets or concepts named after than that occupation
[[{'concept': 'Q79007'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q151885 }
maritime pilot Patriarch joiner tailor pyrotechnist
Tailor, pyrotechnist and maritime pilot are greater number of streets or concepts named after than that occupation
tailor pyrotechnist maritime pilot
[[{'concept': 'street'}, {'concept': 'concept'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:street . ?y rdf:type ontology:occupation . ?x rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q475604
P138
Q79007
USER
Which street comes from that occupation ?
(c(Q79007),P138,Q475604)
action filter_type
action find_reverse
entity Q475604
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q475604']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q475604 . ?v rdf:type ontology:Q79007 }
maritime pilot
action filter_type
action find_reverse
entity maritime pilot
relation named after
type street
[{'concept': 'street'}, 'named after', 'maritime pilot']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:maritime_pilot . ?v rdf:type ontology:street }
[]
street
Clarification for simple ques.
Q475604
SYSTEM
Did you mean maritime pilot ?
Q242468 Q1410101 Q475604
(c(Q79007),P138,Q242468) (c(Q79007),P138,Q1410101) (c(Q79007),P138,Q475604)
[ANSWER]
[{'concept': 'Q79007'}, 'P138', 'Q242468'] [{'concept': 'Q79007'}, 'P138', 'Q1410101'] [{'concept': 'Q79007'}, 'P138', 'Q475604']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q475604 . ?v rdf:type ontology:Q79007 }
tailor pyrotechnist maritime pilot
Did you mean maritime pilot ?
maritime pilot
[{'concept': 'street'}, 'named after', 'tailor'] [{'concept': 'street'}, 'named after', 'pyrotechnist'] [{'concept': 'street'}, 'named after', 'maritime pilot']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:maritime_pilot . ?v rdf:type ontology:street }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q79007),P138,Q475604)
[{'concept': 'Q79007'}, 'P138', 'Q475604']
[{'concept': 'street'}, 'named after', 'maritime pilot']
[]
Q10569882
SYSTEM
Lotsgatan
Q10569882
(c(Q79007),P138,Q475604)
action filter_type
action find_reverse
entity Q475604
relation P138
type Q79007
[ANSWER] comes from that occupation
[{'concept': 'Q79007'}, 'P138', 'Q475604']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q475604 . ?v rdf:type ontology:Q79007 }
Lotsgatan
Lotsgatan comes from that occupation
Lotsgatan
action filter_type
action find_reverse
entity maritime pilot
relation named after
type street
[{'concept': 'street'}, 'named after', 'maritime pilot']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:maritime_pilot . ?v rdf:type ontology:street }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P740
Q215380
USER
What are the bands that were formed at Germany ?
(c(Q215380),P740,Q183)
action filter_type
action find_reverse
entity Q183
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q183 . ?f rdf:type ontology:Q215380 }
Germany
action filter_type
action find_reverse
entity Germany
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Germany . ?f rdf:type ontology:band }
[]
band
Q573366 Q27417 Q553375
SYSTEM
Ich + Ich, Modern Talking, Milk & Honey
Q573366 Q27417 Q553375
(c(Q215380),P740,Q183)
action filter_type
action find_reverse
entity Q183
relation P740
type Q215380
The bands that were formed at Germany are [ANSWERS]
[{'concept': 'Q215380'}, 'P740', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q183 . ?f rdf:type ontology:Q215380 }
Ich + Ich Modern Talking Milk & Honey
The bands that were formed at Germany are Ich + Ich, Modern Talking and Milk & Honey
Ich + Ich Modern Talking Milk & Honey
action filter_type
action find_reverse
entity Germany
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Germany . ?f rdf:type ontology:band }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27417
P136
Q151885
USER
Which concept can be considered as genre of that band ?
(Q27417,P136,c(Q151885))
action filter_type
action find
entity Q27417
relation P136
type Q151885
['Q27417', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q27417 property:P136 ?d . ?d rdf:type ontology:Q151885 }
Modern Talking
action filter_type
action find
entity Modern Talking
relation genre
type concept
['Modern Talking', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Modern_Talking property:genre ?d . ?d rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q553375
SYSTEM
Did you mean Milk & Honey ?
Q573366 Q27417 Q553375
(Q573366,P136,c(Q151885)) (Q27417,P136,c(Q151885)) (Q553375,P136,c(Q151885))
[ANSWER]
['Q573366', 'P136', {'concept': 'Q151885'}] ['Q27417', 'P136', {'concept': 'Q151885'}] ['Q553375', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q27417 property:P136 ?d . ?d rdf:type ontology:Q151885 }
Ich + Ich Modern Talking Milk & Honey
Did you mean Milk & Honey ?
Milk & Honey
['Ich + Ich', 'genre', {'concept': 'concept'}] ['Modern Talking', 'genre', {'concept': 'concept'}] ['Milk & Honey', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Modern_Talking property:genre ?d . ?d rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
No, I meant Modern Talking. Could you tell me the answer for that?
(Q27417,P136,c(Q151885))
Q27417
['Q27417', 'P136', {'concept': 'Q151885'}]
['Modern Talking', 'genre', {'concept': 'concept'}]
[]
Q1298934
SYSTEM
synthpop
Q1298934
(Q27417,P136,c(Q151885))
action filter_type
action find
entity Q27417
relation P136
type Q151885
[ANSWER] can be considered as genre of that band
['Q27417', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q27417 property:P136 ?d . ?d rdf:type ontology:Q151885 }
synthpop
Synthpop can be considered as genre of that band
synthpop
action filter_type
action find
entity Modern Talking
relation genre
type concept
['Modern Talking', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Modern_Talking property:genre ?d . ?d rdf:type ontology:concept }
[]