Simple Question (Direct)
Simple Question
Q18125566
P106
Q12737077
USER
What does Birger Eklund do for a living ?
(Q18125566,P106,c(Q12737077))
action filter_type
action find
entity Q18125566
relation P106
type Q12737077
['Q18125566', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q18125566 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Birger Eklund
action filter_type
action find
entity Birger Eklund
relation occupation
type occupation
['Birger Eklund', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Birger_Eklund property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18125566,P106,c(Q12737077))
action filter_type
action find
entity Q18125566
relation P106
type Q12737077
[ANSWER] Birger Eklund does for a living
['Q18125566', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q18125566 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Association football player Birger Eklund does for a living
association football player
action filter_type
action find
entity Birger Eklund
relation occupation
type occupation
['Birger Eklund', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Birger_Eklund property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18125566
P734
Q82799
USER
Who has the surname that person ?
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q18125566
relation P734
type Q82799
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q18125566 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Birger Eklund
action filter_type
action find
entity Birger Eklund
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Birger_Eklund property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q21491426
SYSTEM
Eklund
Q21491426
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q18125566
relation P734
type Q82799
[ANSWER] has the surname that person
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q18125566 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Eklund
Eklund has the surname that person
Eklund
action filter_type
action find
entity Birger Eklund
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Birger_Eklund property:family_name ?v . ?v rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21491426 Q18730192
P734
Q502895
USER
Does Edmund Passele have that one as family name ?
(Q18730192,P734,Q21491426)
action is_in
entity Q18730192
action find
entity Q21491426
relation P734
['Q18730192', 'P734', 'Q21491426']
ASK WHERE { resource:Q21491426 property:P734 resource:Q18730192 }
Eklund Edmund Passele
action is_in
entity Edmund Passele
action find
entity Eklund
relation family name
['Edmund Passele', 'family name', 'Eklund']
ASK WHERE { resource:Eklund property:family_name resource:Edmund_Passele }
[]
common name
SYSTEM
NO
(Q18730192,P734,Q21491426)
action is_in
entity Q18730192
action find
entity Q21491426
relation P734
[ANSWER]
['Q18730192', 'P734', 'Q21491426']
ASK WHERE { resource:Q21491426 property:P734 resource:Q18730192 }
No
action is_in
entity Edmund Passele
action find
entity Eklund
relation family name
['Edmund Passele', 'family name', 'Eklund']
ASK WHERE { resource:Eklund property:family_name resource:Edmund_Passele }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18125566 Q505636 Q34
P27
Q15617994
USER
Is Birger Eklund a citizen of Obermeitingen and Sweden ?
(Q18125566,P27,Q505636) (Q18125566,P27,Q34)
action is_in
entity Q18125566
action intersection
action find_reverse
entity Q505636
relation P27
action find_reverse
entity Q34
relation P27
['Q18125566', 'P27', 'Q505636'] ['Q18125566', 'P27', 'Q34']
ASK WHERE { resource:Q18125566 property:P27 resource:Q505636 . resource:Q18125566 property:P27 resource:Q34 }
Birger Eklund Obermeitingen Sweden
action is_in
entity Birger Eklund
action intersection
action find_reverse
entity Obermeitingen
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
['Birger Eklund', 'country of citizenship', 'Obermeitingen'] ['Birger Eklund', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Birger_Eklund property:country_of_citizenship resource:Obermeitingen . resource:Birger_Eklund property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18125566,P27,Q505636) (Q18125566,P27,Q34)
action is_in
entity Q18125566
action intersection
action find_reverse
entity Q505636
relation P27
action find_reverse
entity Q34
relation P27
[ANSWER]
['Q18125566', 'P27', 'Q505636'] ['Q18125566', 'P27', 'Q34']
ASK WHERE { resource:Q18125566 property:P27 resource:Q505636 . resource:Q18125566 property:P27 resource:Q34 }
NO and YES respectively
action is_in
entity Birger Eklund
action intersection
action find_reverse
entity Obermeitingen
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
['Birger Eklund', 'country of citizenship', 'Obermeitingen'] ['Birger Eklund', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Birger_Eklund property:country_of_citizenship resource:Obermeitingen . resource:Birger_Eklund property:country_of_citizenship resource:Sweden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18125566
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q18125566
relation P21
type Q290
SELECT DISTINCT ?b WHERE { resource:Q18125566 property:P21 ?b . ?b rdf:type ontology:Q290 }
Birger Eklund
action filter_type
action find
entity Birger Eklund
relation gender
type sex
SELECT DISTINCT ?b WHERE { resource:Birger_Eklund property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q18125566
relation P21
type Q290
That person possesses a [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q18125566 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Birger Eklund
relation gender
type sex
SELECT DISTINCT ?b WHERE { resource:Birger_Eklund property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18125566
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q6581097,P54,c(Q1194951))
action filter_type
action find
entity Q18125566
relation P54
type Q1194951
['Q6581097', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q18125566 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Birger Eklund
action filter_type
action find
entity Birger Eklund
relation member of sports team
type national sports team
['male', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Birger_Eklund property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q160826
SYSTEM
Sweden national football team
Q160826
(Q6581097,P54,c(Q1194951))
action filter_type
action find
entity Q18125566
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q6581097', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q18125566 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Sweden national football team
The Sweden national football team is that person a member of
Sweden national football team
action filter_type
action find
entity Birger Eklund
relation member of sports team
type national sports team
['male', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Birger_Eklund property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P466
Q1194951 Q811979
USER
How many national sports teams are a tenants of approximately the same number of architectural structures as that national sports team ?
(c(Q811979),P466,c(Q1194951))
action count
action approx
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q811979
action count
action filter_type
action find
entity Q160826
relation P466
type Q1194951
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P466 ?i . ?i rdf:type ontology:Q1194951 . ?v rdf:type ontology:Q811979 } GROUP BY ?i } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:Q1194951 . resource:Q160826 property:P466 ?o } } }
action count
action approx
action find_reverse_tuple_counts
relation occupant
type national sports team
type architectural structure
action count
action filter_type
action find
entity Sweden national football team
relation occupant
type national sports team
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:occupant ?i . ?i rdf:type ontology:national_sports_team . ?v rdf:type ontology:architectural_structure } GROUP BY ?i } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:national_sports_team . resource:Sweden_national_football_team property:occupant ?o } } }
[]
national sports team architectural structure
SYSTEM
144
Q270181 Q47233 Q212166 Q244374 Q271753 Q207441 Q189322 Q276076 Q223748 Q657451 Q180187 Q270973 Q318919 Q241353 Q869689 Q221093 Q257411 Q219854 Q255771 Q245153 Q134916 Q218167 Q180845 Q275940 Q242845 Q270666 Q486628 Q459101 Q235910 Q387812 Q318928 Q272097 Q185350 Q318922 Q333490 Q455413 Q170403 Q188791 Q326864 Q267245 Q387301 Q189948 Q166776 Q206350 Q270080 Q160826 Q459119 Q987584 Q386139 Q267972 Q189018 Q183326 Q328318 Q583626 Q543842 Q189275 Q244431 Q244728 Q497637 Q497630 Q170561 Q172025 Q172020 Q327100 Q200688 Q239520 Q186262 Q191406 Q172221 Q330148 Q275933 Q276089 Q191595 Q212206 Q235411 Q42267 Q270168 Q389097 Q166196 Q239549 Q330971 Q83459 Q211733 Q1478243 Q186276 Q192966 Q497989 Q164089 Q455123 Q188228 Q328295 Q387312 Q635433 Q163534 Q241670 Q184266 Q477067 Q365548 Q210460 Q131785 Q477304 Q275698 Q638166 Q729640 Q239555 Q180800 Q168397 Q235399 Q455131 Q47774 Q725543 Q477833 Q330039 Q189198 Q163547 Q876633 Q637831 Q627130 Q184602 Q327769 Q239405 Q1048054 Q483868 Q206830 Q244590 Q239528 Q79800 Q634290 Q47762 Q285708 Q186532 Q477647 Q232731 Q181930 Q275669 Q684531 Q208635 Q3954829 Q478339 Q189723 Q270689 Q319776 Q330125 Q239535
(c(Q811979),P466,c(Q1194951))
action count
action approx
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q811979
action count
action filter_type
action find
entity Q160826
relation P466
type Q1194951
[ANSWER]
[{'concept': 'Q811979'}, 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:P466 ?i . ?i rdf:type ontology:Q1194951 . ?v rdf:type ontology:Q811979 } GROUP BY ?i } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:Q1194951 . resource:Q160826 property:P466 ?o } } }
Gambia national football team Dominican Republic national football team Peru national football team Kyrgyzstan national football team Myanmar national football team Senegal national football team Latvia national football team Palestine national football team Panama national football team Indonesia national football team Honduras national football team Timor-Leste national football team American Samoa national football team Mongolia national football team Greenland national football team Lesotho national football team Ethiopia national football team Philippines national football team Equatorial Guinea national football team Niger national football team Uruguay national football team Federated States of Micronesia national football team Bulgaria national football team Jordan national football team Uganda national football team Grenada national football team Turkmenistan national football team Aruba national football team United Arab Emirates national football team Solomon Islands national football team Lebanon national football team Syria national football team San Marino national football team Malaysia national football team Swaziland national football team Belize national football team Ukraine national football team Cyprus national football team Yemen national football team Portugal national football team Liberia national football team Central African Republic national football team Belgium national football team Zambia national football team Congo DR national football team Sweden national football team Chinese Taipei national football team Ecuador national football team Tajikistan national football team Antigua and Barbuda national football team Montenegro national football team Armenia national football team Vanuatu national football team Gibraltar national association football team South Korea national football team Soviet Union national football team Bhutan national football team Tanzania national football team Comoros national football team Anguilla national football team Hungary national football team Chile national football team Paraguay national football team Zimbabwe national football team Faroe Islands national football team Kenya national football team Albania national football team Israel national football team Slovenia national football team Sierra Leone national football team Fiji national football team Libya national football team Togo national football team India national football team Guinea national football team Spain national football team Guatemala national football team Somalia national football team Poland national football team Thailand national football team Nepal national football team Brazil national football team Mali national football team Guernsey official association football team Lithuania national football team Afghanistan national football team Montserrat national football team Mexico national football team Guinea-Bissau national football team El Salvador national football team New Caledonia national football team Maldives national football team Jersey official association football team Austria national football team Bangladesh national football team Luxembourg national football team Mauritania national football team Malawi national football team Bahrain national football team Denmark national football team Madagascar national football team Djibouti national football team Seychelles national football team Curaçao national football team Brunei national football team Azerbaijan national football team Romania national football team Jamaica national football team Eritrea national football team France national football team Kiribati national football team Mauritius national football team Cape Verde national football team Iceland national football team Republic of Ireland national football team Niue national football team Saint Lucia national football team South Sudan men's national association football team Iran national football team Suriname national football team Tahiti national football team Sahrawi national football team Czech Republic national football team Oman national football team Bahamas national football team Singapore national football team Argentina national football team Nauru national soccer team England national football team Macau national football team Finland national football team Papua New Guinea national football team Qatar national football team Nigeria national football team Cook Islands national football team Sint Maarten national football team Canada national soccer team Nagorno-Karabakh national football team Sri Lanka national football team Saudi Arabia national football team Vietnam national football team Rwanda national football team Guyana national football team Benin national football team
144
action count
action approx
action find_reverse_tuple_counts
relation occupant
type national sports team
type architectural structure
action count
action filter_type
action find
entity Sweden national football team
relation occupant
type national sports team
[{'concept': 'architectural structure'}, 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?b ) WHERE { ?v property:occupant ?i . ?i rdf:type ontology:national_sports_team . ?v rdf:type ontology:architectural_structure } GROUP BY ?i } . FILTER ( ?b = ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ontology:national_sports_team . resource:Sweden_national_football_team property:occupant ?o } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q101539
P921
Q12737077 Q732577 Q838948
USER
How many occupations were the main subjects of less number of publications or works of art 's work than flight attendant ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
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 Q101539
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?l WHERE { { ?g property:P921 ?l . ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q732577 } UNION { ?g property:P921 ?l . ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } } GROUP BY ?l } . FILTER ( ?j < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } . ?k property:P921 resource:Q101539 } } }
flight attendant
action count
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 flight attendant
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?l WHERE { { ?g property:main_subject ?l . ?l rdf:type ontology:occupation . ?g rdf:type ontology:publication } UNION { ?g property:main_subject ?l . ?l rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } } GROUP BY ?l } . FILTER ( ?j < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:publication ) ( ontology:work_of_art ) } } . ?k property:main_subject resource:flight_attendant } } }
[]
occupation publication work of art
SYSTEM
92
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
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 Q101539
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?l WHERE { { ?g property:P921 ?l . ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q732577 } UNION { ?g property:P921 ?l . ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } } GROUP BY ?l } . FILTER ( ?j < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } . ?k property:P921 resource:Q101539 } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver 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 inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
92
action count
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 flight attendant
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?l WHERE { { ?g property:main_subject ?l . ?l rdf:type ontology:occupation . ?g rdf:type ontology:publication } UNION { ?g property:main_subject ?l . ?l rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } } GROUP BY ?l } . FILTER ( ?j < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:publication ) ( ontology:work_of_art ) } } . ?k property:main_subject resource:flight_attendant } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q205375
P921
Q12737077 Q732577 Q838948
USER
And what about inventor?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
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 Q205375
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?f WHERE { { ?u property:P921 ?f . ?f rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q732577 } UNION { ?u property:P921 ?f . ?f rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P921 resource:Q205375 . { { ?y rdf:type ontology:Q732577 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?d < ?s ) }
inventor
action count
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 inventor
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?f WHERE { { ?u property:main_subject ?f . ?f rdf:type ontology:occupation . ?u rdf:type ontology:publication } UNION { ?u property:main_subject ?f . ?f rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:main_subject resource:inventor . { { ?y rdf:type ontology:publication } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?d < ?s ) }
[]
occupation publication work of art
SYSTEM
76
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 count
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 Q205375
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?f WHERE { { ?u property:P921 ?f . ?f rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q732577 } UNION { ?u property:P921 ?f . ?f rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P921 resource:Q205375 . { { ?y rdf:type ontology:Q732577 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?d < ?s ) }
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
76
action count
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 inventor
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?f WHERE { { ?u property:main_subject ?f . ?f rdf:type ontology:occupation . ?u rdf:type ontology:publication } UNION { ?u property:main_subject ?f . ?f rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:main_subject resource:inventor . { { ?y rdf:type ontology:publication } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?d < ?s ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q503297 Q160826
P1344
Q15275719
USER
Which recurring events did Sweden national football team but not Tarcisio Burgnich participate in ?
AND((Q160826,P1344,c(Q15275719)), NOT((Q503297,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q160826
relation P1344
action find
entity Q503297
relation P1344
type Q15275719
{'AND': [['Q160826', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q503297', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Q160826 property:P1344 ?b . MINUS { resource:Q503297 property:P1344 ?b } . ?b rdf:type ontology:Q15275719 }
Tarcisio Burgnich Sweden national football team
action filter_type
action difference
action find
entity Sweden national football team
relation participant of
action find
entity Tarcisio Burgnich
relation participant of
type recurring event
{'AND': [['Sweden national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Tarcisio Burgnich', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Sweden_national_football_team property:participant_of ?b . MINUS { resource:Tarcisio_Burgnich property:participant_of ?b } . ?b rdf:type ontology:recurring_event }
[]
recurring event
Q37285 Q132515 Q101751 Q1477177 Q132529 Q47735 Q46943 Q131591 Q132533
SYSTEM
2006 FIFA World Cup, 1950 FIFA World Cup, 1994 FIFA World Cup, 1934 FIFA World Cup, 1990 FIFA World Cup, 2002 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup, 1958 FIFA World Cup
Q37285 Q132515 Q101751 Q1477177 Q132529 Q47735 Q46943 Q131591 Q132533
AND((Q160826,P1344,c(Q15275719)), NOT((Q503297,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q160826
relation P1344
action find
entity Q503297
relation P1344
type Q15275719
Sweden national football team but not Tarcisio Burgnich participated in [ANSWERS]
{'AND': [['Q160826', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q503297', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Q160826 property:P1344 ?b . MINUS { resource:Q503297 property:P1344 ?b } . ?b rdf:type ontology:Q15275719 }
2006 FIFA World Cup 1950 FIFA World Cup 1994 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1958 FIFA World Cup
Sweden national football team but not Tarcisio Burgnich participated in 2006 FIFA World Cup, 1950 FIFA World Cup, 1994 FIFA World Cup, 1934 FIFA World Cup, 1990 FIFA World Cup, 2002 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup and 1958 FIFA World Cup
2006 FIFA World Cup 1950 FIFA World Cup 1994 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1958 FIFA World Cup
action filter_type
action difference
action find
entity Sweden national football team
relation participant of
action find
entity Tarcisio Burgnich
relation participant of
type recurring event
{'AND': [['Sweden national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Tarcisio Burgnich', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Sweden_national_football_team property:participant_of ?b . MINUS { resource:Tarcisio_Burgnich property:participant_of ?b } . ?b rdf:type ontology:recurring_event }
[]