Simple Question (Direct)
Simple Question
Q177131
P106
Q12737077
USER
What are the job of Mario ?
(Q177131,P106,c(Q12737077))
action filter_type
action find
entity Q177131
relation P106
type Q12737077
['Q177131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q177131 property:P106 ?c }
Mario
action filter_type
action find
entity Mario
relation occupation
type occupation
['Mario', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Mario property:occupation ?c }
[]
occupation
Q183945 Q177220 Q639669
SYSTEM
record producer, singer, musician
Q183945 Q488205 Q177220 Q639669 Q33999 Q4610556
(Q177131,P106,c(Q12737077))
action filter_type
action find
entity Q177131
relation P106
type Q12737077
The job of Mario are the [ANSWERS]
['Q177131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q177131 property:P106 ?c }
record producer singer-songwriter singer musician actor model
The job of Mario are the record producer, singer and musician
record producer singer musician
action filter_type
action find
entity Mario
relation occupation
type occupation
['Mario', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Mario property:occupation ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q177131
P21
Q290
USER
Which sex does that person possess ?
(Q183945,P21,c(Q290)) (Q177220,P21,c(Q290)) (Q639669,P21,c(Q290))
action filter_type
action find
entity Q177131
relation P21
type Q290
['Q183945', 'P21', {'concept': 'Q290'}] ['Q177220', 'P21', {'concept': 'Q290'}] ['Q639669', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q177131 property:P21 ?n }
Mario
action filter_type
action find
entity Mario
relation gender
type sex
['record producer', 'gender', {'concept': 'sex'}] ['singer', 'gender', {'concept': 'sex'}] ['musician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Mario property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183945,P21,c(Q290)) (Q177220,P21,c(Q290)) (Q639669,P21,c(Q290))
action filter_type
action find
entity Q177131
relation P21
type Q290
That person possesses a [ANSWER]
['Q183945', 'P21', {'concept': 'Q290'}] ['Q177220', 'P21', {'concept': 'Q290'}] ['Q639669', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q177131 property:P21 ?n }
male
That person possesses a male
male
action filter_type
action find
entity Mario
relation gender
type sex
['record producer', 'gender', {'concept': 'sex'}] ['singer', 'gender', {'concept': 'sex'}] ['musician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Mario property:gender ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14948018
P921
Q12737077 Q732577 Q191067
USER
Which occupations were approximately the same number of publications and articles mainly about as street musician ?
(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 Q14948018
relation P921
type Q732577
type Q191067
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } GROUP BY ?r } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P921 resource:Q14948018 . { { ?b rdf:type ontology:Q732577 } UNION { ?b rdf:type ontology:Q191067 } } } } }
street musician
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 street musician
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:publication ) ( ontology:article ) } } GROUP BY ?r } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:main_subject resource:street_musician . { { ?b rdf:type ontology:publication } UNION { ?b rdf:type ontology:article } } } } }
[]
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 Q14948018
relation P921
type Q732577
type Q191067
[ANSWERS] were approximately the same number of publications and articles mainly about as street musician
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } } GROUP BY ?r } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P921 resource:Q14948018 . { { ?b rdf:type ontology:Q732577 } UNION { ?b rdf:type ontology:Q191067 } } } } }
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 and articles mainly about as street musician
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 street musician
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?w ) WHERE { ?h rdf:type ?i . VALUES ( ?i ) { ( ontology:publication ) ( ontology:article ) } } GROUP BY ?r } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:main_subject resource:street_musician . { { ?b rdf:type ontology:publication } UNION { ?b rdf:type ontology:article } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q133485
P921
Q12737077 Q732577 Q191067
USER
And how about rabbi?
(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 Q133485
relation P921
type Q732577
type Q191067
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P921 resource:Q133485 . { { ?p rdf:type ontology:Q732577 } UNION { ?p rdf:type ontology:Q191067 } } } } . FILTER ( ?m = ?f ) }
rabbi
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 rabbi
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:article ) ( ontology:publication ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:main_subject resource:rabbi . { { ?p rdf:type ontology:publication } UNION { ?p rdf:type ontology:article } } } } . FILTER ( ?m = ?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 Q133485
relation P921
type Q732577
type Q191067
[ANSWERS]
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P921 resource:Q133485 . { { ?p rdf:type ontology:Q732577 } UNION { ?p rdf:type ontology:Q191067 } } } } . FILTER ( ?m = ?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 rabbi
relation main subject
type publication
type article
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { ?d rdf:type ?q . VALUES ( ?q ) { ( ontology:article ) ( ontology:publication ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:main_subject resource:rabbi . { { ?p rdf:type ontology:publication } UNION { ?p rdf:type ontology:article } } } } . FILTER ( ?m = ?f ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P138
Q12737077 Q2088357 Q34442
USER
Which occupations are namesakes of approximately the same number of musical ensembles and roads as that occupation ?
(c(Q2088357)|c(Q34442),P138,c(Q12737077))
[[{'concept': 'Q2088357'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q34442 }
[[{'concept': 'musical ensemble'}, {'concept': 'road'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y 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:road }
[]
occupation musical ensemble road
Comparative|More/Less|Mult. entity type|Clarification
Q131512
SYSTEM
Did you mean farmer ?
(c(Q2088357)|c(Q34442),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q34442 }
Did you mean farmer ?
farmer
[[{'concept': 'musical ensemble'}, {'concept': 'road'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y 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:road }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2088357)|c(Q34442),P138,c(Q12737077))
[[{'concept': 'Q2088357'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q12737077'}]
[[{'concept': 'musical ensemble'}, {'concept': 'road'}], 'named after', {'concept': 'occupation'}]
[]
Q316070 Q131512 Q3112727
SYSTEM
Fletcher Christian, farmer, Governor of Wisconsin
Q192711 Q2347975 Q131512 Q80687 Q652122 Q3506352 Q475604 Q11631 Q20765963 Q16010345 Q16149111 Q4151335 Q45199 Q878942 Q329737 Q3400050 Q3181438 Q171692 Q2550683 Q18576582 Q21771805 Q390776 Q3112727 Q3112728 Q1542521 Q5589725 Q5589724 Q820037 Q326330 Q20846080 Q16147601 Q20765611 Q733786 Q20801667 Q44356 Q15442776 Q16202700 Q20801664 Q386854 Q12059906 Q21075713 Q20853586 Q20644070 Q5589655 Q21993602 Q17089908 Q887010 Q2626318 Q201559 Q316070 Q887220 Q326358 Q20801651 Q107198 Q5589668 Q2248045 Q20804520 Q13382355 Q13393921 Q20801647 Q20801646 Q20801644 Q242468 Q1477129 Q693032 Q152002 Q5179781 Q2259451 Q3773745 Q3773741 Q16997621 Q1028181 Q20804530 Q170779 Q5420718 Q20804538 Q275102 Q20801656 Q5589688 Q4991371 Q20801652 Q5589687 Q5589680 Q20801659 Q5589682 Q20766109 Q19647220 Q3738699 Q7252932 Q2251335 Q3773752 Q331432 Q20198851 Q49757 Q160131 Q456951 Q1141526 Q3112719 Q1491689 Q26218416 Q193391 Q988618 Q1410101 Q39631 Q593362
(c(Q2088357)|c(Q34442),P138,c(Q12737077))
[ANSWERS] are namesakes of approximately the same number of musical ensembles and roads as that occupation
[[{'concept': 'Q2088357'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q34442 }
Prime Minister of India Governor of New York farmer secretary sewing Governor of Maine maritime pilot astronaut Governor of Arkansas performer Governor of Oregon Governor of Kentucky sailor Governor of Virginia butcher potter Nagasaki bugyō Patriarch Governor of Oklahoma metallurgist winemaker Governor General of Canada Governor of Wisconsin Governor of New Jersey Governor-General of the Philippines Governor of Texas Governor of Tennessee miner primate 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 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 Governor of Utah joiner Governor of Nevada barber Governor of Kansas reaper Governor of the United States Virgin Islands archer pioneer 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 Governor of Delaware Governor of Nebraska soldier Governor of West Virginia 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 diplomat Money changer pyrotechnist physician draper
Fletcher Christian, farmer and Governor of Wisconsin are namesakes of approximately the same number of musical ensembles and roads as that occupation
Fletcher Christian farmer Governor of Wisconsin
[[{'concept': 'musical ensemble'}, {'concept': 'road'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y 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:road }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2561704 Q177131
P175
Q2031291
USER
Which releases presented Mario or St. Lunatics ?
OR((c(Q2031291),P175,Q177131), (c(Q2031291),P175,Q2561704))
action filter_type
action union
action find_reverse
entity Q177131
relation P175
action find_reverse
entity Q2561704
relation P175
type Q2031291
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q177131'], [{'concept': 'Q2031291'}, 'P175', 'Q2561704']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P175 resource:Q177131 } UNION { ?o property:P175 resource:Q2561704 } } . ?o rdf:type ontology:Q2031291 }
St. Lunatics Mario
action filter_type
action union
action find_reverse
entity Mario
relation performer
action find_reverse
entity St. Lunatics
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Mario'], [{'concept': 'release'}, 'performer', 'St. Lunatics']]}
SELECT DISTINCT ?o WHERE { { { ?o property:performer resource:Mario } UNION { ?o property:performer resource:St._Lunatics } } . ?o rdf:type ontology:release }
[]
release
Q3299173 Q5190470 Q14085705 Q5917583 Q6941780 Q4943387 Q5737322 Q1765988 Q4959306 Q1765732
SYSTEM
Some of them are Batter Up, Crying Out for Me, Somebody Else, How Do I Breathe, Music for Love, Boom, Here I Go Again, Go, Break Up, Turning Point
Q12871944 Q5917525 Q1765988 Q14085705 Q3299173 Q1765732 Q5737322 Q3848250 Q3783879 Q3700224 Q4955642 Q5917583 Q6941780 Q6316516 Q5190470 Q4959306 Q4943387 Q5499782
OR((c(Q2031291),P175,Q177131), (c(Q2031291),P175,Q2561704))
action filter_type
action union
action find_reverse
entity Q177131
relation P175
action find_reverse
entity Q2561704
relation P175
type Q2031291
The [ANSWERS] presented Mario or St. Lunatics
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q177131'], [{'concept': 'Q2031291'}, 'P175', 'Q2561704']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P175 resource:Q177131 } UNION { ?o property:P175 resource:Q2561704 } } . ?o rdf:type ontology:Q2031291 }
Ms. Chocolate How Could You Go Somebody Else Batter Up Turning Point Here I Go Again Mario Headboard D.N.A. Braid My Hair How Do I Breathe Music for Love Just a Friend 2002 Crying Out for Me Break Up Boom Free City
The Batter Up, Crying Out for Me, Somebody Else, How Do I Breathe, Music for Love, Boom, Here I Go Again, Go, Break Up and Turning Point presented Mario or St. Lunatics
Batter Up Crying Out for Me Somebody Else How Do I Breathe Music for Love Boom Here I Go Again Go Break Up Turning Point
action filter_type
action union
action find_reverse
entity Mario
relation performer
action find_reverse
entity St. Lunatics
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Mario'], [{'concept': 'release'}, 'performer', 'St. Lunatics']]}
SELECT DISTINCT ?o WHERE { { { ?o property:performer resource:Mario } UNION { ?o property:performer resource:St._Lunatics } } . ?o rdf:type ontology:release }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q590220
P658
Q2031291 Q482994 Q2031291
USER
Which releases were a part of more number of albums or releases than Summer Night City ?
(c(Q482994)|c(Q2031291),P658,c(Q2031291))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q590220
relation P658
type Q482994
type Q2031291
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q2031291'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } } GROUP BY ?c } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P658 resource:Q590220 . { VALUES ( ?u ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?k rdf:type ?u } } } }
Summer Night City
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type release
type album
action find_reverse_tuple_counts
relation tracklist
type release
type release
action count
action filter_multi_types
action find_reverse
entity Summer Night City
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'release'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:album ) ( ontology:release ) } } GROUP BY ?c } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:tracklist resource:Summer_Night_City . { VALUES ( ?u ) { ( ontology:album ) ( ontology:release ) } . ?k rdf:type ?u } } } }
[]
release album release
Q870786 Q472634 Q2006235
SYSTEM
Dancing Queen, The Girl Is Mine, Moonlight Shadow
Q214113 Q1585621 Q49824 Q625383 Q275422 Q5977015 Q571722 Q653794 Q562067 Q563055 Q472648 Q1522046 Q2006235 Q4729620 Q3962518 Q114159 Q2440385 Q956662 Q839848 Q2062223 Q682132 Q2467189 Q14651 Q5286318 Q562299 Q214430 Q929870 Q1513140 Q10650558 Q1808429 Q870786 Q640978 Q585650 Q7472918 Q472634 Q1418336 Q1813676 Q49818 Q49816 Q1074676 Q210482 Q210485 Q281429 Q1514055 Q3853869 Q187745 Q637873 Q380379 Q193319 Q2705721 Q2586665
(c(Q482994)|c(Q2031291),P658,c(Q2031291))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q590220
relation P658
type Q482994
type Q2031291
[ANSWERS] were a part of more number of albums or releases than Summer Night City
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q2031291'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } } GROUP BY ?c } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P658 resource:Q590220 . { VALUES ( ?u ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?k rdf:type ?u } } } }
Black or White SOS She's Out of My Life One of Us Bad I Don't Want Your Love Happy New Year All Along the Watchtower Tell Me Your Wish (Genie) Oh! Remember the Time I Do, I Do, I Do, I Do, I Do Moonlight Shadow All She Wants Is Skin Trade Super Trouper I Want You Girls on Film You're My Best Friend Hoot The Winner Takes It All Hungry Like the Wolf The Way You Make Me Feel Do You Believe in Shame? Run Devil Run Like a Rolling Stone Money, Money, Money Knowing Me, Knowing You Regn hos mig The Name of the Game Dancing Queen The Long and Winding Road I Just Can't Stop Loving You Gee The Girl Is Mine Take a Chance on Me Sweet Baby Rock with You Don't Stop 'Til You Get Enough Chiquitita Come Together Something Heal the World I Have a Dream Meet El Presidente Bohemian Rhapsody Wanna Be Startin' Somethin' Man in the Mirror Billie Jean Don't Think Twice, It's All Right Neverending Love
Dancing Queen, The Girl Is Mine and Moonlight Shadow were a part of more number of albums or releases than Summer Night City
Dancing Queen The Girl Is Mine Moonlight Shadow
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type release
type album
action find_reverse_tuple_counts
relation tracklist
type release
type release
action count
action filter_multi_types
action find_reverse
entity Summer Night City
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'release'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ?n . VALUES ( ?n ) { ( ontology:album ) ( ontology:release ) } } GROUP BY ?c } . FILTER ( ?x > ?v ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:tracklist resource:Summer_Night_City . { VALUES ( ?u ) { ( ontology:album ) ( ontology:release ) } . ?k rdf:type ?u } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6495456
P658
Q2031291 Q482994 Q2031291
USER
And what about Lately?
(c(Q482994)|c(Q2031291),P658,c(Q2031291))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q6495456
relation P658
type Q482994
type Q2031291
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q2031291'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { VALUES ( ?l ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P658 resource:Q6495456 . { VALUES ( ?g ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?d rdf:type ?g } } } }
Lately
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type release
type album
action find_reverse_tuple_counts
relation tracklist
type release
type release
action count
action filter_multi_types
action find_reverse
entity Lately
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'release'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { VALUES ( ?l ) { ( ontology:album ) ( ontology:release ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:tracklist resource:Lately . { VALUES ( ?g ) { ( ontology:album ) ( ontology:release ) } . ?d rdf:type ?g } } } }
[]
release album release
Q870786 Q472634 Q2006235
SYSTEM
Dancing Queen, The Girl Is Mine, Moonlight Shadow
Q214113 Q1585621 Q49824 Q625383 Q275422 Q5977015 Q571722 Q653794 Q562067 Q563055 Q472648 Q1522046 Q2006235 Q4729620 Q3962518 Q114159 Q2440385 Q956662 Q839848 Q2062223 Q682132 Q2467189 Q14651 Q5286318 Q562299 Q214430 Q929870 Q1513140 Q10650558 Q1808429 Q870786 Q640978 Q585650 Q7472918 Q472634 Q1418336 Q1813676 Q49818 Q49816 Q1074676 Q210482 Q210485 Q281429 Q1514055 Q3853869 Q187745 Q637873 Q380379 Q193319 Q2705721 Q2586665
(c(Q482994)|c(Q2031291),P658,c(Q2031291))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q6495456
relation P658
type Q482994
type Q2031291
[ANSWERS]
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q2031291'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { VALUES ( ?l ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P658 resource:Q6495456 . { VALUES ( ?g ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?d rdf:type ?g } } } }
Black or White SOS She's Out of My Life One of Us Bad I Don't Want Your Love Happy New Year All Along the Watchtower Tell Me Your Wish (Genie) Oh! Remember the Time I Do, I Do, I Do, I Do, I Do Moonlight Shadow All She Wants Is Skin Trade Super Trouper I Want You Girls on Film You're My Best Friend Hoot The Winner Takes It All Hungry Like the Wolf The Way You Make Me Feel Do You Believe in Shame? Run Devil Run Like a Rolling Stone Money, Money, Money Knowing Me, Knowing You Regn hos mig The Name of the Game Dancing Queen The Long and Winding Road I Just Can't Stop Loving You Gee The Girl Is Mine Take a Chance on Me Sweet Baby Rock with You Don't Stop 'Til You Get Enough Chiquitita Come Together Something Heal the World I Have a Dream Meet El Presidente Bohemian Rhapsody Wanna Be Startin' Somethin' Man in the Mirror Billie Jean Don't Think Twice, It's All Right Neverending Love
Dancing Queen The Girl Is Mine Moonlight Shadow
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type release
type album
action find_reverse_tuple_counts
relation tracklist
type release
type release
action count
action filter_multi_types
action find_reverse
entity Lately
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'release'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { VALUES ( ?l ) { ( ontology:album ) ( ontology:release ) } . ?o rdf:type ?l } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:tracklist resource:Lately . { VALUES ( ?g ) { ( ontology:album ) ( ontology:release ) } . ?d rdf:type ?g } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q870786
P676
Q502895
USER
Who penned the lyrics for that release ?
(Q870786,P676,c(Q502895))
action filter_type
action find
entity Q870786
relation P676
type Q502895
['Q870786', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q870786 property:P676 ?a . ?a rdf:type ontology:Q502895 }
Dancing Queen
action filter_type
action find
entity Dancing Queen
relation lyrics by
type common name
['Dancing Queen', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Dancing_Queen property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q472634
SYSTEM
Did you mean The Girl Is Mine ?
Q870786 Q472634 Q2006235
(Q870786,P676,c(Q502895)) (Q472634,P676,c(Q502895)) (Q2006235,P676,c(Q502895))
[ANSWER]
['Q870786', 'P676', {'concept': 'Q502895'}] ['Q472634', 'P676', {'concept': 'Q502895'}] ['Q2006235', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q870786 property:P676 ?a . ?a rdf:type ontology:Q502895 }
Dancing Queen The Girl Is Mine Moonlight Shadow
Did you mean The Girl Is Mine ?
The Girl Is Mine
['Dancing Queen', 'lyrics by', {'concept': 'common name'}] ['The Girl Is Mine', 'lyrics by', {'concept': 'common name'}] ['Moonlight Shadow', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Dancing_Queen property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Dancing Queen. Could you tell me the answer for that?
(Q870786,P676,c(Q502895))
Q870786
['Q870786', 'P676', {'concept': 'Q502895'}]
['Dancing Queen', 'lyrics by', {'concept': 'common name'}]
[]
Q214582
SYSTEM
Benny Andersson
Q214582
(Q870786,P676,c(Q502895))
action filter_type
action find
entity Q870786
relation P676
type Q502895
[ANSWER] penned the lyrics for that release
['Q870786', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q870786 property:P676 ?a . ?a rdf:type ontology:Q502895 }
Benny Andersson
Benny Andersson penned the lyrics for that release
Benny Andersson
action filter_type
action find
entity Dancing Queen
relation lyrics by
type common name
['Dancing Queen', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Dancing_Queen property:lyrics_by ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P166
Q618779 Q3412758
USER
How many awards or qualifications were received by that person ?
(Q214582,P166,c(Q618779)) (Q214582,P166,c(Q3412758)) (Q214582,P166,c(Q618779)) (Q214582,P166,c(Q3412758))
action count
action union
action filter_type
action find
entity Q214582
relation P166
type Q618779
action filter_type
action find
entity Q214582
relation P166
type Q3412758
['Q214582', 'P166', {'concept': 'Q618779'}] ['Q214582', 'P166', {'concept': 'Q3412758'}] ['Q214582', 'P166', {'concept': 'Q618779'}] ['Q214582', 'P166', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:Q618779 . resource:Q214582 property:P166 ?w } UNION { resource:Q214582 property:P166 ?w . ?w rdf:type ontology:Q3412758 } }
action count
action union
action filter_type
action find
entity Benny Andersson
relation award received
type award
action filter_type
action find
entity Benny Andersson
relation award received
type qualification
['Benny Andersson', 'award received', {'concept': 'award'}] ['Benny Andersson', 'award received', {'concept': 'qualification'}] ['Benny Andersson', 'award received', {'concept': 'award'}] ['Benny Andersson', 'award received', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:award . resource:Benny_Andersson property:award_received ?w } UNION { resource:Benny_Andersson property:award_received ?w . ?w rdf:type ontology:qualification } }
[]
award qualification
SYSTEM
2
Q209896 Q10639464
(Q214582,P166,c(Q618779)) (Q214582,P166,c(Q3412758)) (Q214582,P166,c(Q618779)) (Q214582,P166,c(Q3412758))
action count
action union
action filter_type
action find
entity Q214582
relation P166
type Q618779
action filter_type
action find
entity Q214582
relation P166
type Q3412758
[ANSWER]
['Q214582', 'P166', {'concept': 'Q618779'}] ['Q214582', 'P166', {'concept': 'Q3412758'}] ['Q214582', 'P166', {'concept': 'Q618779'}] ['Q214582', 'P166', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:Q618779 . resource:Q214582 property:P166 ?w } UNION { resource:Q214582 property:P166 ?w . ?w rdf:type ontology:Q3412758 } }
honorary degree Professor as a title
2
action count
action union
action filter_type
action find
entity Benny Andersson
relation award received
type award
action filter_type
action find
entity Benny Andersson
relation award received
type qualification
['Benny Andersson', 'award received', {'concept': 'award'}] ['Benny Andersson', 'award received', {'concept': 'qualification'}] ['Benny Andersson', 'award received', {'concept': 'award'}] ['Benny Andersson', 'award received', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:award . resource:Benny_Andersson property:award_received ?w } UNION { resource:Benny_Andersson property:award_received ?w . ?w rdf:type ontology:qualification } }
[]