Simple Question (Direct)
Simple Question
Q12033379
P102
Q7210356
USER
Which party is Libor Nowak affiliated with ?
(Q12033379,P102,c(Q7210356))
action filter_type
action find
entity Q12033379
relation P102
type Q7210356
['Q12033379', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7210356 . resource:Q12033379 property:P102 ?f }
Libor Nowak
action filter_type
action find
entity Libor Nowak
relation member of political party
type political organization
['Libor Nowak', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_organization . resource:Libor_Nowak property:member_of_political_party ?f }
[]
political organization
Q828099
SYSTEM
Civic Democratic Party
Q828099
(Q12033379,P102,c(Q7210356))
action filter_type
action find
entity Q12033379
relation P102
type Q7210356
Libor Nowak is affiliated with [ANSWER]
['Q12033379', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7210356 . resource:Q12033379 property:P102 ?f }
Civic Democratic Party
Libor Nowak is affiliated with Civic Democratic Party
Civic Democratic Party
action filter_type
action find
entity Libor Nowak
relation member of political party
type political organization
['Libor Nowak', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_organization . resource:Libor_Nowak property:member_of_political_party ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12033379
P39
Q12737077
USER
What was the position for which Libor Nowak was appointed ?
(Q12033379,P39,c(Q12737077))
action filter_type
action find
entity Q12033379
relation P39
type Q12737077
['Q12033379', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q12033379 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Libor Nowak
action filter_type
action find
entity Libor Nowak
relation position held
type occupation
['Libor Nowak', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Libor_Nowak property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q19803234
SYSTEM
Member of the Chamber of Deputies of the Parliament of the Czech Republic
Q19803234
(Q12033379,P39,c(Q12737077))
action filter_type
action find
entity Q12033379
relation P39
type Q12737077
[ANSWER]
['Q12033379', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q12033379 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Member of the Chamber of Deputies of the Parliament of the Czech Republic
Member of the Chamber of Deputies of the Parliament of the Czech Republic
Member of the Chamber of Deputies of the Parliament of the Czech Republic
action filter_type
action find
entity Libor Nowak
relation position held
type occupation
['Libor Nowak', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Libor_Nowak property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q687662
Q12737077
USER
And what about Stefano Caldoro?
(Q687662,P39,c(Q12737077))
action filter_type
action find
entity Q687662
relation P39
type Q12737077
['Q687662', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q687662 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Stefano Caldoro
action filter_type
action find
entity Stefano Caldoro
relation position held
type occupation
['Stefano Caldoro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Stefano_Caldoro property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q18558478
SYSTEM
member of the Chamber of Deputies of the Italian Republic
Q18558478
(Q687662,P39,c(Q12737077))
action filter_type
action find
entity Q687662
relation P39
type Q12737077
[ANSWER]
['Q687662', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q687662 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic
member of the Chamber of Deputies of the Italian Republic
action filter_type
action find
entity Stefano Caldoro
relation position held
type occupation
['Stefano Caldoro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Stefano_Caldoro property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18558478 Q47081 Q38
P17
Q15617994
USER
Is that occupation situated in Segusino and Italy ?
(Q18558478,P17,Q47081) (Q18558478,P17,Q38)
action is_in
entity Q18558478
action intersection
action find_reverse
entity Q47081
relation P17
action find_reverse
entity Q38
relation P17
['Q18558478', 'P17', 'Q47081'] ['Q18558478', 'P17', 'Q38']
ASK WHERE { resource:Q18558478 property:P17 resource:Q47081 . resource:Q18558478 property:P17 resource:Q38 }
member of the Chamber of Deputies of the Italian Republic Segusino Italy
action is_in
entity member of the Chamber of Deputies of the Italian Republic
action intersection
action find_reverse
entity Segusino
relation country
action find_reverse
entity Italy
relation country
['member of the Chamber of Deputies of the Italian Republic', 'country', 'Segusino'] ['member of the Chamber of Deputies of the Italian Republic', 'country', 'Italy']
ASK WHERE { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:country resource:Segusino . resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18558478,P17,Q47081) (Q18558478,P17,Q38)
action is_in
entity Q18558478
action intersection
action find_reverse
entity Q47081
relation P17
action find_reverse
entity Q38
relation P17
[ANSWER]
['Q18558478', 'P17', 'Q47081'] ['Q18558478', 'P17', 'Q38']
ASK WHERE { resource:Q18558478 property:P17 resource:Q47081 . resource:Q18558478 property:P17 resource:Q38 }
NO and YES respectively
action is_in
entity member of the Chamber of Deputies of the Italian Republic
action intersection
action find_reverse
entity Segusino
relation country
action find_reverse
entity Italy
relation country
['member of the Chamber of Deputies of the Italian Republic', 'country', 'Segusino'] ['member of the Chamber of Deputies of the Italian Republic', 'country', 'Italy']
ASK WHERE { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:country resource:Segusino . resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12033379 Q213 Q306405
P27
Q15617994
USER
Is Libor Nowak a native of Czech Republic and Bad Schönborn ?
(Q12033379,P27,Q213) (Q12033379,P27,Q306405)
action is_in
entity Q12033379
action intersection
action find_reverse
entity Q213
relation P27
action find_reverse
entity Q306405
relation P27
['Q12033379', 'P27', 'Q213'] ['Q12033379', 'P27', 'Q306405']
ASK WHERE { resource:Q12033379 property:P27 resource:Q213 . resource:Q12033379 property:P27 resource:Q306405 }
Libor Nowak Czech Republic Bad Schönborn
action is_in
entity Libor Nowak
action intersection
action find_reverse
entity Czech Republic
relation country of citizenship
action find_reverse
entity Bad Schönborn
relation country of citizenship
['Libor Nowak', 'country of citizenship', 'Czech Republic'] ['Libor Nowak', 'country of citizenship', 'Bad Schönborn']
ASK WHERE { resource:Libor_Nowak property:country_of_citizenship resource:Czech_Republic . resource:Libor_Nowak property:country_of_citizenship resource:Bad_Schönborn }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q12033379,P27,Q213) (Q12033379,P27,Q306405)
action is_in
entity Q12033379
action intersection
action find_reverse
entity Q213
relation P27
action find_reverse
entity Q306405
relation P27
[ANSWER]
['Q12033379', 'P27', 'Q213'] ['Q12033379', 'P27', 'Q306405']
ASK WHERE { resource:Q12033379 property:P27 resource:Q213 . resource:Q12033379 property:P27 resource:Q306405 }
YES and NO respectively
action is_in
entity Libor Nowak
action intersection
action find_reverse
entity Czech Republic
relation country of citizenship
action find_reverse
entity Bad Schönborn
relation country of citizenship
['Libor Nowak', 'country of citizenship', 'Czech Republic'] ['Libor Nowak', 'country of citizenship', 'Bad Schönborn']
ASK WHERE { resource:Libor_Nowak property:country_of_citizenship resource:Czech_Republic . resource:Libor_Nowak property:country_of_citizenship resource:Bad_Schönborn }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19803234 Q876380 Q683933
P1001
Q15617994
USER
Does Member of the Chamber of Deputies of the Parliament of the Czech Republic have control over the jurisdiction of Vordernberg and Nackenheim ?
(Q19803234,P1001,Q876380) (Q19803234,P1001,Q683933)
action is_in
entity Q19803234
action intersection
action find_reverse
entity Q876380
relation P1001
action find_reverse
entity Q683933
relation P1001
['Q19803234', 'P1001', 'Q876380'] ['Q19803234', 'P1001', 'Q683933']
ASK WHERE { resource:Q19803234 property:P1001 resource:Q876380 . resource:Q19803234 property:P1001 resource:Q683933 }
Member of the Chamber of Deputies of the Parliament of the Czech Republic Vordernberg Nackenheim
action is_in
entity Member of the Chamber of Deputies of the Parliament of the Czech Republic
action intersection
action find_reverse
entity Vordernberg
relation applies to jurisdiction
action find_reverse
entity Nackenheim
relation applies to jurisdiction
['Member of the Chamber of Deputies of the Parliament of the Czech Republic', 'applies to jurisdiction', 'Vordernberg'] ['Member of the Chamber of Deputies of the Parliament of the Czech Republic', 'applies to jurisdiction', 'Nackenheim']
ASK WHERE { resource:Member_of_the_Chamber_of_Deputies_of_the_Parliament_of_the_Czech_Republic property:applies_to_jurisdiction resource:Vordernberg . resource:Member_of_the_Chamber_of_Deputies_of_the_Parliament_of_the_Czech_Republic property:applies_to_jurisdiction resource:Nackenheim }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q19803234,P1001,Q876380) (Q19803234,P1001,Q683933)
action is_in
entity Q19803234
action intersection
action find_reverse
entity Q876380
relation P1001
action find_reverse
entity Q683933
relation P1001
[ANSWER]
['Q19803234', 'P1001', 'Q876380'] ['Q19803234', 'P1001', 'Q683933']
ASK WHERE { resource:Q19803234 property:P1001 resource:Q876380 . resource:Q19803234 property:P1001 resource:Q683933 }
No
action is_in
entity Member of the Chamber of Deputies of the Parliament of the Czech Republic
action intersection
action find_reverse
entity Vordernberg
relation applies to jurisdiction
action find_reverse
entity Nackenheim
relation applies to jurisdiction
['Member of the Chamber of Deputies of the Parliament of the Czech Republic', 'applies to jurisdiction', 'Vordernberg'] ['Member of the Chamber of Deputies of the Parliament of the Czech Republic', 'applies to jurisdiction', 'Nackenheim']
ASK WHERE { resource:Member_of_the_Chamber_of_Deputies_of_the_Parliament_of_the_Czech_Republic property:applies_to_jurisdiction resource:Vordernberg . resource:Member_of_the_Chamber_of_Deputies_of_the_Parliament_of_the_Czech_Republic property:applies_to_jurisdiction resource:Nackenheim }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19803234
P361
Q375928
USER
Which lower house is that occupation a part of ?
action filter_type
action find
entity Q19803234
relation P361
type Q375928
SELECT DISTINCT ?h WHERE { resource:Q19803234 property:P361 ?h . ?h rdf:type ontology:Q375928 }
Member of the Chamber of Deputies of the Parliament of the Czech Republic
action filter_type
action find
entity Member of the Chamber of Deputies of the Parliament of the Czech Republic
relation part of
type lower house
SELECT DISTINCT ?h WHERE { resource:Member_of_the_Chamber_of_Deputies_of_the_Parliament_of_the_Czech_Republic property:part_of ?h . ?h rdf:type ontology:lower_house }
[]
lower house
Q320265
SYSTEM
Chamber of Deputies of the Parliament of the Czech Republic
Q320265
action filter_type
action find
entity Q19803234
relation P361
type Q375928
The [ANSWER] is that occupation a part of
SELECT DISTINCT ?h WHERE { resource:Q19803234 property:P361 ?h . ?h rdf:type ontology:Q375928 }
Chamber of Deputies of the Parliament of the Czech Republic
The Chamber of Deputies of the Parliament of the Czech Republic is that occupation a part of
Chamber of Deputies of the Parliament of the Czech Republic
action filter_type
action find
entity Member of the Chamber of Deputies of the Parliament of the Czech Republic
relation part of
type lower house
SELECT DISTINCT ?h WHERE { resource:Member_of_the_Chamber_of_Deputies_of_the_Parliament_of_the_Czech_Republic property:part_of ?h . ?h rdf:type ontology:lower_house }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q911554
P921
Q12737077 Q732577 Q838948
USER
Which occupations were the main subjects of less number of publications and works of art 's work than business magnate ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?z ) WHERE { { ?v rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q732577 . ?w property:P921 ?v } UNION { ?w property:P921 ?v . ?w rdf:type ontology:Q838948 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P921 resource:Q911554 . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } } } . FILTER ( ?z < ?l ) }
business magnate
action less
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 work of art
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?z ) WHERE { { ?v rdf:type ontology:occupation . ?w rdf:type ontology:publication . ?w property:main_subject ?v } UNION { ?w property:main_subject ?v . ?w rdf:type ontology:work_of_art . ?v rdf:type ontology:occupation } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:main_subject resource:business_magnate . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:publication ) ( ontology:work_of_art ) } } } } . FILTER ( ?z < ?l ) }
[]
occupation publication work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q182436 Q2259532 Q361593 Q1856798 Q16707842
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q911554
relation P921
type Q732577
type Q838948
[ANSWERS] were the main subjects of less number of publications and works of art 's work than business magnate
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?z ) WHERE { { ?v rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q732577 . ?w property:P921 ?v } UNION { ?w property:P921 ?v . ?w rdf:type ontology:Q838948 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P921 resource:Q911554 . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } } } . FILTER ( ?z < ?l ) }
praetor member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist 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 Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward 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 pastor cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer rabbi völva conductor peasant missionary United States federal judge musician Nomarch poet medical examiner police officer statesman political scientist librarian cleric police officer baseball umpire Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of less number of publications and works of art 's work than business magnate
Fletcher Christian farmer librarian
action less
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 work of art
action count
action filter_multi_types
action find_reverse
entity business magnate
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?z ) WHERE { { ?v rdf:type ontology:occupation . ?w rdf:type ontology:publication . ?w property:main_subject ?v } UNION { ?w property:main_subject ?v . ?w rdf:type ontology:work_of_art . ?v rdf:type ontology:occupation } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:main_subject resource:business_magnate . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:publication ) ( ontology:work_of_art ) } } } } . FILTER ( ?z < ?l ) }
[]