Simple Question (Direct)
Simple Question
Q120065
P20
Q20667921
USER
Where did Henri Morier die ?
(Q120065,P20,c(Q20667921))
action filter_type
action find
entity Q120065
relation P20
type Q20667921
['Q120065', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q120065 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Henri Morier
action filter_type
action find
entity Henri Morier
relation place of death
type type of french administrative division
['Henri Morier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Henri_Morier property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q333093
SYSTEM
Ambilly
Q333093
(Q120065,P20,c(Q20667921))
action filter_type
action find
entity Q120065
relation P20
type Q20667921
Henri Morier died in [ANSWER]
['Q120065', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q120065 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Ambilly
Henri Morier died in Ambilly
Ambilly
action filter_type
action find
entity Henri Morier
relation place of death
type type of french administrative division
['Henri Morier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Henri_Morier property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q120065
P106
Q12737077
USER
Which occupation is the profession of Henri Morier ?
(Q120065,P106,c(Q12737077))
action filter_type
action find
entity Q120065
relation P106
type Q12737077
['Q120065', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q120065 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Henri Morier
action filter_type
action find
entity Henri Morier
relation occupation
type occupation
['Henri Morier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Henri_Morier property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q120065,P106,c(Q12737077))
action filter_type
action find
entity Q120065
relation P106
type Q12737077
The [ANSWER] is the profession of Henri Morier
['Q120065', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q120065 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
university teacher
The university teacher is the profession of Henri Morier
university teacher
action filter_type
action find
entity Henri Morier
relation occupation
type occupation
['Henri Morier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Henri_Morier property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6324159
Q12737077
USER
And what about K. V. L. Narasimham?
(Q6324159,P106,c(Q12737077))
action filter_type
action find
entity Q6324159
relation P106
type Q12737077
['Q6324159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6324159 property:P106 ?e }
K. V. L. Narasimham
action filter_type
action find
entity K. V. L. Narasimham
relation occupation
type occupation
['K. V. L. Narasimham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:K._V._L._Narasimham property:occupation ?e }
[]
occupation
Q16533
SYSTEM
judge
Q16533
(Q6324159,P106,c(Q12737077))
action filter_type
action find
entity Q6324159
relation P106
type Q12737077
[ANSWER]
['Q6324159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6324159 property:P106 ?e }
judge
judge
action filter_type
action find
entity K. V. L. Narasimham
relation occupation
type occupation
['K. V. L. Narasimham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:K._V._L._Narasimham property:occupation ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q8436 Q4164871
USER
How many families or positions have the profession as that occupation ?
(c(Q8436),P106,Q16533) (c(Q4164871),P106,Q16533) (c(Q8436),P106,Q16533) (c(Q4164871),P106,Q16533)
action count
action union
action filter_type
action find_reverse
entity Q16533
relation P106
type Q8436
action filter_type
action find_reverse
entity Q16533
relation P106
type Q4164871
[{'concept': 'Q8436'}, 'P106', 'Q16533'] [{'concept': 'Q4164871'}, 'P106', 'Q16533'] [{'concept': 'Q8436'}, 'P106', 'Q16533'] [{'concept': 'Q4164871'}, 'P106', 'Q16533']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:P106 resource:Q16533 . ?o rdf:type ontology:Q4164871 } UNION { ?o property:P106 resource:Q16533 . ?o rdf:type ontology:Q8436 } }
action count
action union
action filter_type
action find_reverse
entity judge
relation occupation
type family
action filter_type
action find_reverse
entity judge
relation occupation
type position
[{'concept': 'family'}, 'occupation', 'judge'] [{'concept': 'position'}, 'occupation', 'judge'] [{'concept': 'family'}, 'occupation', 'judge'] [{'concept': 'position'}, 'occupation', 'judge']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:occupation resource:judge . ?o rdf:type ontology:position } UNION { ?o property:occupation resource:judge . ?o rdf:type ontology:family } }
[]
family position
SYSTEM
3
Q110831 Q24451377 Q7892548
(c(Q8436),P106,Q16533) (c(Q4164871),P106,Q16533) (c(Q8436),P106,Q16533) (c(Q4164871),P106,Q16533)
action count
action union
action filter_type
action find_reverse
entity Q16533
relation P106
type Q8436
action filter_type
action find_reverse
entity Q16533
relation P106
type Q4164871
[ANSWER]
[{'concept': 'Q8436'}, 'P106', 'Q16533'] [{'concept': 'Q4164871'}, 'P106', 'Q16533'] [{'concept': 'Q8436'}, 'P106', 'Q16533'] [{'concept': 'Q4164871'}, 'P106', 'Q16533']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:P106 resource:Q16533 . ?o rdf:type ontology:Q4164871 } UNION { ?o property:P106 resource:Q16533 . ?o rdf:type ontology:Q8436 } }
Andreas Gaill Konstantinos Alexopoulos United States magistrate judge
3
action count
action union
action filter_type
action find_reverse
entity judge
relation occupation
type family
action filter_type
action find_reverse
entity judge
relation occupation
type position
[{'concept': 'family'}, 'occupation', 'judge'] [{'concept': 'position'}, 'occupation', 'judge'] [{'concept': 'family'}, 'occupation', 'judge'] [{'concept': 'position'}, 'occupation', 'judge']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:occupation resource:judge . ?o rdf:type ontology:position } UNION { ?o property:occupation resource:judge . ?o rdf:type ontology:family } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23810528
P921
Q12737077 Q732577 Q191067
USER
Which occupations were approximately the same number of publications or articles mainly about as ice cream taster ?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q23810528
relation P921
type Q732577
type Q191067
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?k WHERE { { ?f property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q732577 } UNION { ?f property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q191067 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P921 resource:Q23810528 . { { ?l rdf:type ontology:Q732577 } UNION { ?l rdf:type ontology:Q191067 } } } } . FILTER ( ?x = ?d ) }
ice cream taster
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity ice cream taster
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?k WHERE { { ?f property:main_subject ?k . ?k rdf:type ontology:occupation . ?f rdf:type ontology:publication } UNION { ?f property:main_subject ?k . ?k rdf:type ontology:occupation . ?f rdf:type ontology:article } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:main_subject resource:ice_cream_taster . { { ?l rdf:type ontology:publication } UNION { ?l rdf:type ontology:article } } } } . FILTER ( ?x = ?d ) }
[]
occupation publication article
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q23810528
relation P921
type Q732577
type Q191067
[ANSWERS] were approximately the same number of publications or articles mainly about as ice cream taster
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?k WHERE { { ?f property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q732577 } UNION { ?f property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q191067 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P921 resource:Q23810528 . { { ?l rdf:type ontology:Q732577 } UNION { ?l rdf:type ontology:Q191067 } } } } . FILTER ( ?x = ?d ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant 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 inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Farmer, architect and Member of Parliament in the United Kingdom were approximately the same number of publications or articles mainly about as ice cream taster
farmer architect Member of Parliament in the United Kingdom
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity ice cream taster
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?k WHERE { { ?f property:main_subject ?k . ?k rdf:type ontology:occupation . ?f rdf:type ontology:publication } UNION { ?f property:main_subject ?k . ?k rdf:type ontology:occupation . ?f rdf:type ontology:article } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:main_subject resource:ice_cream_taster . { { ?l rdf:type ontology:publication } UNION { ?l rdf:type ontology:article } } } } . FILTER ( ?x = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q131524
P921
Q12737077 Q732577 Q191067
USER
And how about entrepreneur?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q131524
relation P921
type Q732577
type Q191067
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P921 resource:Q131524 . { VALUES ( ?y ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } . ?h rdf:type ?y } } } . FILTER ( ?u = ?f ) }
entrepreneur
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity entrepreneur
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:publication ) ( ontology:article ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:main_subject resource:entrepreneur . { VALUES ( ?y ) { ( ontology:publication ) ( ontology:article ) } . ?h rdf:type ?y } } } . FILTER ( ?u = ?f ) }
[]
occupation publication article
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q131524
relation P921
type Q732577
type Q191067
[ANSWERS]
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P921 resource:Q131524 . { VALUES ( ?y ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } . ?h rdf:type ?y } } } . FILTER ( ?u = ?f ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant 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 inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
farmer architect Member of Parliament in the United Kingdom
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity entrepreneur
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:publication ) ( ontology:article ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:main_subject resource:entrepreneur . { VALUES ( ?y ) { ( ontology:publication ) ( ontology:article ) } . ?h rdf:type ?y } } } . FILTER ( ?u = ?f ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q163740 Q27277631
USER
How many nonprofit organizations and fictional mammals have a job as that occupation ?
(c(Q163740),P106,Q131512) (c(Q27277631),P106,Q131512) (c(Q163740),P106,Q131512) (c(Q27277631),P106,Q131512) (c(Q163740),P106,Q42973) (c(Q27277631),P106,Q42973) (c(Q163740),P106,Q16707842) (c(Q27277631),P106,Q16707842)
[{'concept': 'Q163740'}, 'P106', 'Q131512'] [{'concept': 'Q27277631'}, 'P106', 'Q131512'] [{'concept': 'Q163740'}, 'P106', 'Q131512'] [{'concept': 'Q27277631'}, 'P106', 'Q131512'] [{'concept': 'Q163740'}, 'P106', 'Q42973'] [{'concept': 'Q27277631'}, 'P106', 'Q42973'] [{'concept': 'Q163740'}, 'P106', 'Q16707842'] [{'concept': 'Q27277631'}, 'P106', 'Q16707842']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q42973 } UNION { ?y property:Q528892 resource:Q42973 } UNION { ?z property:Q528892 resource:Q16707842 } UNION { ?y property:Q528892 resource:Q16707842 } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q27277631 }
[{'concept': 'nonprofit organization'}, 'occupation', 'farmer'] [{'concept': 'fictional mammal'}, 'occupation', 'farmer'] [{'concept': 'nonprofit organization'}, 'occupation', 'farmer'] [{'concept': 'fictional mammal'}, 'occupation', 'farmer'] [{'concept': 'nonprofit organization'}, 'occupation', 'architect'] [{'concept': 'fictional mammal'}, 'occupation', 'architect'] [{'concept': 'nonprofit organization'}, 'occupation', 'Member of Parliament in the United Kingdom'] [{'concept': 'fictional mammal'}, 'occupation', 'Member of Parliament in the United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:architect } UNION { ?y property:occupation resource:architect } UNION { ?z property:occupation resource:Member_of_Parliament_in_the_United_Kingdom } UNION { ?y property:occupation resource:Member_of_Parliament_in_the_United_Kingdom } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:fictional_mammal }
[]
nonprofit organization fictional mammal
Quantitative|Count|Mult. entity type|Clarification
Q42973
SYSTEM
Did you mean architect ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q42973 } UNION { ?y property:Q528892 resource:Q42973 } UNION { ?z property:Q528892 resource:Q16707842 } UNION { ?y property:Q528892 resource:Q16707842 } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q27277631 }
Did you mean architect ?
architect
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:architect } UNION { ?y property:occupation resource:architect } UNION { ?z property:occupation resource:Member_of_Parliament_in_the_United_Kingdom } UNION { ?y property:occupation resource:Member_of_Parliament_in_the_United_Kingdom } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:fictional_mammal }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant farmer. Could you tell me the answer for that?
(c(Q163740),P106,Q131512) (c(Q27277631),P106,Q131512) (c(Q163740),P106,Q131512) (c(Q27277631),P106,Q131512) (c(Q163740),P106,Q42973) (c(Q27277631),P106,Q42973) (c(Q163740),P106,Q16707842) (c(Q27277631),P106,Q16707842)
Q131512
[{'concept': 'Q163740'}, 'P106', 'Q131512'] [{'concept': 'Q27277631'}, 'P106', 'Q131512'] [{'concept': 'Q163740'}, 'P106', 'Q131512'] [{'concept': 'Q27277631'}, 'P106', 'Q131512'] [{'concept': 'Q163740'}, 'P106', 'Q42973'] [{'concept': 'Q27277631'}, 'P106', 'Q42973'] [{'concept': 'Q163740'}, 'P106', 'Q16707842'] [{'concept': 'Q27277631'}, 'P106', 'Q16707842']
[{'concept': 'nonprofit organization'}, 'occupation', 'farmer'] [{'concept': 'fictional mammal'}, 'occupation', 'farmer'] [{'concept': 'nonprofit organization'}, 'occupation', 'farmer'] [{'concept': 'fictional mammal'}, 'occupation', 'farmer'] [{'concept': 'nonprofit organization'}, 'occupation', 'architect'] [{'concept': 'fictional mammal'}, 'occupation', 'architect'] [{'concept': 'nonprofit organization'}, 'occupation', 'Member of Parliament in the United Kingdom'] [{'concept': 'fictional mammal'}, 'occupation', 'Member of Parliament in the United Kingdom']
[]
SYSTEM
1 nonprofit organizations and 1 fictional mammals
Q7896865 Q24140189
(c(Q163740),P106,Q131512) (c(Q27277631),P106,Q131512) (c(Q163740),P106,Q131512) (c(Q27277631),P106,Q131512) (c(Q163740),P106,Q42973) (c(Q27277631),P106,Q42973) (c(Q163740),P106,Q16707842) (c(Q27277631),P106,Q16707842)
[ANSWER]
[{'concept': 'Q163740'}, 'P106', 'Q131512'] [{'concept': 'Q27277631'}, 'P106', 'Q131512'] [{'concept': 'Q163740'}, 'P106', 'Q131512'] [{'concept': 'Q27277631'}, 'P106', 'Q131512'] [{'concept': 'Q163740'}, 'P106', 'Q42973'] [{'concept': 'Q27277631'}, 'P106', 'Q42973'] [{'concept': 'Q163740'}, 'P106', 'Q16707842'] [{'concept': 'Q27277631'}, 'P106', 'Q16707842']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q42973 } UNION { ?y property:Q528892 resource:Q42973 } UNION { ?z property:Q528892 resource:Q16707842 } UNION { ?y property:Q528892 resource:Q16707842 } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q27277631 }
União Democrática Ruralista Stu Hopps
1 nonprofit organizations and 1 fictional mammals
[{'concept': 'nonprofit organization'}, 'occupation', 'farmer'] [{'concept': 'fictional mammal'}, 'occupation', 'farmer'] [{'concept': 'nonprofit organization'}, 'occupation', 'farmer'] [{'concept': 'fictional mammal'}, 'occupation', 'farmer'] [{'concept': 'nonprofit organization'}, 'occupation', 'architect'] [{'concept': 'fictional mammal'}, 'occupation', 'architect'] [{'concept': 'nonprofit organization'}, 'occupation', 'Member of Parliament in the United Kingdom'] [{'concept': 'fictional mammal'}, 'occupation', 'Member of Parliament in the United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:architect } UNION { ?y property:occupation resource:architect } UNION { ?z property:occupation resource:Member_of_Parliament_in_the_United_Kingdom } UNION { ?y property:occupation resource:Member_of_Parliament_in_the_United_Kingdom } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:fictional_mammal }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19204627
P921
Q12737077 Q2342494 Q191067
USER
Which occupations were the main subjects of more number of collectables and articles 's work than American football player ?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q19204627
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } . ?r rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P921 resource:Q19204627 . { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?w rdf:type ?o } } } . FILTER ( ?i > ?p ) }
American football player
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity American football player
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:article ) ( ontology:collectable ) } . ?r rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:main_subject resource:American_football_player . { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:article ) } . ?w rdf:type ?o } } } . FILTER ( ?i > ?p ) }
[]
occupation collectable article
Q316070 Q182436 Q42973
SYSTEM
Fletcher Christian, librarian, architect
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q19204627
relation P921
type Q2342494
type Q191067
[ANSWERS] were the main subjects of more number of collectables and articles 's work than American football player
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:Q191067 ) ( ontology:Q2342494 ) } . ?r rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P921 resource:Q19204627 . { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?w rdf:type ?o } } } . FILTER ( ?i > ?p ) }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
Fletcher Christian, librarian and architect were the main subjects of more number of collectables and articles 's work than American football player
Fletcher Christian librarian architect
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity American football player
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:article ) ( ontology:collectable ) } . ?r rdf:type ?y } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:main_subject resource:American_football_player . { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:article ) } . ?w rdf:type ?o } } } . FILTER ( ?i > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16533
P921
Q12737077 Q2342494 Q191067
USER
And how about judge?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16533
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P921 resource:Q16533 . { { ?u rdf:type ontology:Q2342494 } UNION { ?u rdf:type ontology:Q191067 } } } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q12737077 . ?s property:P921 ?m } UNION { ?s property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q191067 } } GROUP BY ?m } }
judge
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity judge
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:main_subject resource:judge . { { ?u rdf:type ontology:collectable } UNION { ?u rdf:type ontology:article } } } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:collectable . ?m rdf:type ontology:occupation . ?s property:main_subject ?m } UNION { ?s property:main_subject ?m . ?m rdf:type ontology:occupation . ?s rdf:type ontology:article } } GROUP BY ?m } }
[]
occupation collectable article
Q316070 Q182436 Q42973
SYSTEM
Fletcher Christian, librarian, architect
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16533
relation P921
type Q2342494
type Q191067
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P921 resource:Q16533 . { { ?u rdf:type ontology:Q2342494 } UNION { ?u rdf:type ontology:Q191067 } } } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q12737077 . ?s property:P921 ?m } UNION { ?s property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q191067 } } GROUP BY ?m } }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
Fletcher Christian librarian architect
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity judge
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:main_subject resource:judge . { { ?u rdf:type ontology:collectable } UNION { ?u rdf:type ontology:article } } } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:collectable . ?m rdf:type ontology:occupation . ?s property:main_subject ?m } UNION { ?s property:main_subject ?m . ?m rdf:type ontology:occupation . ?s rdf:type ontology:article } } GROUP BY ?m } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q340169
USER
Which occupations are depicted in exactly 2 game equipment or medias ?
(c(Q17638008)|c(Q340169),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?m property:P180 ?k . ?m rdf:type ontology:Q17638008 . ?k rdf:type ontology:Q12737077 } UNION { ?k rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q340169 . ?m property:P180 ?k } } GROUP BY ?k } . FILTER ( ?l = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?m property:depicts ?k . ?m rdf:type ontology:game_equipment . ?k rdf:type ontology:occupation } UNION { ?k rdf:type ontology:occupation . ?m rdf:type ontology:media . ?m property:depicts ?k } } GROUP BY ?k } . FILTER ( ?l = 2 ) }
[]
occupation game equipment media
Q4991371 Q639669
SYSTEM
soldier, musician
Q4991371 Q639669
(c(Q17638008)|c(Q340169),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWERS] are depicted in exactly 2 game equipment or medias
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?m property:P180 ?k . ?m rdf:type ontology:Q17638008 . ?k rdf:type ontology:Q12737077 } UNION { ?k rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q340169 . ?m property:P180 ?k } } GROUP BY ?k } . FILTER ( ?l = 2 ) }
soldier musician
Soldier and musician are depicted in exactly 2 game equipment or medias
soldier musician
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?m property:depicts ?k . ?m rdf:type ontology:game_equipment . ?k rdf:type ontology:occupation } UNION { ?k rdf:type ontology:occupation . ?m rdf:type ontology:media . ?m property:depicts ?k } } GROUP BY ?k } . FILTER ( ?l = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1410280 Q120065
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Henri Morier or Harry Mutuma Kathurima ?
OR((Q120065,P27,c(Q15617994)), (Q1410280,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q120065
relation P27
action find
entity Q1410280
relation P27
type Q15617994
{'OR': [['Q120065', 'P27', {'concept': 'Q15617994'}], ['Q1410280', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q120065 property:P27 ?v } UNION { resource:Q1410280 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Harry Mutuma Kathurima Henri Morier
action filter_type
action union
action find
entity Henri Morier
relation country of citizenship
action find
entity Harry Mutuma Kathurima
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Henri Morier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Harry Mutuma Kathurima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Henri_Morier property:country_of_citizenship ?v } UNION { resource:Harry_Mutuma_Kathurima property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39 Q114
SYSTEM
France, Switzerland, Kenya
Q142 Q39 Q114
OR((Q120065,P27,c(Q15617994)), (Q1410280,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q120065
relation P27
action find
entity Q1410280
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Henri Morier or Harry Mutuma Kathurima
{'OR': [['Q120065', 'P27', {'concept': 'Q15617994'}], ['Q1410280', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q120065 property:P27 ?v } UNION { resource:Q1410280 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
France Switzerland Kenya
France, Switzerland and Kenya are the countries of citizenship of Henri Morier or Harry Mutuma Kathurima
France Switzerland Kenya
action filter_type
action union
action find
entity Henri Morier
relation country of citizenship
action find
entity Harry Mutuma Kathurima
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Henri Morier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Harry Mutuma Kathurima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Henri_Morier property:country_of_citizenship ?v } UNION { resource:Harry_Mutuma_Kathurima property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have ambassadorial relations with those administrative territories ?
(Q183,P530,Q142) (Q183,P530,Q39) (Q183,P530,Q114)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q142'] ['Q183', 'P530', 'Q39'] ['Q183', 'P530', 'Q114']
ASK WHERE { resource:Q183 property:P530 ?w . VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q39 ) ( resource:Q114 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'France'] ['Germany', 'diplomatic relation', 'Switzerland'] ['Germany', 'diplomatic relation', 'Kenya']
ASK WHERE { resource:Germany property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:France ) ( resource:Switzerland ) ( resource:Kenya ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q142) (Q183,P530,Q39) (Q183,P530,Q114)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q142'] ['Q183', 'P530', 'Q39'] ['Q183', 'P530', 'Q114']
ASK WHERE { resource:Q183 property:P530 ?w . VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q39 ) ( resource:Q114 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'France'] ['Germany', 'diplomatic relation', 'Switzerland'] ['Germany', 'diplomatic relation', 'Kenya']
ASK WHERE { resource:Germany property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:France ) ( resource:Switzerland ) ( resource:Kenya ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1622272 Q9438
P417
Q502895
USER
Is Thomas Aquinas the patron saint of university teacher ?
(Q1622272,P417,Q9438)
action is_in
entity Q9438
action find
entity Q1622272
relation P417
['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 }
university teacher Thomas Aquinas
action is_in
entity Thomas Aquinas
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
common name
SYSTEM
YES
(Q1622272,P417,Q9438)
action is_in
entity Q9438
action find
entity Q1622272
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 }
Yes
action is_in
entity Thomas Aquinas
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]