Simple Question (Direct)
Simple Question
Q12749616
P463
Q1110684
USER
Which professional association had Vanja Bulić as its member ?
(Q12749616,P463,c(Q1110684))
action filter_type
action find
entity Q12749616
relation P463
type Q1110684
['Q12749616', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?r WHERE { resource:Q12749616 property:P463 ?r . ?r rdf:type ontology:Q1110684 }
Vanja Bulić
action filter_type
action find
entity Vanja Bulić
relation member of
type professional association
['Vanja Bulić', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?r WHERE { resource:Vanja_Bulić property:member_of ?r . ?r rdf:type ontology:professional_association }
[]
professional association
Q1260719
SYSTEM
Association of Writers of Serbia
Q1260719
(Q12749616,P463,c(Q1110684))
action filter_type
action find
entity Q12749616
relation P463
type Q1110684
[ANSWER] had Vanja Bulić as its member
['Q12749616', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?r WHERE { resource:Q12749616 property:P463 ?r . ?r rdf:type ontology:Q1110684 }
Association of Writers of Serbia
Association of Writers of Serbia had Vanja Bulić as its member
Association of Writers of Serbia
action filter_type
action find
entity Vanja Bulić
relation member of
type professional association
['Vanja Bulić', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?r WHERE { resource:Vanja_Bulić property:member_of ?r . ?r rdf:type ontology:professional_association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12749616
P106
Q12737077
USER
What do Vanja Bulić do for a living ?
(Q12749616,P106,c(Q12737077))
action filter_type
action find
entity Q12749616
relation P106
type Q12737077
['Q12749616', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q12749616 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Vanja Bulić
action filter_type
action find
entity Vanja Bulić
relation occupation
type occupation
['Vanja Bulić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Vanja_Bulić property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1930187 Q164236 Q36180
SYSTEM
journalist, war correspondent, writer
Q1930187 Q164236 Q36180
(Q12749616,P106,c(Q12737077))
action filter_type
action find
entity Q12749616
relation P106
type Q12737077
Vanja Bulić do for a living a [ANSWERS]
['Q12749616', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q12749616 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
journalist war correspondent writer
Vanja Bulić do for a living a journalist, war correspondent and writer
journalist war correspondent writer
action filter_type
action find
entity Vanja Bulić
relation occupation
type occupation
['Vanja Bulić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Vanja_Bulić property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12749616
P19
Q56061
USER
Where was that person born ?
(Q1930187,P19,c(Q56061)) (Q164236,P19,c(Q56061)) (Q36180,P19,c(Q56061))
action filter_type
action find
entity Q12749616
relation P19
type Q56061
['Q1930187', 'P19', {'concept': 'Q56061'}] ['Q164236', 'P19', {'concept': 'Q56061'}] ['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q12749616 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Vanja Bulić
action filter_type
action find
entity Vanja Bulić
relation place of birth
type administrative territorial entity
['journalist', 'place of birth', {'concept': 'administrative territorial entity'}] ['war correspondent', 'place of birth', {'concept': 'administrative territorial entity'}] ['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vanja_Bulić property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54452
SYSTEM
Kumanovo
Q54452
(Q1930187,P19,c(Q56061)) (Q164236,P19,c(Q56061)) (Q36180,P19,c(Q56061))
action filter_type
action find
entity Q12749616
relation P19
type Q56061
That person was born in [ANSWER]
['Q1930187', 'P19', {'concept': 'Q56061'}] ['Q164236', 'P19', {'concept': 'Q56061'}] ['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q12749616 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Kumanovo
That person was born in Kumanovo
Kumanovo
action filter_type
action find
entity Vanja Bulić
relation place of birth
type administrative territorial entity
['journalist', 'place of birth', {'concept': 'administrative territorial entity'}] ['war correspondent', 'place of birth', {'concept': 'administrative territorial entity'}] ['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vanja_Bulić property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14948018
P921
Q12737077 Q2342494 Q191067
USER
Which occupations were the main subjects of greater number of collectables or articles 's work than street musician ?
(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 Q14948018
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:P921 ?w . ?h rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q12737077 } UNION { ?h property:P921 ?w . ?w rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q191067 } } GROUP BY ?w } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P921 resource:Q14948018 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q191067 } } } } }
street musician
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 street musician
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:main_subject ?w . ?h rdf:type ontology:collectable . ?w rdf:type ontology:occupation } UNION { ?h property:main_subject ?w . ?w rdf:type ontology:occupation . ?h rdf:type ontology:article } } GROUP BY ?w } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:main_subject resource:street_musician . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:article } } } } }
[]
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 Q14948018
relation P921
type Q2342494
type Q191067
[ANSWERS] were the main subjects of greater number of collectables or articles 's work than street musician
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:P921 ?w . ?h rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q12737077 } UNION { ?h property:P921 ?w . ?w rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q191067 } } GROUP BY ?w } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P921 resource:Q14948018 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q191067 } } } } }
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 greater number of collectables or articles 's work than street musician
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 street musician
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?q ) WHERE { { ?h property:main_subject ?w . ?h rdf:type ontology:collectable . ?w rdf:type ontology:occupation } UNION { ?h property:main_subject ?w . ?w rdf:type ontology:occupation . ?h rdf:type ontology:article } } GROUP BY ?w } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:main_subject resource:street_musician . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:article } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q384593
P921
Q12737077 Q2342494 Q191067
USER
And also tell me about police officer?
(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 Q384593
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?c ) WHERE { { ?z rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q2342494 . ?q property:P921 ?z } UNION { ?q property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q191067 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q191067 } } . ?v property:P921 resource:Q384593 } } . FILTER ( ?c > ?o ) }
police officer
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 police officer
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?c ) WHERE { { ?z rdf:type ontology:occupation . ?q rdf:type ontology:collectable . ?q property:main_subject ?z } UNION { ?q property:main_subject ?z . ?z rdf:type ontology:occupation . ?q rdf:type ontology:article } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:collectable } UNION { ?v rdf:type ontology:article } } . ?v property:main_subject resource:police_officer } } . FILTER ( ?c > ?o ) }
[]
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 Q384593
relation P921
type Q2342494
type Q191067
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?c ) WHERE { { ?z rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q2342494 . ?q property:P921 ?z } UNION { ?q property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q191067 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q191067 } } . ?v property:P921 resource:Q384593 } } . FILTER ( ?c > ?o ) }
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 police officer
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?c ) WHERE { { ?z rdf:type ontology:occupation . ?q rdf:type ontology:collectable . ?q property:main_subject ?z } UNION { ?q property:main_subject ?z . ?z rdf:type ontology:occupation . ?q rdf:type ontology:article } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { { ?v rdf:type ontology:collectable } UNION { ?v rdf:type ontology:article } } . ?v property:main_subject resource:police_officer } } . FILTER ( ?c > ?o ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q12737077 Q2088357 Q43229
USER
How many occupations are the etymology of approximately the same number of musical ensembles or organizations as that occupation ?
(c(Q2088357)|c(Q43229),P138,c(Q12737077))
[[{'concept': 'Q2088357'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'musical ensemble'}, {'concept': 'organization'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation musical ensemble organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q316070
SYSTEM
Did you mean Fletcher Christian ?
(c(Q2088357)|c(Q43229),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean Fletcher Christian ?
Fletcher Christian
[[{'concept': 'musical ensemble'}, {'concept': 'organization'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant architect. Could you tell me the answer for that?
(c(Q2088357)|c(Q43229),P138,c(Q12737077))
Q42973
[[{'concept': 'Q2088357'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q12737077'}]
[[{'concept': 'musical ensemble'}, {'concept': 'organization'}], 'named after', {'concept': 'occupation'}]
[]
SYSTEM
122
Q192711 Q2347975 Q131512 Q80687 Q152355 Q652122 Q3506352 Q475604 Q11631 Q20765963 Q16010345 Q16149111 Q4151335 Q154549 Q45199 Q878942 Q329737 Q3400050 Q3181438 Q171692 Q30185 Q2550683 Q18576582 Q21771805 Q390776 Q215536 Q3112727 Q3112728 Q42973 Q81096 Q1542521 Q5589725 Q5589724 Q820037 Q326330 Q208762 Q20846080 Q16147601 Q20765611 Q733786 Q20801667 Q44356 Q15442776 Q16202700 Q12097 Q694579 Q20801664 Q386854 Q12059906 Q21075713 Q20853586 Q20644070 Q5589655 Q21993602 Q17089908 Q887010 Q2626318 Q201559 Q316070 Q474306 Q887220 Q326358 Q20801651 Q107198 Q5589668 Q3455803 Q2248045 Q1104153 Q20804520 Q13382355 Q13393921 Q1639825 Q20801647 Q20801646 Q20801644 Q242468 Q1477129 Q693032 Q152002 Q5179781 Q2259451 Q3773745 Q3773741 Q16997621 Q1028181 Q20804530 Q170779 Q5420718 Q20804538 Q275102 Q758780 Q20801656 Q5589688 Q20801652 Q694116 Q5589687 Q5589680 Q20801659 Q5589682 Q20766109 Q19647220 Q3738699 Q7252932 Q2251335 Q3773752 Q331432 Q20198851 Q49757 Q160131 Q456951 Q1141526 Q3112719 Q1491689 Q26218416 Q1436517 Q193391 Q1294787 Q988618 Q1410101 Q2700922 Q39631 Q593362
(c(Q2088357)|c(Q43229),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Prime Minister of India Governor of New York farmer secretary cobbler sewing Governor of Maine maritime pilot astronaut Governor of Arkansas performer Governor of Oregon Governor of Kentucky carpenter sailor Governor of Virginia butcher potter Nagasaki bugyō Patriarch mayor Governor of Oklahoma metallurgist winemaker Governor General of Canada merchant Governor of Wisconsin Governor of New Jersey architect engineer Governor-General of the Philippines Governor of Texas Governor of Tennessee miner primate chaplain Senator of the Legislature of the United States Virgin Islands Governor of Indiana Governor of Rhode Island monk Governor of Missouri tsar cryptographer Governor of North Carolina king farrier Governor of Iowa drummer herder salt worker Delegate of the Virgin Islands to the United States House of Representatives Governor of Ohio Governor of Hawaii Greverade family Governor of New Mexico Governor of California Governor of South Dakota privateer Fletcher Christian bellfounder Governor of Utah joiner Governor of Nevada barber Governor of Kansas director reaper canon Governor of the United States Virgin Islands archer pioneer blacksmith Governor of Wyoming Governor of Montana Governor of Alaska tailor völva Governor of Maryland pastor cowman stage actor Governor of Vermont Governor of North Dakota sawyer painter Governor of American Samoa Kassandra exotic dancer Governor of the Northern Mariana Islands voivode gardener Governor of Delaware Governor of Nebraska Governor of West Virginia miller Governor of New Hampshire Governor of Michigan Governor of Pennsylvania Governor of Minnesota Governor of Louisiana Governor of Washington forester pro–am school teacher Governor of South Carolina fisherman Governor of Florida poet baker Governor of Puerto Rico stripper Governor of Illinois haberdasher Chief Minister of Kerala Chief mate diplomat artisan Money changer pyrotechnist clockmaker physician draper
122
[[{'concept': 'musical ensemble'}, {'concept': 'organization'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54452
P931
Q62447
USER
What city is served by Kumanovo ?
(c(Q62447),P931,Q54452)
action filter_type
action find_reverse
entity Q54452
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q54452']
SELECT DISTINCT ?f WHERE { ?f property:P931 resource:Q54452 . ?f rdf:type ontology:Q62447 }
Kumanovo
action filter_type
action find_reverse
entity Kumanovo
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kumanovo']
SELECT DISTINCT ?f WHERE { ?f property:place_served_by_airport resource:Kumanovo . ?f rdf:type ontology:aerodrome }
[]
aerodrome
Q19818241
SYSTEM
Adzi Tepe Airport
Q19818241
(c(Q62447),P931,Q54452)
action filter_type
action find_reverse
entity Q54452
relation P931
type Q62447
[ANSWER] is served by Kumanovo
[{'concept': 'Q62447'}, 'P931', 'Q54452']
SELECT DISTINCT ?f WHERE { ?f property:P931 resource:Q54452 . ?f rdf:type ontology:Q62447 }
Adzi Tepe Airport
Adzi Tepe Airport is served by Kumanovo
Adzi Tepe Airport
action filter_type
action find_reverse
entity Kumanovo
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kumanovo']
SELECT DISTINCT ?f WHERE { ?f property:place_served_by_airport resource:Kumanovo . ?f rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19818241
P17
Q15617994
USER
Which administrative territory is that aerodrome located in ?
(Q19818241,P17,c(Q15617994))
action filter_type
action find
entity Q19818241
relation P17
type Q15617994
['Q19818241', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19818241 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Adzi Tepe Airport
action filter_type
action find
entity Adzi Tepe Airport
relation country
type designation for an administrative territorial entity
['Adzi Tepe Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Adzi_Tepe_Airport property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q221
SYSTEM
Republic of Macedonia
Q221
(Q19818241,P17,c(Q15617994))
action filter_type
action find
entity Q19818241
relation P17
type Q15617994
That aerodrome is located in [ANSWER]
['Q19818241', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19818241 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Republic of Macedonia
That aerodrome is located in Republic of Macedonia
Republic of Macedonia
action filter_type
action find
entity Adzi Tepe Airport
relation country
type designation for an administrative territorial entity
['Adzi Tepe Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Adzi_Tepe_Airport property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of greater number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q221
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?z ) WHERE { ?q rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2031291 . ?g property:P495 ?q } GROUP BY ?q } . FILTER ( ?z > ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q221 property:P495 ?y . ?y rdf:type ontology:Q15617994 } } }
action count
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Republic of Macedonia
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?z ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:release . ?g property:country_of_origin ?q } GROUP BY ?q } . FILTER ( ?z > ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Republic_of_Macedonia property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity release
SYSTEM
35
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q221
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?z ) WHERE { ?q rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2031291 . ?g property:P495 ?q } GROUP BY ?q } . FILTER ( ?z > ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q221 property:P495 ?y . ?y rdf:type ontology:Q15617994 } } }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
35
action count
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Republic of Macedonia
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?z ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:release . ?g property:country_of_origin ?q } GROUP BY ?q } . FILTER ( ?z > ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Republic_of_Macedonia property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18684154 Q12749616
P58
Q838948
USER
Which works of art have Vanja Bulić or Isabel Dawn as screenwriter ?
OR((c(Q838948),P58,Q12749616), (c(Q838948),P58,Q18684154))
action filter_type
action union
action find_reverse
entity Q12749616
relation P58
action find_reverse
entity Q18684154
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q12749616'], [{'concept': 'Q838948'}, 'P58', 'Q18684154']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . { VALUES ( ?m ) { ( resource:Q12749616 ) ( resource:Q18684154 ) } . ?l property:P58 ?m } }
Isabel Dawn Vanja Bulić
action filter_type
action union
action find_reverse
entity Vanja Bulić
relation screenwriter
action find_reverse
entity Isabel Dawn
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Vanja Bulić'], [{'concept': 'work of art'}, 'screenwriter', 'Isabel Dawn']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . { VALUES ( ?m ) { ( resource:Vanja_Bulić ) ( resource:Isabel_Dawn ) } . ?l property:screenwriter ?m } }
[]
work of art
Q4880876 Q3337543 Q18275860 Q2530135 Q3808688 Q3808686
SYSTEM
Behind the News, Don't Bet on Blondes, Ice-Capades, Pretty Village, Pretty Flame, Lady for a Night, A Man Betrayed
Q4880876 Q3337543 Q18275860 Q2530135 Q3808688 Q3808686
OR((c(Q838948),P58,Q12749616), (c(Q838948),P58,Q18684154))
action filter_type
action union
action find_reverse
entity Q12749616
relation P58
action find_reverse
entity Q18684154
relation P58
type Q838948
Behind the News, Don't Bet on Blondes, Ice-Capades, Pretty Village, Pretty Flame, Lady for a Night and A Man betrayed have Vanja Bulić or Isabel Dawn as screenwriter
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q12749616'], [{'concept': 'Q838948'}, 'P58', 'Q18684154']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . { VALUES ( ?m ) { ( resource:Q12749616 ) ( resource:Q18684154 ) } . ?l property:P58 ?m } }
Behind the News Don't Bet on Blondes Ice-Capades Pretty Village, Pretty Flame Lady for a Night A Man Betrayed
Behind the News, Don't Bet on Blondes, Ice-Capades, Pretty Village, Pretty Flame, Lady for a Night and A Man betrayed have Vanja Bulić or Isabel Dawn as screenwriter
Behind the News Don't Bet on Blondes Ice-Capades Pretty Village, Pretty Flame Lady for a Night A Man Betrayed
action filter_type
action union
action find_reverse
entity Vanja Bulić
relation screenwriter
action find_reverse
entity Isabel Dawn
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Vanja Bulić'], [{'concept': 'work of art'}, 'screenwriter', 'Isabel Dawn']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . { VALUES ( ?m ) { ( resource:Vanja_Bulić ) ( resource:Isabel_Dawn ) } . ?l property:screenwriter ?m } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works were described in max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:P1445 ?j . ?k rdf:type ontology:Q386724 . ?j rdf:type ontology:Q838948 } GROUP BY ?k } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?i ) WHERE { ?d property:P1445 ?m . ?d rdf:type ontology:Q386724 . ?m rdf:type ontology:Q838948 } GROUP BY ?d } }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:fictional_universe_described_in ?j . ?k rdf:type ontology:work . ?j rdf:type ontology:work_of_art } GROUP BY ?k } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?i ) WHERE { ?d property:fictional_universe_described_in ?m . ?d rdf:type ontology:work . ?m rdf:type ontology:work_of_art } GROUP BY ?d } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] was described in max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:P1445 ?j . ?k rdf:type ontology:Q386724 . ?j rdf:type ontology:Q838948 } GROUP BY ?k } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?i ) WHERE { ?d property:P1445 ?m . ?d rdf:type ontology:Q386724 . ?m rdf:type ontology:Q838948 } GROUP BY ?d } }
Pirates of the Caribbean
Pirates of the Caribbean was described in max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:fictional_universe_described_in ?j . ?k rdf:type ontology:work . ?j rdf:type ontology:work_of_art } GROUP BY ?k } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?i ) WHERE { ?d property:fictional_universe_described_in ?m . ?d rdf:type ontology:work . ?m rdf:type ontology:work_of_art } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P1080
Q386724 Q23010327
USER
Which works appear in more number of groups of fictitious objects than that work ?
(c(Q23010327),P1080,c(Q386724))
action greater
action find_reverse_tuple_counts
relation P1080
type Q386724
type Q23010327
action count
action filter_type
action find
entity Q384426
relation P1080
type Q386724
[{'concept': 'Q23010327'}, 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q386724 . resource:Q384426 property:P1080 ?v } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P1080 ?k . ?k rdf:type ontology:Q386724 . ?o rdf:type ontology:Q23010327 } GROUP BY ?k } }
action greater
action find_reverse_tuple_counts
relation from fictional universe
type work
type group of fictitious objects
action count
action filter_type
action find
entity Pirates of the Caribbean
relation from fictional universe
type work
[{'concept': 'group of fictitious objects'}, 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:work . resource:Pirates_of_the_Caribbean property:from_fictional_universe ?v } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:from_fictional_universe ?k . ?k rdf:type ontology:work . ?o rdf:type ontology:group_of_fictitious_objects } GROUP BY ?k } }
[]
work group of fictitious objects
Q3177580
SYSTEM
The Walking Dead
Q3177580
(c(Q23010327),P1080,c(Q386724))
action greater
action find_reverse_tuple_counts
relation P1080
type Q386724
type Q23010327
action count
action filter_type
action find
entity Q384426
relation P1080
type Q386724
[ANSWER] appear in more number of groups of fictitious objects than that work
[{'concept': 'Q23010327'}, 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q386724 . resource:Q384426 property:P1080 ?v } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P1080 ?k . ?k rdf:type ontology:Q386724 . ?o rdf:type ontology:Q23010327 } GROUP BY ?k } }
The Walking Dead
The Walking Dead appear in more number of groups of fictitious objects than that work
The Walking Dead
action greater
action find_reverse_tuple_counts
relation from fictional universe
type work
type group of fictitious objects
action count
action filter_type
action find
entity Pirates of the Caribbean
relation from fictional universe
type work
[{'concept': 'group of fictitious objects'}, 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:work . resource:Pirates_of_the_Caribbean property:from_fictional_universe ?v } } . FILTER ( ?l > ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:from_fictional_universe ?k . ?k rdf:type ontology:work . ?o rdf:type ontology:group_of_fictitious_objects } GROUP BY ?k } }
[]